qubit_state_0
def
The 2x2 real matrix qubit_state_0 a t of type Matrix (Fin 2) (Fin 2) ℝ for real parameters a, t : ℝ, defined as qubit_rotation t * Matrix.diagonal ![1 - a, a] * (qubit_rotation t).transpose.
Statement
noncomputable def qubit_state_0 (a t : ℝ) : Matrix (Fin 2) (Fin 2) ℝ
- Defined in
- OP-1440
- Verified
- 11 Nov 2026
- Axioms
- none listed
- Built on 1
- qubit_rotationThe 2x2 real matrix qubit_rotation t of type Matrix (Fin 2) (Fin 2) ℝ for a real parameter t : ℝ, with row 0 equal to ![(1 - t^2) / (1 +…
- Used by 2
- symmetric_qubit_fork_xyThe bipartite real matrix symmetric_qubit_fork_xy p a q t of type Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℝ for real parameters p, a, q, t…
- symmetric_qubit_fork_xyzThe tripartite real matrix symmetric_qubit_fork_xyz p a q t of type Matrix (Fin 2 × (Fin 2 × Fin 2)) (Fin 2 × (Fin 2 × Fin 2)) ℝ for real…
Read back from the Lean
Definition of a function qubit_state_0 that takes two real parameters a and t and returns the 2×2 real matrix given by the matrix product of qubit_rotation t, the 2×2 diagonal matrix with diagonal entries 1 - a and a, and the transpose of qubit_rotation t.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The rotated qubit state sigma_0 with eigenvalues 1-a and a. -/ noncomputable def qubit_state_0 (a t : ℝ) : Matrix (Fin 2) (Fin 2) ℝ := qubit_rotation t * Matrix.diagonal ![1 - a, a] * (qubit_rotation t).transpose