Hands-on lab · 1 step
Prepare the singlet state
Starting from , prepare the singlet with at most four gates from . The grader checks the state fidelity and, separately, the perfectly anti-correlated measurement statistics, so it can tell a wrong relative sign from a wrong pair of basis states.
0/1 step passedBest score 0/100
Step 1: Prepare the singlet
Both qubits start in ; qubit is the most significant bit, so has qubit in state . Build a circuit with at most four gates from , , and (no measurements) whose output is Two checks are run. is-singlet computes and passes when ; a global phase does not change . anti-correlated compares the Born probabilities with to within ; it passes for both and , because the two states differ only in the relative sign of .