§5 Figure 8: cluster pattern for CZ
OpenQAlgorithms.Papers.Independent.Intakenext100.P52.figure8_cluster_czPrepare a rectangular cluster with an arbitrary normalized two-qubit input replacing at the top-left and bottom-left sites. The top and bottom rows use the pattern ; each middle row uses . All grid entangling gates precede the measurements. There is a correction rule from the ten measured bits to two Paulis, selected before the input, such that
Here is the actual contracted vector at the top-right and bottom-right outputs, in that order. This identifies every nonzero conditional quantum output up to phase and includes zero branches without assuming uniform outcome probabilities.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P52
noncomputable section
open scoped Matrix ComplexConjugate
namespace QAlgorithms.Papers.Independent.Intakenext100.P52
open QAlgorithms.Papers.Independent.Information100.P21 (Vec)
open QAlgorithms.Papers.Independent.Gap20.P01 (applyRect)
/-- Fig.8, PDF p.11: a fixed outcome-only Pauli correction works for every
normalized two-qubit input. Quantum branches, rather than just Z marginals,
are compared. Zero branches are included as zero subnormalized densities. -/
theorem figure8_cluster_cz :
∃ correction : (Figure8Measured → Bool) → (QubitPair × QubitPair),
∀ (psi : Vec QubitPair), IsState psi → ∀ s : Figure8Measured → Bool,
let f := correction s
let v := figure8Branch s psi
pureDensity v = (‖v‖ ^ 2 : ℝ) • pureDensity
(act (Matrix.kronecker (pauliByproduct f.1.1 f.1.2) (pauliByproduct f.2.1 f.2.2) * controlled pauliZ) psi) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P52
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , , and let contain each grid edge directed toward increasing row or increasing column. Identify Boolean values with , and define when , , or , and otherwise. The declaration asserts that there exists a function assigning to every outcome assignment two Boolean pairs , such that for every complex two-bit vector with , the vector
satisfies
Here , , , and has entries . The correction depends only on . Zero branch vectors are included, and no positive branch probability is asserted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.