Quantum Computing, Qiskit, Quantum, Quantum Optimization, Quantum Physics.
encoding["011"] = np.array( [0., 1., 0., 0.] ) encoding["100"] = (1.0/sqrt(3.)) * np.array( [-1., 0., 1., 1.] ) encoding["101"] = np.array( [0., 0., 1., 0.] ) encoding["110"] = np.array( [0., 0., 0., 1.] ) encoding["111"] = (1.0/sqrt(3.)) * np.array( [0., 1., -1., 1.] ) p = 1.0/2.0 + sqrt(6)/6.0