quantastica / quantum-circuit

Quantum Circuit Simulator implemented in JavaScript
MIT License
247 stars 49 forks source link

Simulation error in Bloch sphere #51

Closed we-taper closed 4 years ago

we-taper commented 4 years ago

In this circuit the Bloch sphere of each qubits seems to be wrong. The circuit should show

s q2;
cx q1, q2;
sdag q2;

is equivalent to CY q1, q2 (comparing the q0,q1 and q2,q3). However, the Bloch spheres seem to disagree.