Fig. 1 applies or , each with amplitude
ProvedRotationLadder.Protocol.rotation_circuitmagic-state-distillationp2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-informationsingle-qubit-rotations
Let be real and let be a single-qubit vector. Apply to , with the second wire as control, and measure the first wire. Then the unnormalized state of the second wire is
So each outcome has probability for a unit , and the circuit applies the rotation by or by at random, up to a global phase. This is the only way the protocol uses its non-Clifford resources.
Differences from the source:
- encoding: |Z(θ)⟩ written without 1/√2 and post-measurement states written up to normalization → normalized ketZ, unnormalized post-measurement vectors with explicit amplitudes; reason: fixes the constants; the squared norms are the paper's probabilities
Preamble
import Mathlib import Definitions.Def_QAlgorithms_Defs_Basic import Definitions.Def_RotationLadder_Protocol_cnotSecond import Definitions.Def_RotationLadder_Protocol_ketZ import Definitions.Def_RotationLadder_Protocol_postOut import Definitions.Def_RotationLadder_Protocol_zRot
Formal statement
namespace RotationLadder.Protocol
/-- **Fig. 1 applies `Z(α)` or `Z(-α)`.**
Duclos-Cianci, Svore, *A State Distillation Protocol to Implement Arbitrary Single-qubit Rotations*,
arXiv:1210.1980v1, Sec. I, unnumbered, p. 2.
With `|Z(α)⟩` on the first wire and `ψ` on the second, outcome `0` leaves `(1/√2) Z(α)ψ` and outcome
`1` leaves `(1/√2) e^(iα) Z(-α)ψ`.
**Formalization Note.** The amplitude `1/√2` is the normalization of `ketZ`; both outcomes have
probability `1/2` for a unit `ψ`, and the phase `e^(iα)` is the paper's global phase. -/
theorem rotation_circuit :
∀ (α : ℝ) (ψ : EuclideanSpace ℂ Bool),
postOut false (QAlgorithms.act cnotSecond (QAlgorithms.tensorVec (ketZ α) ψ)) =
((Real.sqrt 2 : ℝ) : ℂ)⁻¹ • QAlgorithms.act (zRot α) ψ ∧
postOut true (QAlgorithms.act cnotSecond (QAlgorithms.tensorVec (ketZ α) ψ)) =
(((Real.sqrt 2 : ℝ) : ℂ)⁻¹ * Complex.exp (Complex.I * (α : ℂ))) • QAlgorithms.act (zRot (-α)) ψ := by sorry
end RotationLadder.Protocol
Source
Duclos-Cianci, Svore, A State Distillation Protocol to Implement Arbitrary Single-qubit Rotations, arXiv:1210.1980v1, Sec. I, unnumbered, p. 2, Fig. 1
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.