Entry formulas for Pauli twirls with an ancillary space #
Stated for block matrices over an arbitrary algebra ๐ (Phase 4 of planning/mipco-track.md):
the register is Fin n โ F, the ancilla is abstract, an operator of register and ancilla is a
matrix Matrix (Fin n โ F) (Fin n โ F) ๐, and a register operator A is smulKron 1 A. The
matrix statements, on (Fin n โ F) ร H, are the case ๐ = Matrix H H โ.
Average over the full Z Pauli family on the register.
Equations
- MIPRE.Introspection.dephaseZ M = (โ(Fintype.card (Fin n โ F)))โปยน โข โ v : Fin n โ F, MIPRE.smulKron 1 (MIPRE.Weyl.wZ v) * M * MIPRE.smulKron 1 (MIPRE.Weyl.wZ v)
Instances For
The full Z twirl removes precisely the off-diagonal blocks in the sampled register.
Average the X Pauli conjugations belonging to a subspace.
Equations
- MIPRE.Introspection.averageX K M = (โ(Fintype.card โฅK))โปยน โข โ v : โฅK, MIPRE.smulKron 1 (MIPRE.Weyl.wX โv) * M * MIPRE.smulKron 1 (MIPRE.Weyl.wX โv)
Instances For
The diagonal ancillary block obtained by averaging the fiber through x.
Equations
- MIPRE.Introspection.averagedBlock K M x = (โ(Fintype.card โฅK))โปยน โข โ v : โฅK, M (x + โv) (x + โv)
Instances For
First dephasing, then averaging X(K), leaves only the averaged diagonal blocks.
The averaged ancillary block is constant on each coset of the twirled subspace.
The exact block decomposition used by the hiding argument, including an arbitrary ancilla.