Explicit six-qubit commutator identity
OpenQAlgorithms.Papers.Independent.Advance50.P49.six_wire_commutatorUse 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 any six distinct physical wires, let . Then
All brackets are left nested. Dividing the right side by four and preparing wires 5,6 in gives the action of on every four-qubit vector. Also . These identities supply the explicit base construction up to the swap's scalar shift.
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.5,34, I32: exact left-nested six-wire identity, and the corresponding
four-qubit action when wires 5,6 are prepared in |00⟩. -/
theorem six_wire_commutator (n : ℕ) (w : Fin 6 ↪ Fin n) :
(4 : ℂ) • (heisenbergExchange (w 0) (w 1)*heisenbergExchange (w 2) (w 3) -
heisenbergExchange (w 2) (w 3)*heisenbergExchange (w 4) (w 5)) =
commutatorTemplate w (templateSeeds w) ∧
multiSwap 2 = (1/4 : ℂ) • (1 : Op 4) +
(1/2 : ℂ) • (heisenbergExchange (0 : Fin 4) 1+heisenbergExchange (2 : Fin 4) 3) + standardQ 4 4 ∧
(∀ psi : Vec 4,
act ((1/4 : ℂ) • commutatorTemplate (Function.Embedding.refl (Fin 6))
(templateSeeds (Function.Embedding.refl (Fin 6)))) (tensorState psi (zeroKet 2)) =
tensorState (act (standardQ 4 4-(1/2 : ℂ) • heisenbergExchange (2 : Fin 4) 3) psi) (zeroKet 2)) := 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 and every injection , put , where are the Pauli matrices acting on the indicated wires, and write . For matrices let , and define
The declaration asserts all three identities
and
Here the second identity is on four wires, exchanges wires , and the third identity uses the identity injection on six wires; concatenates registers and is the basis vector indexed by . There is no normalization assumption on . An injection cannot exist when , so those values of supply no instance of the hypotheses.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.