View source: R/qm_simulation.R
gen_I | R Documentation |
Generate the I product operator for a single spin.
gen_I(n, spin_num, op)
n |
spin index number for the required operator. |
spin_num |
vector of spin numbers in the system. |
op |
operator, one of "x", "y", "z", "p", "m". |
I product operator matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.