R/qm_simulation.R
gen_I.Rd
Generate the I product operator for a single spin.
gen_I(n, spin_num, op)
spin index number for the required operator.
vector of spin numbers in the system.
operator, one of "x", "y", "z", "p", "m".
I product operator matrix.