The specified seven-qubit circuit has the exact output vector
ProvedQAlgorithms.Papers.Independent.Support50.P24.specifiedCircuitOutputFor let , with the fixed known gates defined by Figs. S2 and S3, including the displayed padding and wire swaps. The physical seven-qubit circuit has exactly four forward calls. For every vector ,
where and . Physical inputs have ; the displayed identity extends linearly to all vectors as in (S21). This pins the global minus sign and the complete auxiliary output for the actual specified circuit.
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P24
noncomputable section
open QAlgorithms MeasureTheory
open scoped BigOperators Matrix ComplexConjugate ComplexOrder Matrix.Norms.Elementwise
namespace QAlgorithms.Papers.Independent.Support50.P24
attribute [local instance] Classical.decEq Classical.propDecidable
attribute [local instance] QAlgorithms.Papers.Independent.Support50.P24.groupedContinuousENorm
/-- PDF pp.7-10, Theorem S1 and S21: the specified seven-qubit circuit has the
literal minus sign for SU(2), output on wire 3, catalyst on wires 1,2 and clean zeros.
The identity extends linearly to every vector phi, including zero. -/
theorem specifiedCircuitOutput :
PhysicalCalls fourCircuit ∧ calls fourCircuit = 4 ∧
∀ (U : QubitSU) (phi : Bool → ℂ),
(evaluateCalls fourCircuit U).mulVec (inputEmbedding.mulVec phi) =
-((outputEmbedding U * U.valᴴ).mulVec phi) := by sorry
end QAlgorithms.Papers.Independent.Support50.P24
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
On seven qubits numbered , let , , and let act by on wire if all input wire–value conditions in hold, otherwise by the identity, leaving the remaining bits unchanged. Let swap wires if these conditions hold and otherwise leave the input unchanged. An empty control list always holds. The matrix of a chronological list is . Define, with ,
Named lists used as operations denote their matrices. For any Boolean-indexed , put and let be the matrix of
The assertion is that the fixed matrices occurring in this list are unitary, it contains exactly four calls to , and, for every such and every vector ,
The minus sign is part of the vector equality, and need not be normalized and may be zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.