SoftwareQuTech / SimulaQron

Quantum Network Simulator for Application Programming
Other
113 stars 53 forks source link

Will cnot gate only produces |00> + |11> entangled pair? #270

Closed ganeshmylavarapu-qp closed 3 years ago

ganeshmylavarapu-qp commented 4 years ago

If there are two qubits q1 = |0> and q2 = |1>, then when we apply q1.cnot(q2), will I get the entangled state as |01> + |10> or will I get only |00> + |11> in SimulaQron?

AckslD commented 3 years ago

You'll get |01>, the control qubit is zero so the "not" is not performed.