Two-ancilla universality for triplet and singlet preparations
OpenQAlgorithms.Papers.Independent.Advance50.P49.ancilla_preparationsUse the physical register . Rotational invariance means commuting with for every one-qubit unitary . The legal spins are , , and is the actual spectral projector of at . Write and for the group of finite compositions of -local invariant gates and its generated real Lie algebra, including scalar phases. Exchange-only circuits contain finite products of with real . Set and, for even , . Extend above . Its sector eigenvalue is . All body-index sums below are over even indices.
For every invariant target unitary , a single finite exchange circuit on the chain works for every data density matrix and every ancillary density matrix supported in the triplet:
There is also an exchange circuit with the same property for , . Both witnesses precede the data, and the triplet witness also precedes . At the elementary step, for invariant Hermitian supported away from distinct wires ,
is exchange-Lie reachable and acts as on triplet inputs and on singlet inputs. The action identities hold for all vectors. This permits symmetric mixed ancillary preparation as well as the pure zero preparation.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P49
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P49
open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius
open MeasureTheory
attribute [local instance 100] LieRing.ofAssociativeRing
-- Specialize the frozen generic aliases without declaring new aliases.
local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))
local notation "Vec" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Vec (Qubits n))
-- The frozen support predicate takes the support before the operator.
local notation "WireSupported" => QAlgorithms.Papers.Independent.Information100.P69.Supported
/-- PDF pp.4,31–33: two ancillary preparation regimes, uniformly over all triplet
states. The singlet is corrected using p.31. PSD and trace-one are explicit. -/
theorem ancilla_preparations (n : ℕ) (V : Op n) (hV : SymUnitary V) :
(∃ W : Op (n+2), W ∈ exchangeGroup (n+2) true false ∧
∀ (rho : Op n) (tau : Op 2), IsDensityMatrix rho → IsDensityMatrix tau →
triplet*tau*triplet=tau →
W*registerTensor rho tau*Wᴴ = registerTensor (V*rho*Vᴴ) tau) ∧
(∃ W : Op (n+2), W ∈ exchangeGroup (n+2) true false ∧
∀ rho : Op n, IsDensityMatrix rho →
W*registerTensor rho (pureDensity twoQubitSinglet)*Wᴴ = registerTensor (V*rho*Vᴴ) (pureDensity twoQubitSinglet)) ∧
(∀ (F : Op n) (a b : Fin n) (s : Finset (Fin n)),
F.IsHermitian → RotationInvariant F → WireSupported s F → a∉s → b∉s → a≠b →
let K := registerTensor (F*heisenbergExchange a b) (1 : Op 2) - registerTensor F (heisenbergExchange (0 : Fin 2) 1)
Complex.I • K ∈ exchangeLie (n+2) false false ∧
(∀ (psi : Vec n) (eta : Vec 2), act triplet eta=eta →
act K (tensorState psi eta) =
tensorState (act (F*heisenbergExchange a b-(1/2 : ℂ) • F) psi) eta) ∧
(∀ psi : Vec n, act K (tensorState psi twoQubitSinglet) =
tensorState (act (F*heisenbergExchange a b+(3/2 : ℂ) • F) psi) twoQubitSinglet)) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P49
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , including , let , and let be a unitary operator on commuting with for every unitary matrix . Write for a standard Pauli matrix on wire and the identity elsewhere, and put . On two ancillary qubits define and , with the coordinate unit vector at bit string . Tensor products below concatenate the data and ancillary registers, with entries , and vector amplitudes . There exists that is a finite product of matrices on the wires, with arbitrary real , such that, for every pair of positive semidefinite, trace-one matrices on the data register and on the two ancillary qubits satisfying ,
There also exists a possibly different in that same generated monoid such that, for every positive semidefinite, trace-one data matrix , . Finally, for every data operator , data wires , and finite data-wire set , if is Hermitian, commutes with every , satisfies , and with , define , where the last exchange acts on the two ancillas. The definition of is not present in the supplied code. Then belongs to the smallest real Lie subalgebra of operators on containing for all distinct wires ; for every data vector and ancillary vector satisfying , ; and, for every data vector , . These vector identities impose no normalization hypothesis on or ; the conditions requiring two distinct data wires have no instances when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.