Bilinear trace pairing of arbitrary symbols
OpenQAlgorithms.Papers.Independent.Intake100.P22.trace_pairingFix a finite number of fermionic modes. Let have Hermitian Majorana generators satisfying . The symbol map sends each ordered Majorana monomial linearly to the corresponding ordered Grassmann monomial; it is not multiplicative. Gaussian states, operators, and maps have the meanings of Definitions 1–3 of the paper. All maps act on the full complex operator algebra, including its odd sector.
For arbitrary operators , use two anticommuting variable blocks and the left Berezin convention . Then
There is no adjoint on and neither input needs a parity or Gaussianity restriction. The identity converts operator traces into finite Grassmann calculations.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P22
noncomputable section
open scoped BigOperators Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Intake100.P22
open QAlgorithms.Papers.Independent.Advance50.P19
(CARSystem Major monomial wick totalFermionParity)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF p.4, Eq.(15): bilinear trace pairing, with no adjoint on X.
All theta and mu variables lie in a single Grassmann algebra. -/
theorem trace_pairing {n : ℕ} (s : CARSystem n) (X Y : Op (Qubits n)) :
(X * Y).trace = (-2 : ℂ) ^ n *
(grassMul
(grassMul (grassExp (∑ a : Major n,
grassMul (blockVars (2 * n) 2 0 a) (blockVars (2 * n) 2 1 a)))
(grassSubst (majoranaSymbol s X) (blockVars (2 * n) 2 0)))
(grassSubst (majoranaSymbol s Y) (blockVars (2 * n) 2 1))) Finset.univ := by sorry
end QAlgorithms.Papers.Independent.Intake100.P22
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , let , let supply Hermitian matrices , , satisfying , and let be arbitrary complex matrices on . For each subset of these indices, put , where is the increasing ordered product and , and define likewise. In the complex exterior algebra on ordered generators, with two consecutive blocks and , all generators anticommute and square to zero; write and , using increasing ordered products. The asserted identity is
where brackets mean the coefficient of the displayed full ordered monomial, and the three factors are multiplied in their displayed order. No Hermitian, positivity, or normalization assumptions are made on . For , the full monomial is the empty monomial, the exponential sum has only its constant term, and the scalar prefactor is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.