Skip to main content

Module pauli

Module pauli 

Source
Expand description

Pauli matrices and Kronecker products, for spin and orbital degrees of freedom.

Functions§

kron
Kronecker product a ⊗ b (the index of b varies fastest).
s0
The 2 × 2 identity.
sx
The Pauli matrix σ_x = [[0, 1], [1, 0]].
sy
The Pauli matrix σ_y = [[0, −i], [i, 0]].
sz
The Pauli matrix σ_z = [[1, 0], [0, −1]].