Skip to main content
Problem List
Q73.Rotate a Qubit by 45° About YPremiumHard

Q73.Rotate a Qubit by 45° About YPremium Question

Quantum PhenomenaQubits: 1Q
The optimal measurement for telling ∣0⟩|0\rangle from ∣+⟩|+\rangle needs the rotation Ry(π/4)=S H T H S†R_y(\pi/4) = S\,H\,T\,H\,S^\dagger. Apply it to ∣0⟩|0\rangle to obtain cos⁡π8∣0⟩+sin⁡π8∣1⟩\cos\frac{\pi}{8}|0\rangle + \sin\frac{\pi}{8}|1\rangle.
Target Objective:
Apply ZZ, SS, HH, TT, HH, SS in that order.
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%