Regular covariance update and complex signed trace identities
OpenQAlgorithms.Papers.Independent.Intake100.P22.covariance_and_traceFix 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.
Let have kernel parameters and let be a regular Gaussian operator with complex skew covariance and . Then, without any inverse assumption,
If , the signed trace is
Independently of whether is invertible, if and , the output is regular with covariance
On the further domain , this also equals . Covariance of a regular means . All traces and squares here are complex algebraic quantities. These identities keep both output shape and its signed normalization.
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.9, Eqs.(45)-(47): complex algebraic trace square, signed trace, and
regular covariance update. The two inverse domains are guarded separately.
C=0 is allowed in both trace identities but excluded for a regular output. -/
theorem covariance_and_trace {n : ℕ} (s : CARSystem n)
(E : Superop (Qubits n) (Qubits n)) (K : GrassmannKernel n) (hE : HasGrassmannKernel s E K)
(X : Op (Qubits n)) (M : Matrix (Major n) (Major n) ℂ) (hX : RegularWith s X M) :
(E X).trace ^ 2 = K.C ^ 2 * (1 + M * K.D).det * X.trace ^ 2 ∧
(M.det ≠ 0 → (E X).trace =
K.C * (-1 : ℂ) ^ n * pfaffian M * pfaffian (M⁻¹ + K.D) * X.trace) ∧
((1 + M * K.D).det ≠ 0 → K.C ≠ 0 →
RegularWith s (E X) (K.B * (1 + M * K.D)⁻¹ * M * K.B.transpose + K.A) ∧
regularCorrelation s (E X) = K.B * (1 + M * K.D)⁻¹ * M * K.B.transpose + K.A ∧
(M.det ≠ 0 →
K.B * (M⁻¹ + K.D)⁻¹ * K.B.transpose + K.A =
K.B * (1 + M * K.D)⁻¹ * M * K.B.transpose + K.A)) := 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 , including , put and . Let consist of Hermitian complex matrices , indexed by , acting on , with . For , let be the product of its generators in increasing order, with , and define the Grassmann symbol of a matrix by . Here is the increasing product of exterior generators; their multiplication has when , and otherwise equals . In an exterior algebra on generators, write . Let be any map from complex matrices to themselves, and let , where are complex matrices, , , and . Assume is complex linear and, for every , , where, in three consecutively ordered blocks , each indexed by ,
the bracket retains the coefficient of the product of all - and -generators, leaving a polynomial in . Let be any complex matrix and any complex matrix satisfying
Then the following complex trace identities and conditional conclusions hold:
The squares here are ordinary complex squares, not squared absolute values. The Pfaffian is the alternating pairing expression: its value on the empty index list is , and on a list it is times the corresponding expression after deleting . If and , put ; then , , , and
Under these same two conditions, additionally implies . No positivity or normalization of is assumed. For , the matrices indexed by are empty, their determinants and Pfaffians are , and the exterior products are empty products.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.