Hands-on lab · 1 step
Build X from H and S
Implement the bit flip on one qubit, up to a global phase, using only the Hadamard gate and the phase gate , with at most four gates.
0/1 step passedBest score 0/100
Step 1: X from H and S
Build a one-qubit circuit whose unitary equals up to a global phase, using only and , at most four gates in total. The grader compares the circuit unitary with through , which equals exactly when for some real . Gates placed left to right on the wire multiply right to left in the formula: the wire then implements .