Documentation

MIPRE.Tailored.Intro.Binary

Binary measurements and the Magic Square grid as permutation observables #

The Pauli basis test's honest strategy answers its probe and Magic Square questions with the two-outcome measurements ½(1 ± O) of observables O (MIPRE.LCS.observableToProjector), the observables being Weyl operators on the register and, for the Magic Square, the nine entries of HonestMagicSquare.grid on the register and one ancilla qubit. This file shows:

Binary measurements #

theorem MIPRE.Tailored.encObs_observableToProjector {R : Type u_1} [Ring R] [Algebra ℂ R] {k : ℕ} (O : R) (enc : ZMod 2 → Fin k → Bool) (i : Fin k) (c : Bool) (h : ∀ (b : ZMod 2), enc b i = (c ^^ decide (b = 1))) :

A bit reading the outcome of ½(1 ± O), flipped by c, has observable (-1)^c O.

theorem MIPRE.Tailored.encObs_observableToProjector_const {R : Type u_1} [Ring R] [Algebra ℂ R] {k : ℕ} (O : R) (enc : ZMod 2 → Fin k → Bool) (i : Fin k) (c : Bool) (h : ∀ (b : ZMod 2), enc b i = c) :

A bit ignoring the outcome of ½(1 ± O) has observable ±1.

The qubit Paulis and the grid #

The nine observables of the Magic Square grid are signed permutations when A and B are.