Interaction of Pauli matrices with self-adjoint matrices #
The trace of a pauli-matrix multiplied by a self-adjoint 2×2 matrix is real.
Two 2×2 self-adjoint matrices are equal if the (complex) traces of each matrix multiplied by
each of the Pauli-matrices are equal.
Two 2×2 self-adjoint matrices are equal if the real traces of each matrix multiplied by
each of the Pauli-matrices are equal.
The Pauli matrices are linearly independent.
Pauli matrices are orthogonal with respect to the trace pairing: tr(σ_μ σ_ν) = 2 δ_μν.
The four real Pauli coefficients of a self-adjoint 2 × 2 matrix.
Equations
- PauliMatrix.pauliCoeff A (Sum.inl 0) = 1 / 2 * (PauliMatrix.pauliMatrix (Sum.inl 0) * ↑A).trace.re
- PauliMatrix.pauliCoeff A (Sum.inr 0) = 1 / 2 * (PauliMatrix.pauliMatrix (Sum.inr 0) * ↑A).trace.re
- PauliMatrix.pauliCoeff A (Sum.inr 1) = 1 / 2 * (PauliMatrix.pauliMatrix (Sum.inr 1) * ↑A).trace.re
- PauliMatrix.pauliCoeff A (Sum.inr 2) = 1 / 2 * (PauliMatrix.pauliMatrix (Sum.inr 2) * ↑A).trace.re
Instances For
Every self-adjoint 2 × 2 matrix is its Pauli decomposition.
Every self-adjoint 2 × 2 matrix is a real linear combination of the Pauli matrices.
The Pauli matrices span all self-adjoint matrices.
The basis of selfAdjoint (Matrix (Fin 2) (Fin 2) ℂ) formed by Pauli matrices.
Equations
Instances For
Pauli coordinates of self-adjoint 2 × 2 matrices #
The coefficient of the identity in the Pauli decomposition.
Equations
Instances For
The three spatial Pauli coefficients.
Equations
Instances For
The traceless Pauli-vector part a · σ.
Equations
Instances For
The Euclidean length of the spatial Pauli coefficients.
Equations
- PauliMatrix.pauliRadius A = √(∑ i : Fin 3, PauliMatrix.vectorCoeff A i ^ 2)
Instances For
The Pauli radius is the square root of the squared Euclidean length of the spatial Pauli coefficients.
Explicit coefficients #
A self-adjoint matrix is its scalar part plus its Pauli-vector part.
The trace of a self-adjoint matrix is twice its scalar Pauli coefficient.
The Pauli-vector part has zero trace.
The square of the vector part of a self-adjoint matrix is its squared Pauli radius times the identity.
An auxiliary function which on i : Fin 1 ⊕ Fin 3 returns the corresponding
Pauli-matrix as a self-adjoint matrix with a minus sign for Sum.inr _.
Equations
- PauliMatrix.pauliSelfAdjoint' (Sum.inl 0) = ⟨PauliMatrix.pauliMatrix (Sum.inl 0), PauliMatrix.pauliSelfAdjoint'._proof_4⟩
- PauliMatrix.pauliSelfAdjoint' (Sum.inr 0) = ⟨-PauliMatrix.pauliMatrix (Sum.inr 0), PauliMatrix.pauliSelfAdjoint'._proof_1⟩
- PauliMatrix.pauliSelfAdjoint' (Sum.inr 1) = ⟨-PauliMatrix.pauliMatrix (Sum.inr 1), PauliMatrix.pauliSelfAdjoint'._proof_2⟩
- PauliMatrix.pauliSelfAdjoint' (Sum.inr 2) = ⟨-PauliMatrix.pauliMatrix (Sum.inr 2), PauliMatrix.pauliSelfAdjoint'._proof_3⟩
Instances For
Trace orthogonality of the covariant Pauli basis:
tr (σ'_a σ'_b) = 2 δ_{a b}.
The Pauli matrices where σi are negated are linearly independent.
The Pauli matrices where σi are negated span all Self-adjoint matrices.
The basis of selfAdjoint (Matrix (Fin 2) (Fin 2) ℂ) formed by Pauli matrices
where the 1, 2, 3 pauli matrices are negated. These can be thought of as the
covariant Pauli-matrices.
Equations
Instances For
The decomposition of a self-adjoint matrix into the Pauli matrices (where σi are negated).
The component of a self-adjoint matrix in the direction σ0 under
the basis formed by the covariant Pauli matrices.
The component of a self-adjoint matrix in the direction -σ1 under
the basis formed by the covariant Pauli matrices.
The component of a self-adjoint matrix in the direction -σ2 under
the basis formed by the covariant Pauli matrices.
The component of a self-adjoint matrix in the direction -σ3 under
the basis formed by the covariant Pauli matrices.
The relationship between the basis pauliBasis of contravariant Pauli-matrices and the basis
pauliBasis' of covariant Pauli matrices is by multiplication by the Minkowski matrix.