Alice's factor rows (i, a, k).
Equations
- CommutingRepetition.BlockArena.RowA kA = ((i : I) × (a : A) × Fin (kA i a))
Instances For
Bob's factor columns (j, b, l).
Equations
- CommutingRepetition.BlockArena.ColB kB = ((j : J) × (b : B) × Fin (kB j b))
Instances For
The block index set: the source e₀, Alice's rows, Bob's columns.
Equations
Instances For
The Alice column of i as a vector: the factors of i, zero elsewhere.
Equations
Instances For
The Bob row of j as a vector: the adjoint factors of j, zero elsewhere.
Equations
Instances For
The answer label of an index for Alice's POVM at i: the factor's answer
on the rows of i, the fallback a₀ everywhere else.
Equations
Instances For
Equations
Instances For
A rank-one block a σ bᵀ.
Equations
- CommutingRepetition.BlockArena.rankOne kA kB a b σ = Matrix.of fun (p q : CommutingRepetition.BlockArena.Idx kA kB) => a p * σ * b q
Instances For
The rank-one block c_i (σ e₀₀) d_j: entries x_r σ y_s*.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A 0/1 diagonal projection.
Equations
- CommutingRepetition.BlockArena.proj kA kB P = Matrix.diagonal fun (p : CommutingRepetition.BlockArena.Idx kA kB) => if P p then 1 else 0
Instances For
The trace computation #
The core computation (eqs branch-norm-computation,
branch-weight-computation): the diagonal trace of
X* (P X P') for the rank-one block X = a σ bᵀ.
The block sums #
The Alice column square, restricted to an answer predicate on the block labels.
The Bob row square, restricted to an answer predicate.
The 0/1 projections onto the labels of i form a partition of unity.
A 0/1 projection is a hermitian square of itself.
The arena #
The block algebra N = M_d(M).
Equations
- CommutingRepetition.BlockArena.N kA kB = M.amplify (CommutingRepetition.BlockArena.dim kA kB)
Instances For
The reindexing of block matrices into N.
Equations
- CommutingRepetition.BlockArena.emb kA kB X = (Matrix.reindex (Fintype.equivFin (CommutingRepetition.BlockArena.Idx kA kB)) (Fintype.equivFin (CommutingRepetition.BlockArena.Idx kA kB))) X
Instances For
The trace of N on an embedded block matrix: d⁻¹ ∑_p τ(X p p).
The block arena.
Equations
- One or more equations did not get rendered due to their size.