Quantum Computing Asked on December 26, 2020
In the circuit, the CNOT gate is applied in 11 state and it should transform into 10 state. But why is the probability of getting 01 state 100 percent?
You are right, that $CNOT |11rangle = |10rangle $ in the usual setting. But the reason why you see the answer as $|01rangle$ instead is because Qiskit uses little endian convention.
See this documentation to clear thing up.
Correct answer by KAJ226 on December 26, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP