Question 7: Non-Clifford Gates (State Initialization with Clifford and Non-Clifford Gates)

Source: Chapter 04, slides 6-8, 11-16

Task type for every problem below: you are given a target quantum state that a Clifford-only circuit cannot reach, and you must draw a circuit using both Clifford gates (, , Pauli , controlled-NOT) and at least one non-Clifford gate (, , or a continuous-angle rotation ) that prepares it from the all-zero basis state, then verify by tracing forward.


Problem 1: , single qubit

Circuit:

q0: |0> --H--T--

Step 1 (start). .

Step 2 (after ). .

Step 3 (after ). multiplies the amplitude by , leaving the amplitude untouched.

the target state.

Why Clifford alone cannot do this. alone only ever produces real, equal-weight superpositions with phase or between the two terms; is what supplies the relative phase that neither nor (which only offers multiples of ) can produce.


Problem 2: , two qubits

Circuit:

q0: |0> --H--*-----
             |
q1: |0> -----X--T--

Step 1 (start). .

Step 2 (after on q0). .

Step 3 (after controlled-NOT, control q0, target q1). , the Bell state.

Step 4 (after on q1). The term has and is untouched; the term has and picks up .

Final state.

the target state.


Problem 3: , single qubit, arbitrary rotation angle

Circuit:

q0: |0> --RY(pi/4)--

Step 1 (start). .

Step 2 (after ).

for any real ; substituting :

the target state, directly in one gate.

Why this needs a non-Clifford gate. Clifford single-qubit gates only ever reach the six stabilizer states (, , , , , ); is not one of the fixed Clifford angles (multiples of ), so only a continuously parameterized rotation gate like can land exactly here.


Problem 4: , GHZ state with a non-Clifford phase

Circuit:

q0: |0> --H--*-----*-----
             |     |
q1: |0> -----X-----|-----
                    |
q2: |0> ------------X--T--

Step 1 (start). .

Step 2 (after on q0). .

Step 3 (after controlled-NOT, control q0, target q1). .

Step 4 (after controlled-NOT, control q0, target q2). , the ordinary GHZ state.

Step 5 (after on q2). The term has and is untouched; the term has and picks up .

Final state.

the target state.


Problem 5: , single qubit, general phase gate

Circuit:

q0: |0> --H--P(pi/8)--

Step 1 (start). .

Step 2 (after ). .

Step 3 (after ). multiplies the amplitude by , leaving untouched.

Final state.

the target state. This is the same construction as Problem 1 but with an arbitrary angle instead of the fixed , showing is just one fixed instance of the more general family.


Problem 6: , a non-maximally-entangled two-qubit state

Circuit:

q0: |0> --RY(pi/4)--*--
                     |
q1: |0> -------------X--

Step 1 (start). .

Step 2 (after on q0). on q0, tensor on q1.

Step 3 (after controlled-NOT, control q0, target q1). The term has control , so q1 flips: ; the term has control and is untouched: .

Final state.

the target state.

Why this needs a non-Clifford gate. Clifford gates (, controlled-NOT) alone only ever reach the maximally-entangled Bell states, with equal weight on both terms; reaching an unequal weighting like versus requires a continuously variable rotation angle before the entangling controlled-NOT.


Problem 7: Bell pair on q0,q1 tensor a non-Clifford single-qubit state on q2

Target: (qubits 0,1) (qubit 2).

Circuit:

q0: |0> --H--*----------------
             |
q1: |0> -----X----------------
q2: |0> --RY(pi/4)-------------

Step 1, structural observation. q0,q1 and q2 share no gate, so they can be traced independently and combined at the end by a tensor product, the same reasoning used for parallel sub-circuits in Question 5.

Step 2, q0,q1 branch. After then controlled-NOT: , the ordinary Bell state.

Step 3, q2 branch. After : .

Final state.

the target state. The Bell pair needed only Clifford gates; only the q2 register needed the non-Clifford rotation.


Problem 8: , composing a Clifford phase gate with a non-Clifford phase gate

Circuit:

q0: |0> --H--S--T--

Step 1 (start). .

Step 2 (after ). .

Step 3 (after ). multiplies the amplitude by , leaving untouched.

Step 4 (after ). multiplies the amplitude by again, and phases on the same amplitude add:

Final state.

the target state.

Why this matters. This shows a Clifford phase gate (, angle ) and a non-Clifford phase gate (, angle ) applied to the same qubit combine by adding their angles, since both are diagonal in the same basis and commute with each other. The same target could equally well have been reached by a single in place of and together.