Definitions for Error Correction of Quantum Reference Frame Information
DefinitionQAlgorithms_Papers_Independent_Extend50_P29The objects the formalized statements of Error Correction of Quantum Reference Frame Information (arXiv:1709.04471) are stated in. Each was checked against the paper by a blind read-back and a moderator.
RegisterConfig: PDF pp.2--3: basis configurations of a finite collection of local registers.Keep: PDF pp.2--3: the registers retained in a known-position erasure.dependentRegisterTrace: PDF pp.2--3: partial trace, written on matrix units. The outside indices are equal and summed once; all off-diagonal entries of the retained system survive.localTensorMatrix: PDF p.3, Eq.(4): tensor product of local operators, on the entire tensor space.Decoders: PDF pp.2--3: fixed decoding channels, one for each known erased site.SingleCorrects: PDF pp.2--3: every density matrix is recovered; the decoders precede the input.CorrectsErasedSubsets: PDF pp.3--4: exact recovery after every erased subset of cardinality at most k. The channel D can depend on the subset, but not on the input matrix.rotatedEncoding: PDF pp.2--3, Eqs.(1)--(2): encoding expressed in the rotated reference frame.ErasureCovariant: PDF p.3, Eq.(2): covariance as equality of the rotated and original encoding.ReferenceSuccess: PDF p.2, Eq.(1): recovery by the same decoder for every unknown group element.twirledEncoding: PDF p.3: normalized Haar average of the rotated encoding, not of the decoder.copyPermutation: PDF pp.4--5: permutation of the A-labelled copies, with the inverse in coordinate position, as in the source's U(g)|phi_a> formula.tensorEncoding: PDF p.4: tensor copies of E0, regrouped into n physical shares. Matrix-unit expansion defines the channel also on entangled logical inputs.PerfectTensor: PDF p.5: normalized perfect tensors have every dependentRegisterTrace on at most half the equal-dimensional legs equal to I/d^|R|. Flattenings are scaled isometries.invariantOrbitMap: PDF p.13: explicit orbit map M with the last coordinate equal to g. This entry formula is the source's d^(-1/2) sum over g, with disjoint orbits.orbitProjector: PDF p.13, Eq.(C1): unnormalized invariant projector MM†.RegularInvariant: PDF p.13: invariant vectors under the diagonal regular action.positiveMatrixRoot: PDF pp.9--10: positive square root in the recovered-channel formula.reshapedEncoder: PDF pp.8--9: sqrt(d)<phi+|Psi>, with phi+ UNNORMALIZED.polarEncoder: PDF p.9: T=E(E†E)^(-1/2), constructed from Psi.pairMarginal: PDF p.9: Psi_01. Here there are r+2 physical outputs, hence r+3 total registers. The pair 0,1 is retained and the remaining r+1 registers are traced.pairMixed: PDF p.9: tau_01=I/d², with both registers of dimension |G|.recoveredChannel: PDF pp.9--10, Step 1: the source's Schmidt-decoder recovered channel, written as its derived two-register formula. The final transpose and the input transpose are both essential. This is recovery for erased physical mode 1, not optimization over decoders or over erased positions.worstRootFidelity: PDF pp.9--10: minimum ROOT fidelity for the prescribed decoder and a fixed erasure. Joint concavity permits the minimum over normalized pure inputs. The nonempty set of values lies in [0,1] on normalized full-rank source data.Sample: PDF p.13: Euclidean coordinate space used for the source's Haar sample in H_G^tensor(n). Its indexing is reindexed below, rather than changing its law.invariantSampleLaw: PDF p.13: actual Haar unit-vector law, from the frozen accepted library.randomInvariant: PDF p.13: reindex the Haar vector into the tensor basis and apply M. This samples the invariant subspace, not the full output Hilbert space.testTail: PDF p.12: probability of a fixed density-matrix test, with the absolute value (complex norm) and inclusive threshold printed in the source.worstTestTail: PDF p.12: worst fixed-test tail. The density test is chosen before the Haar sample. This supremum of probabilities is bounded and has a nonempty domain; it is not the probability of a supremum chosen after sampling.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_QuditChannelFidelities
import Definitions.Def_QAlgorithms_Defs_Measurement
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P32
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Support21_P09
/-!
Statements from Hayden--Nezami--Popescu--Salton, arXiv:1709.04471v1.
Paper-specific interfaces below are local; equivalent accepted primitives are imported. Computational bases index finite
complex Hilbert spaces, including nonuniform local dimensions. Appendix A and the
continuous orthogonal-reference construction are deferred in HARD.md.
-/
noncomputable section
open MeasureTheory MeasureTheory.Measure
open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable Classical.decEq
namespace QAlgorithms.Papers.Independent.Extend50.P29
open QAlgorithms.Papers.Independent.Information100.P32 (evolution)
open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt rectAct)
open QAlgorithms.Papers.Independent.Support21.P09 (groupLeftRegular)
/-- PDF pp.2--3: basis configurations of a finite collection of local registers. -/
abbrev RegisterConfig {S : Type} (H : S → Type) := (i : S) → H i
/-- PDF pp.2--3: the registers retained in a known-position erasure. -/
abbrev Keep {S : Type} (H : S → Type) (R : Finset S) := (i : {i // i ∈ R}) → H i.val
/-- PDF pp.2--3: partial trace, written on matrix units. The outside indices
are equal and summed once; all off-diagonal entries of the retained system survive. -/
def dependentRegisterTrace {S : Type} [Fintype S] {H : S → Type} [∀ i, Fintype (H i)]
(R : Finset S) (X : Matrix (RegisterConfig H) (RegisterConfig H) ℂ) : Matrix (Keep H R) (Keep H R) ℂ :=
fun a b => ∑ x : RegisterConfig H, ∑ y : RegisterConfig H,
if (∀ i : {i // i ∈ R}, x i.val = a i) ∧
(∀ i : {i // i ∈ R}, y i.val = b i) ∧
(∀ i, i ∉ R → x i = y i) then X x y else 0
/-- PDF p.3, Eq.(4): tensor product of local operators, on the entire tensor space. -/
def localTensorMatrix {S : Type} [Fintype S] {H : S → Type}
(A : (i : S) → Matrix (H i) (H i) ℂ) : Matrix (RegisterConfig H) (RegisterConfig H) ℂ :=
fun x y => ∏ i, A i (x i) (y i)
/-- PDF pp.2--3: fixed decoding channels, one for each known erased site. -/
abbrev Decoders {S I : Type} [Fintype S] (H : S → Type) :=
(j : S) → Superop (Keep H (Finset.univ.erase j)) I
/-- PDF pp.2--3: every density matrix is recovered; the decoders precede the input. -/
def SingleCorrects {S I : Type} [Fintype S] [Fintype I] {H : S → Type}
[∀ i, Fintype (H i)] (E : Superop I (RegisterConfig H)) (D : Decoders (I := I) H) : Prop :=
∀ j ρ, IsDensityMatrix ρ → D j (dependentRegisterTrace (Finset.univ.erase j) (E ρ)) = ρ
/-- PDF pp.3--4: exact recovery after every erased subset of cardinality at most k.
The channel D can depend on the subset, but not on the input matrix. -/
def CorrectsErasedSubsets {S I : Type} [Fintype S] [Fintype I] {H : S → Type}
[∀ i, Fintype (H i)] (k : ℕ) (E : Superop I (RegisterConfig H)) : Prop :=
∀ J : Finset S, J.card ≤ k →
∃ D : Superop (Keep H (Finset.univ \ J)) I,
IsChannel D ∧ ∀ ρ, IsDensityMatrix ρ → D (dependentRegisterTrace (Finset.univ \ J) (E ρ)) = ρ
/-- PDF pp.2--3, Eqs.(1)--(2): encoding expressed in the rotated reference frame. -/
def rotatedEncoding {G S I : Type} [Fintype S] [Fintype I] {H : S → Type}
[∀ i, Fintype (H i)]
(Ui : G → Matrix I I ℂ) (Uo : G → (i : S) → Matrix (H i) (H i) ℂ)
(E : Superop I (RegisterConfig H)) (g : G) : Superop I (RegisterConfig H) :=
fun ρ => conjSuperop (localTensorMatrix (Uo g)) (E (conjSuperop (Ui g)ᴴ ρ))
/-- PDF p.3, Eq.(2): covariance as equality of the rotated and original encoding. -/
def ErasureCovariant {G S I : Type} [Fintype S] [Fintype I] {H : S → Type}
[∀ i, Fintype (H i)]
(Ui : G → Matrix I I ℂ) (Uo : G → (i : S) → Matrix (H i) (H i) ℂ)
(E : Superop I (RegisterConfig H)) : Prop :=
∀ g ρ, IsDensityMatrix ρ → rotatedEncoding Ui Uo E g ρ = E ρ
/-- PDF p.2, Eq.(1): recovery by the same decoder for every unknown group element. -/
def ReferenceSuccess {G S I : Type} [Fintype S] [Fintype I] {H : S → Type}
[∀ i, Fintype (H i)]
(Ui : G → Matrix I I ℂ) (Uo : G → (i : S) → Matrix (H i) (H i) ℂ)
(E : Superop I (RegisterConfig H)) (D : Decoders (I := I) H) : Prop :=
∀ g, SingleCorrects (rotatedEncoding Ui Uo E g) D
/-- PDF p.3: normalized Haar average of the rotated encoding, not of the decoder. -/
def twirledEncoding {G S I : Type} [MeasurableSpace G] [Fintype S] [Fintype I]
{H : S → Type} [∀ i, Fintype (H i)] (μ : Measure G)
(Ui : G → Matrix I I ℂ) (Uo : G → (i : S) → Matrix (H i) (H i) ℂ)
(E : Superop I (RegisterConfig H)) : Superop I (RegisterConfig H) :=
fun X => ∫ g, rotatedEncoding Ui Uo E g X ∂μ
/-- PDF pp.4--5: permutation of the A-labelled copies, with the inverse in
coordinate position, as in the source's U(g)|phi_a> formula. -/
def copyPermutation {G A I : Type} [Group G] [MulAction G A]
(g : G) : Matrix (A → I) (A → I) ℂ :=
fun x y => if x = (fun a => y (g⁻¹ • a)) then 1 else 0
/-- PDF p.4: tensor copies of E0, regrouped into n physical shares.
Matrix-unit expansion defines the channel also on entangled logical inputs. -/
def tensorEncoding {A I H : Type} [Fintype A] [Fintype I] {n : ℕ}
(E0 : Superop I (Fin n → H)) : Superop (A → I) (Fin n → A → H) :=
fun X y z => ∑ x : A → I, ∑ x' : A → I,
X x x' * ∏ a, E0 (Matrix.single (x a) (x' a) 1)
(fun i => y i a) (fun i => z i a)
/-- PDF p.5: normalized perfect tensors have every dependentRegisterTrace on at most half
the equal-dimensional legs equal to I/d^|R|. Flattenings are scaled isometries. -/
def PerfectTensor {m d : ℕ} (ψ : EuclideanSpace ℂ (Fin m → Fin d)) : Prop :=
IsState ψ ∧ ∀ R : Finset (Fin m), 2 * R.card ≤ m →
dependentRegisterTrace (H := fun _ : Fin m => Fin d) R (pureDensity ψ) =
(((d : ℂ) ^ R.card)⁻¹) • (1 : Matrix (Keep (fun _ : Fin m => Fin d) R)
(Keep (fun _ : Fin m => Fin d) R) ℂ)
/-- PDF p.13: explicit orbit map M with the last coordinate equal to g.
This entry formula is the source's d^(-1/2) sum over g, with disjoint orbits. -/
def invariantOrbitMap (G : Type) [Group G] [Fintype G] (n : ℕ) :
Matrix (Fin (n + 1) → G) (Fin n → G) ℂ :=
fun z h => if ∀ i : Fin n, z i.castSucc = z (Fin.last n) * h i
then ((Real.sqrt (Fintype.card G : ℝ))⁻¹ : ℂ) else 0
/-- PDF p.13, Eq.(C1): unnormalized invariant projector MM†. -/
def orbitProjector (G : Type) [Group G] [Fintype G] (n : ℕ) :
Matrix (Fin (n + 1) → G) (Fin (n + 1) → G) ℂ :=
invariantOrbitMap G n * (invariantOrbitMap G n)ᴴ
/-- PDF p.13: invariant vectors under the diagonal regular action. -/
def RegularInvariant {G : Type} [Group G] [Fintype G] {n : ℕ}
(ψ : EuclideanSpace ℂ (Fin n → G)) : Prop :=
∀ g, act (localTensorMatrix (fun _ : Fin n => groupLeftRegular g)) ψ = ψ
/-- PDF pp.9--10: positive square root in the recovered-channel formula. -/
def positiveMatrixRoot {I : Type} [Fintype I] (X : Matrix I I ℂ) : Matrix I I ℂ :=
cfc (fun x : ℝ => Real.sqrt x) X
/-- PDF pp.8--9: sqrt(d)<phi+|Psi>, with phi+ UNNORMALIZED. -/
def reshapedEncoder {G : Type} [Fintype G] {n : ℕ}
(ψ : EuclideanSpace ℂ (Fin (n + 1) → G)) : Matrix (Fin n → G) G ℂ :=
fun z x => (Real.sqrt (Fintype.card G : ℝ) : ℂ) * ψ (Fin.cons x z)
/-- PDF p.9: T=E(E†E)^(-1/2), constructed from Psi. -/
def polarEncoder {G : Type} [Fintype G] {n : ℕ}
(ψ : EuclideanSpace ℂ (Fin (n + 1) → G)) : Matrix (Fin n → G) G ℂ :=
let E := reshapedEncoder ψ
E * inverseSqrt (Eᴴ * E)
/-- PDF p.9: Psi_01. Here there are r+2 physical outputs, hence r+3 total
registers. The pair 0,1 is retained and the remaining r+1 registers are traced. -/
def pairMarginal {G : Type} [Fintype G] {r : ℕ}
(ψ : EuclideanSpace ℂ (Fin (r + 3) → G)) : Matrix (G × G) (G × G) ℂ :=
fun a b => ∑ z : Fin (r + 1) → G,
ψ (Fin.cons a.1 (Fin.cons a.2 z)) *
conj (ψ (Fin.cons b.1 (Fin.cons b.2 z)))
/-- PDF p.9: tau_01=I/d², with both registers of dimension |G|. -/
def pairMixed (G : Type) [Fintype G] : Matrix (G × G) (G × G) ℂ :=
(((Fintype.card G : ℂ) ^ 2)⁻¹) • 1
/-- PDF pp.9--10, Step 1: the source's Schmidt-decoder recovered channel,
written as its derived two-register formula. The final transpose and the input
transpose are both essential. This is recovery for erased physical mode 1,
not optimization over decoders or over erased positions. -/
def recoveredChannel {G : Type} [Fintype G]
(A : Matrix (G × G) (G × G) ℂ) : Superop G G :=
fun X =>
let B := inverseSqrt (traceRight A)
(traceRight (positiveMatrixRoot A * Matrix.kronecker (B * X.transpose * B) (1 : Matrix G G ℂ) *
positiveMatrixRoot A)).transpose
/-- PDF pp.9--10: minimum ROOT fidelity for the prescribed decoder and a
fixed erasure. Joint concavity permits the minimum over normalized pure inputs.
The nonempty set of values lies in [0,1] on normalized full-rank source data. -/
def worstRootFidelity {G : Type} [Fintype G]
(A : Matrix (G × G) (G × G) ℂ) : ℝ :=
sInf {f : ℝ | ∃ κ : EuclideanSpace ℂ G, IsState κ ∧
f = Real.sqrt (effectProb (pureDensity κ) (recoveredChannel A (pureDensity κ)))}
/-- PDF p.13: Euclidean coordinate space used for the source's Haar sample
in H_G^tensor(n). Its indexing is reindexed below, rather than changing its law. -/
abbrev Sample (G : Type) [Fintype G] (n : ℕ) :=
EuclideanSpace ℂ (Fin (Fintype.card (Fin n → G)))
/-- PDF p.13: actual Haar unit-vector law, from the frozen accepted library. -/
def invariantSampleLaw (G : Type) [Group G] [Fintype G] (n : ℕ) : Measure (Sample G n) :=
QuditFidelity.haarPureStateLaw (Fintype.card (Fin n → G)) Fintype.card_pos
/-- PDF p.13: reindex the Haar vector into the tensor basis and apply M.
This samples the invariant subspace, not the full output Hilbert space. -/
def randomInvariant {G : Type} [Group G] [Fintype G] (n : ℕ)
(φ : Sample G n) : EuclideanSpace ℂ (Fin (n + 1) → G) :=
rectAct (invariantOrbitMap G n)
(WithLp.toLp 2 (fun h : Fin n → G => φ (Fintype.equivFin (Fin n → G) h)))
/-- PDF p.12: probability of a fixed density-matrix test, with the absolute
value (complex norm) and inclusive threshold printed in the source. -/
def testTail {G : Type} [Group G] [Fintype G] (r : ℕ) (δ : ℝ)
(σ : Matrix (G × G) (G × G) ℂ) : ℝ :=
((invariantSampleLaw G (r + 2)) {φ | δ / (Fintype.card G : ℝ) ^ 2 ≤
‖(σ * (pairMarginal (randomInvariant (r + 2) φ) - pairMixed G)).trace‖}).toReal
/-- PDF p.12: worst fixed-test tail. The density test is chosen before the
Haar sample. This supremum of probabilities is bounded and has a nonempty domain;
it is not the probability of a supremum chosen after sampling. -/
def worstTestTail (G : Type) [Group G] [Fintype G] (r : ℕ) (δ : ℝ) : ℝ :=
sSup {p : ℝ | ∃ σ : Matrix (G × G) (G × G) ℂ, IsDensityMatrix σ ∧ p = testTail r δ σ}
/-- Small sanity check: partial trace sends zero to zero. -/
example {S : Type} [Fintype S] {H : S → Type} [∀ i, Fintype (H i)] (R : Finset S) :
dependentRegisterTrace (H := H) R 0 = 0 := by
ext a b
simp [dependentRegisterTrace]
example (H : Fin 0 → Type) (A : (i : Fin 0) → Matrix (H i) (H i) ℂ)
(x y : RegisterConfig H) : localTensorMatrix A x y = 1 := by
simp [localTensorMatrix]
example {I : Type} [Fintype I] (T : Matrix I I ℂ) : evolution T 0 = 1 := by
simp [evolution, NormedSpace.exp_zero]
example {G : Type} [Group G] (g y : G) : groupLeftRegular g (g * y) y = 1 := by
simp [groupLeftRegular]
example (z : Fin 1 → Unit) (h : Fin 0 → Unit) : invariantOrbitMap Unit 0 z h = 1 := by
simp [invariantOrbitMap]
example {G : Type} [Fintype G] {n : ℕ} (ψ : EuclideanSpace ℂ (Fin (n + 1) → G))
(z : Fin n → G) (x : G) :
reshapedEncoder ψ z x = (Real.sqrt (Fintype.card G : ℝ) : ℂ) * ψ (Fin.cons x z) := rfl
example {G : Type} [Fintype G] (A : Matrix (G × G) (G × G) ℂ) (X : Matrix G G ℂ) :
recoveredChannel A X =
(traceRight (positiveMatrixRoot A * Matrix.kronecker
(inverseSqrt (traceRight A) * X.transpose * inverseSqrt (traceRight A)) 1 *
positiveMatrixRoot A)).transpose := rfl
example (G : Type) [Group G] [Fintype G] (n : ℕ) : invariantSampleLaw G n Set.univ = 1 :=
QuditFidelity.haarPureStateLaw_univ _ _
end QAlgorithms.Papers.Independent.Extend50.P29
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P29.CorrectsErasedSubsets
Let and be finite types, let every be finite, let be any natural number, and let be any function, where . The predicate says that, for every subset with , there exists a function
having a finite Kraus representation with , such that for every positive semidefinite of trace . Here the -entry of is the sum of over full configurations with , , and for every . The decoder may depend on , and is not required to be a channel. The empty erased subset is included even when ; if , every subset is included. If is empty, the recovery equations are vacuous, but the required decoder channels must still exist.
QAlgorithms.Papers.Independent.Extend50.P29.Decoders
For a finite type , any type , and any family of types , a decoder family assigns to each an arbitrary function
No linearity, positivity, channel condition, or correctness condition is part of this type, and neither nor the are required to be finite or nonempty. If is empty, the family has no components.
QAlgorithms.Papers.Independent.Extend50.P29.ErasureCovariant
Let be any type, let and be finite types, let each be finite, and let be any function. For matrix families on and on , the predicate means that for every and every positive semidefinite of trace ,
There is no group, representation, unitarity, channel, or recovery assumption. If is empty, or if is empty and hence admits no density matrix, the condition is vacuous.
QAlgorithms.Papers.Independent.Extend50.P29.Keep
For any type , family of types indexed by , and finite subset , the retained-register configuration type is
Its elements assign a value in to each index belonging to . No finiteness or nonemptiness assumption is imposed on the individual , and need not be finite. When , this configuration type has exactly one element.
QAlgorithms.Papers.Independent.Extend50.P29.PerfectTensor
For arbitrary natural numbers and a complex Euclidean vector indexed by configurations in , this predicate means that and that, for every subset with ,
Here , is the identity matrix indexed by assignments of a value in to each element of , and the partial trace retains and sums over equal assignments on its complement. The empty subset is included. No positivity assumption on is made: when , the condition is simply that the single complex amplitude has modulus one; when , no unit vector exists.
QAlgorithms.Papers.Independent.Extend50.P29.ReferenceSuccess
Let be any type, let and be finite types, let every be finite, and let be any function, where . Given matrix families , , and functions , the predicate says that for every , every , and every positive semidefinite of trace ,
The partial trace fixes all retained row and column values and sums over equal row and column values of the erased register . The same decoder family is used for every . No channel condition on or the decoders, or unitarity or representation condition on the matrix families, is imposed. The condition is vacuous if , , or is empty.
QAlgorithms.Papers.Independent.Extend50.P29.RegisterConfig
For any type and any family of types , indexed by , the type of register configurations is the dependent Cartesian product
Thus a configuration assigns an element to every index . Neither nor the are required to be finite or nonempty. If is empty, there is exactly one configuration; if some is empty, there are no configurations.
QAlgorithms.Papers.Independent.Extend50.P29.RegularInvariant
For a finite group , a natural number , and any complex Euclidean vector indexed by , this predicate means that for every , where
Equivalently, for every and every configuration . No normalization is required, so the zero vector is included; when , every vector on the single empty configuration satisfies the predicate.
QAlgorithms.Papers.Independent.Extend50.P29.Sample
For any finite type and natural number , this denotes the complex Euclidean space , with coordinate indices , where is the number of functions , hence . Its elements are arbitrary vectors, without a unit-norm requirement. The case gives , even if is empty; if is empty and , then .
QAlgorithms.Papers.Independent.Extend50.P29.SingleCorrects
Let and be finite types, let each be finite, let , let be any function, and let be a matrix-valued function on the configurations of all registers except , for every . The predicate means that, for every and every positive semidefinite matrix with ,
where, for configurations on , the matrix inside has entry
The predicate does not require or any to be a channel. If is empty, the condition is vacuous; if is empty, there are no density matrices , so it is also vacuous.
QAlgorithms.Papers.Independent.Extend50.P29.copyPermutation
For any group , any set equipped with a -action, any set , and any , this defines a complex matrix whose rows and columns are indexed by functions , by
No finiteness or nonemptiness is assumed for or ; if is empty, its function space has one element and this matrix is the identity.
QAlgorithms.Papers.Independent.Extend50.P29.dependentRegisterTrace
Let be a finite type, let each be a finite type, let be a finite subset, and let be any complex matrix indexed by full configurations . The declared matrix, indexed by retained configurations , has entries
There is no positivity or normalization requirement on . For , the result is the one-by-one matrix whose entry is ; for , its entries are those of , under the natural identification of configuration types. Empty component types are allowed, so some indexing sets and sums can be empty.
QAlgorithms.Papers.Independent.Extend50.P29.invariantOrbitMap
For every finite group and every natural number , this defines a rectangular complex matrix with rows indexed by and columns indexed by , by
A group is nonempty, so the displayed normalization has a nonzero denominator. When , the condition is vacuous and the sole column has the constant entry .
QAlgorithms.Papers.Independent.Extend50.P29.invariantSampleLaw
For any finite group and natural number , put , which is positive. Define a measure on as the pushforward of normalized Haar measure on the unitary group under , where has coordinate at index and elsewhere. Thus the measure is specified by applying a Haar-distributed unitary to that fixed basis vector. The case , for which , is included.
QAlgorithms.Papers.Independent.Extend50.P29.localTensorMatrix
For a finite type , an arbitrary family of types , and complex matrices indexed by , define a matrix on full configurations by
The component types need not be finite or nonempty, and the matrices need not be unitary or positive. If is empty, the configuration type is a singleton and the matrix has its sole entry equal to the empty product .
QAlgorithms.Papers.Independent.Extend50.P29.orbitProjector
For every finite group and every natural number , this defines the square matrix indexed by , where has rows , columns , and entry if for all , and zero otherwise. Equivalently,
The definition includes , in which case every entry of is .
QAlgorithms.Papers.Independent.Extend50.P29.pairMarginal
For any finite type , any natural number , and any vector , define a matrix indexed by by
where the displayed configurations are formed by prepending the two indicated entries to . No normalization of , group structure, or nonemptiness of is assumed, and is included.
QAlgorithms.Papers.Independent.Extend50.P29.pairMixed
For any finite type , define the matrix indexed by to be , with the scalar interpreted in . Thus its entries are on the diagonal and off the diagonal. Nonemptiness is not required: when is empty, this is the empty matrix, and the scalar inverse of is defined as .
QAlgorithms.Papers.Independent.Extend50.P29.polarEncoder
For any finite type , any natural number , and any vector , where denotes the functions from to , define the matrix , with rows indexed by and columns indexed by , by , with denoting the configuration obtained by prepending to . The defined matrix is , where is applied by continuous functional calculus, with . No normalization of , positive definiteness of , group structure, or nonemptiness of is assumed; is included.
QAlgorithms.Papers.Independent.Extend50.P29.positiveMatrixRoot
For any finite set and any complex matrix indexed by , this defines the matrix obtained by applying the real continuous functional calculus to with the function . In particular, for Hermitian , it replaces each eigenvalue by the real square root , which is zero when . The definition imposes no Hermitian or positive semidefinite hypothesis on , and also includes the empty index set.
QAlgorithms.Papers.Independent.Extend50.P29.randomInvariant
For any finite group , any natural number , and any vector , let be the finite enumeration bijection used for this function type. Define a vector by
This is the matrix-vector product with the matrix having the displayed conditional coefficients. No normalization assumption on is made. When , the condition is vacuous and the sum has one term, so every coordinate equals times the sole coordinate of .
QAlgorithms.Papers.Independent.Extend50.P29.recoveredChannel
For any finite type and any complex matrix indexed by , define , a function from complex -indexed square matrices to such matrices, as follows. For a matrix indexed by , let . Set and , using continuous functional calculus with and . Then
Both transposes are ordinary transposes, not conjugate transposes. No positivity, trace, invertibility, or nonemptiness assumption is imposed, and the definition does not itself assert that is a channel. The scalar functions are total: real square roots of nonpositive numbers are , and the inverse of is .
QAlgorithms.Papers.Independent.Extend50.P29.reshapedEncoder
For any finite set , any natural number , and any complex Euclidean vector indexed by functions , this defines a rectangular complex matrix , with rows indexed by and columns by , by
No group structure, nonemptiness, or normalization is assumed. When , there is a single row and its entry at is ; when is empty, there are no columns.
QAlgorithms.Papers.Independent.Extend50.P29.rotatedEncoding
Let be any type, let and be finite types, let every be finite, and write . Given matrix families on and on , an arbitrary function , and , the rotated encoding is the function
This formula applies to every input matrix . No group structure on , representation law, unitarity, channel condition, positivity, or nonemptiness is assumed. For empty , is the one-by-one identity matrix.
QAlgorithms.Papers.Independent.Extend50.P29.tensorEncoding
For finite sets , an arbitrary set , a natural number , and any map from complex matrices indexed by to complex matrices indexed by functions , this defines a map from matrices indexed by to matrices indexed by , with entries
where is the matrix having entry one at and zero elsewhere. No linearity, positivity, normalization, or channel assumption is imposed on . Empty sets and are allowed, with empty products equal to one and empty sums equal to zero.
QAlgorithms.Papers.Independent.Extend50.P29.testTail
For any finite group of order , natural number , real number , and arbitrary complex matrix indexed by , define the real value of the measure of the event
The measure on is the pushforward of normalized Haar measure on under . To define , fix the supplied finite enumeration , set
and use the complex modulus in the event. No density-matrix assumption on or sign assumption on is imposed; the threshold comparison is non-strict, and for the event is the whole sample space. The case is included.
QAlgorithms.Papers.Independent.Extend50.P29.twirledEncoding
Let be a measurable space with any measure , let and be finite types, and let each be finite. Given matrix families on and on , and any function , where , define
for every input matrix . The integral is the matrix-valued Bochner integral. No group structure, probability normalization of , measurability or integrability of the integrand, unitarity, or channel condition is assumed. Under the integral’s total definition, a nonintegrable integrand gives the zero matrix; the zero measure also gives the zero matrix.
QAlgorithms.Papers.Independent.Extend50.P29.worstRootFidelity
For any finite type and any complex matrix indexed by , define a real number by
where . Here, writing , the function inside the expression is , with and defined by continuous functional calculus, , and . No positivity or trace assumption on is required. The outer real square root is for a negative argument; if is empty, there are no unit vectors and the real infimum of the empty set is defined as .
QAlgorithms.Papers.Independent.Extend50.P29.worstTestTail
For any finite group of order , natural number , and real number , define the real supremum, over all positive semidefinite complex matrices indexed by with , of the event probabilities
Here has the pushforward of normalized Haar measure on under . With the supplied finite enumeration , define and . Each event measure is converted to a real number before taking the supremum; the definition does not assert attainment. There is no sign restriction on , the comparison includes equality, is allowed, and for the value is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.