Skip to main content
Problem List
Q6.T-Gate π/4 Relative Phase ShiftEasy

Q6.T-Gate π/4 Relative Phase Shift

Single-Qubit OperationsQubits: 1Q
Create the state 12(∣0⟩+eiπ/4∣1⟩)\frac{1}{\sqrt{2}}(|0\rangle + e^{i\pi/4}|1\rangle) on the equatorial plane of the Bloch sphere.
Target Objective:
Apply Hadamard followed by the non-Clifford T gate on Qubit 0 to rotate the azimuth angle ϕ\phi to exactly 45∘45^\circ (+π/4+\pi/4).
Judge Acceptance Criteria:

Statevector fidelity must reach ≥ 99.9% with the target unitary solution.

Gates:
q[0]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
Live Python / Qiskit Code (Edit to Update Circuit)
 
Type Qiskit Python code above to update gates on wires automatically0 gates · 1Q
0 gates placed1 Qubits · 8 Steps
State Measurement Distribution:2 non-zero basis states
|0⟩100.0%
|1⟩0.0%