Quantum Computing, Qiskit, Quantum, Quantum Optimization, Quantum Physics.
measurement basis |01> is mapped to the second measurement basis """ qProg = ch(qProg, a, b) qProg.u3(2*pi - lambda1, 0, 0, a) qProg.measure(a, cbit) #measurement return qProg def decodingSecond(qProg, a, b, cbit): """ the following circuit is the inverse of SWAP(1,2) --> u3_2(lambda1, 0, 0) -->