parity_bound_counterexample_qubit_observable
def
The end-node observable family of the counterexample to closed_network_parity_bound_qubits: at setting y = 0 it is the Pauli Z matrix diag(1, -1), at setting y = 1 it is the identity.
Statement
def parity_bound_counterexample_qubit_observable : Fin 2 → Matrix (Fin 2) (Fin 2) ℂ- Source
- step towards closed_network_parity_bound_qubits
- Verified
- 17 Nov 2026
- Axioms
- none listed
Lean source view module on GitHub
/-- Counterexample family: setting 0 gives Z = diag(1,-1), setting 1 gives the identity on ℂ^2. -/ def parity_bound_counterexample_qubit_observable : Fin 2 → Matrix (Fin 2) (Fin 2) ℂ := fun y => if y = 0 then Matrix.diagonal (fun i : Fin 2 => if i = 0 then (1 : ℂ) else -1) else 1