Two-sparse Pauli eigenspace states
OpenQAlgorithms.Papers.Independent.Extend50.P46.example3_6_firstLet be any nonidentity Pauli on qubits, and let . Then
is a density matrix with exactly two nonzero Pauli coefficients. The matrix is the orthogonal projector onto the eigenspace, and .
These examples supply the sparse input states used in channel-prediction lower bounds. The nonidentity hypothesis excludes the empty nonidentity sector at .
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P46
noncomputable section
open MeasureTheory
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P46
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF p.18, Example 3.6 first bullet: both signs, normalized density,
exactly two Pauli coefficients, and proportionality to the appropriate projector. -/
theorem example3_6_first {n : ℕ} (A : ErrorMitigation.PauliIndex n) (hA : A ≠ (fun _ => .I))
(minus : Bool) :
IsDensityMatrix (eigenspaceState A minus) ∧
supportCount (ErrorMitigation.pauliStateVector (eigenspaceState A minus)) = 2 ∧
let P : (Matrix (Qubits n) (Qubits n) ℂ) := (1/2 : ℂ) •
(1 + (if minus then (-1 : ℂ) else 1) • pauliOps A)
P.IsHermitian ∧ P * P = P ∧
eigenspaceState A minus = ((2 : ℂ) / (2 : ℂ)^n) • P ∧
LinearMap.range (Matrix.toLin' P) =
LinearMap.ker (Matrix.toLin'
(pauliOps A - (if minus then (-1 : ℂ) else 1) • (1 : (Matrix (Qubits n) (Qubits n) ℂ)))) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P46
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , every string of symbols from that is not identically , and every Boolean value , put if is true and otherwise. On , write for any Pauli string , using
Then is positive semidefinite with trace , and exactly two Pauli strings have . Moreover, defining , all of the following hold:
where range and kernel refer to the complex-linear maps given by these matrices. The hypothesis on cannot be satisfied when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.