A two-qubit instrument can measure a projector and prepare the next state in the same box
ProvedHardyFLocal.projective_measure_prepare_instrumentlinear-algebraquantum-information
Let be a Hermitian projection on two qubits, and let be a Hermitian projection of trace one on the same space. There exists a lattice instrument with only two nonzero candidate branches. On a complex input matrix , its outcome maps satisfy
All later outcomes have zero map. The instrument implements a selected projective effect and prepares an independently specified pure state at a single exterior vertex.
Preamble
import Definitions.Def_HardyFLocal_Instrument open scoped Matrix ComplexOrder
Formal statement
namespace HardyFLocal
theorem projective_measure_prepare_instrument
(P R : Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ)
(hp : P.IsHermitian) (hr : R.IsHermitian) (pp : P * P = P) (rr : R * R = R)
(unitTrace : R.trace = 1) :
∃ I : Instrument,
(∀ A, I.op 0 A = (P * A).trace • R) ∧
(∀ A, I.op 1 A = ((1 - P) * A).trace • R) ∧
(∀ n : ℕ, I.op (n + 2) = 0) := by sorry
end HardyFLocalSource
Supporting construction for the interior fiduciality milestone of the Lean formalization of Lucien Hardy, Formalism Locality in Quantum Theory and Quantum Gravity, section 5. https://arxiv.org/abs/0804.0054