Quantum Computing, Qiskit, Quantum, Quantum Optimization, Quantum Physics.
print( f"The obtained solution places a partition between nodes {np.where(results.x == 0)[0]} " f"and nodes {np.where(results.x == 1)[0]}." ) The objective function value: 6.0 x: [1 0 0 0 0 1] relaxed function value: 8.999999985934075 The obtained solution places a partition between nodes [1 2 3 4]