Eqs. (3.9)–(3.10) — implements the logical operator on qutrits 1 and 2
ProvedADH2015.o12_logicalLet (), i.e. , , (Eq. (3.3)). For every single-qutrit operator (matrix elements , ), the operator on the first two qutrits, with acting on the first qutrit and the permutation of Eq. (3.6), satisfies
import Mathlib import Definitions.Def_ADH2015_defs open Matrix open scoped Kronecker
namespace ADH2015
theorem o12_logical (O : Matrix Qutrit Qutrit ℂ) (i : Qutrit) :
((U12ᴴ * (O ⊗ₖ (1 : Matrix Qutrit Qutrit ℂ)) * U12) ⊗ₖ (1 : Matrix Qutrit Qutrit ℂ)) *ᵥ codeKet i =
∑ j, O j i • codeKet j := by sorry
end ADH2015Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Theorem o12_logical. For every complex matrix (no hypotheses at all: need not be Hermitian, unitary, invertible or nonzero) and every label (a "qutrit" index; all addition of such indices is modulo ), the following equality of vectors in holds, component by component:
Space and index conventions. Three-qutrit vectors are functions of a triple , grouped as . The Kronecker product is , so the left factor acts on the first (outer) index and the right factor on the second. Matrix–vector product is . Consequently:
- is an operator on two qutrits with acting on qutrit 1 and the identity on qutrit 2: .
- The bracketed operator acts on qutrits 1 and 2; the outer makes it act as the identity on qutrit 3.
- is the conjugate transpose of .
The operator (on qutrits 1, 2) has entries if and otherwise, i.e. , where the map is the explicit table
The nine outputs are pairwise distinct, so is a bijection and is a permutation matrix with real entries; hence iff , i.e. . Equivalently, the two-qutrit operator in brackets has entries
where denote the two components of .
The code vectors (for ) are defined componentwise by
i.e. ; explicitly , , (here is the real number embedded in ).
Index order in the sum. The coefficient of is : row index (the output label), column index (the input label). Thus the claim is that, on the three vectors , the 27-dimensional operator acts exactly as the matrix acts on the standard basis of (, the -th column of ), with no transpose and no complex conjugation of .
Strength and edge cases. The statement is an unconditional universal claim over all and all three values of ; it is an exact equality of all components (not up to a scalar, phase, or normalization). It includes (both sides zero) and (stating the operator fixes each ). It concerns only the action on the three vectors (and, by linearity, their span); it asserts nothing about the operator's action on vectors outside that span, and says nothing about the Hermitian conjugate of the operator.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.