Qutrit Threshold Sharing
Abstract
The three-qutrit threshold encoding hides the input in every single share and recovers it from each pair by an explicit permutation unitary.
All share and input labels lie in ZMod 3, so every label operation is modulo three. Amplitudes are complex numbers. V denotes qutritEncoding, and the coordinate, marginal, and decoder declarations are cyclicShares, singleShareMarginal, and qutritDecoder. Tuples use Lean’s right-associated product. The operator Complex.ofReal is the canonical inclusion from real to complex numbers; sqrt is the nonnegative real square root. All displayed fractions are complex-field division.
Definition 1.1 (The common three-share encoding).
Formalization. D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutritEncoding (✓ std3).
Citation. Richard Cleve, Daniel Gottesman, and Hoi-Kwong Lo (1999). How to share a quantum secret. DOI: 10.1103/PhysRevLett.83.648.
Commentary.
V is a matrix over the complex numbers with row labels in ZMod 3 x ZMod 3 x ZMod 3 and column labels in ZMod 3. The finite sum is the defining expression, with ite taking its condition, true value, and false value in that order.
Definition 1.2 (Cyclic coordinate orders).
Formalization. D5/S3/Quantum/Entanglement/QutritThresholdSharing.cyclicShares (✓ std3).
Source. Repository-derived.
Commentary.
The index i has type Fin 3. cyclicShares(i,q) inserts the ordered decoder inputs and spectator into the original coordinates. Indices 0, 1, 2 select ordered pairs (1,2), (2,3), (3,1), respectively; retaining the first argument retains original share 1, 2, 3, respectively. This helper is the coordinate adapter used by both theorems.
Definition 1.3 (Partial trace retaining the selected share).
Formalization. D5/S3/Quantum/Entanglement/QutritThresholdSharing.singleShareMarginal (✓ std3).
Source. Repository-derived.
Commentary.
singleShareMarginal(i,M) is a matrix over the complex numbers with both row and column labels in ZMod 3. The formula is the defining application of the frozen partialTraceFirst, which sums over equal first-factor indices. In the displayed lambda, p and q have type (ZMod 3 x ZMod 3) x ZMod 3; subscripts denote product projections.
Definition 1.4 (The explicit decoder and its inverse).
Formalization. D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutritDecoder (✓ std3).
Citation. Richard Cleve, Daniel Gottesman, and Hoi-Kwong Lo (1999). How to share a quantum secret. DOI: 10.1103/PhysRevLett.83.648.
Commentary.
qutritDecoder is an Equiv.Perm (ZMod 3 x ZMod 3). Its toFun and invFun are the two displayed expressions; the left and right inverse laws are proved by ring arithmetic inside this definition. For column amplitudes, Equiv.Perm.permMatrix applied over the complex numbers to the inverse of qutritDecoder has entry one at (x,y) exactly when y = qutritDecoder.symm(x), and zero otherwise. Its action on a basis vector labelled y therefore yields the basis vector labelled qutritDecoder(y). A star superscript denotes conjugate transpose.
Theorem 1.5 (Partial trace on every matrix unit).
Proof. Machine-checked in Lean as D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_matrix_unit_marginal (✓ std3). ∎
Citation. Richard Cleve, Daniel Gottesman, and Hoi-Kwong Lo (1999). How to share a quantum secret. DOI: 10.1103/PhysRevLett.83.648.
Commentary.
single(s,t,1) is the standard Matrix.single s t with complex entry one, and I is the three-dimensional identity matrix. The proof uses the index system j+s=k+t and j+2s=k+2t, which forces s=t and j=k. Cyclic symmetry extends the calculation to all three shares.
Theorem 1.6 (Every single share is maximally mixed).
Proof. Machine-checked in Lean as D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_single_share_maximally_mixed (✓ std3). ∎
Citation. Richard Cleve, Daniel Gottesman, and Hoi-Kwong Lo (1999). How to share a quantum secret. DOI: 10.1103/PhysRevLett.83.648.
Commentary.
rho ranges over the canonical FiniteStateChannel.DensityState (ZMod 3): positive complex matrices of trace one. val(rho) denotes exactly CStarMatrix.ofMatrix.symm rho.1, the underlying ordinary matrix. Linearity and the frozen trace-one theorem extend the matrix-unit calculation to every input state, including mixed states.
Theorem 1.7 (Every pair reconstructs every input amplitude).
Proof. Machine-checked in Lean as D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_two_share_reconstruction (✓ std3). ∎
Citation. Richard Cleve, Daniel Gottesman, and Hoi-Kwong Lo (1999). How to share a quantum secret. DOI: 10.1103/PhysRevLett.83.648.
Commentary.
mulVec is ordinary matrix action on column amplitudes. Both sides are functions of p in ZMod 3 x ZMod 3. The spectator label r is universally quantified, so this is equality of all three-share amplitudes after decoding. The input psi is arbitrary, hence the identity applies in particular to every normalized pure state. The output is psi tensor the fixed normalized sum of |j,j>. All three choices of i use the same encoding and decoder.
References
- Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.cyclicShares - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutritDecoder - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutritEncoding - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_matrix_unit_marginal - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_single_share_maximally_mixed - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.qutrit_two_share_reconstruction - Truth anchor:
D5/S3/Quantum/Entanglement/QutritThresholdSharing.singleShareMarginal - Dependency: D5/S3/Quantum/Entanglement/LocalObservationPartialTraceEquivalence
- Dependency: D5/S3/Quantum/Foundation/FiniteStateChannel