Quantum Computing, Qiskit, Quantum, Quantum Optimization, Quantum Physics.
decoding = dict() decoding["First"] = [ np.array( [sqrt(p), 0, sqrt((1-p)/2.), sqrt((1-p)/2.)] ) , np.array( [0, -sqrt(p), -sqrt((1-p)/2.), sqrt((1-p)/2.)] ) ] decoding["Second"] = [ np.array( [-sqrt(p), -sqrt((1-p)/2.), 0, sqrt((1-p)/2.)] ) , np.array( [0, sqrt((1-p)/2.), sqrt(p), sqrt((1-p)/2.)]