Magic-basis spectrum determines the interaction phases modulo pi
OpenQAlgorithms.Papers.Independent.Intakethird100.P99.magicSpectrumFor a two-qubit unitary , let be an actual interaction-content witness: is locally equivalent, up to global phase, to , where are the Pauli matrices and . Fix an actual phase-compatible decomposition with . Let be the matrix of this chosen representative in the ordered magic basis , , , . Put . Then, for polynomial indeterminate ,
Transpose here has no complex conjugation. Multiplicities are retained; phases determine the modulo , and principal arguments alone need not select the canonical chamber.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P99
namespace QAlgorithms.Papers.Independent.Intakethird100.P99
open scoped Matrix Kronecker NNReal ENNReal
open QAlgorithms.Papers.Independent.Information100.P10 (pauli)
open QAlgorithms.Papers.Independent.Information100.P32 (evolution)
noncomputable section
/-- PDF p.13, Appendix A: the characteristic polynomial counts all four eigenphases
with multiplicity, for a phase-compatible decomposition. No principal-argument uniqueness
is asserted. The appendix's printed H=exp(sum ...) is corrected to H=sum ... as in (3). -/
theorem magicSpectrum (U : TwoMatrix) (b : Triple)
(hU : PhaseCompatibleContent U b) :
((magicMatrix U).transpose * magicMatrix U).charpoly =
∏ j : Fin 4, (Polynomial.X - Polynomial.C
(Complex.exp (-2 * Complex.I * (interactionPhases b j : ℂ)))) := by sorry
end
end QAlgorithms.Papers.Independent.Intakethird100.P99
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a complex matrix on , and let be a real triple satisfying , , and . Let , , and . Assume there exist one-qubit unitaries , each with determinant , such that
Define the matrix , from coordinates indexed by to the computational basis indexed by bit pairs, to have the following columns in order:
Set and
Then the characteristic polynomial satisfies
where denotes the ordinary transpose and the product includes all four factors, including repetitions when their values coincide.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.