Difference between revisions of "Singlet.m"
(Restore pre-bulk-edit wiki content) |
(Normalise sequential blank lines) |
||
| Line 21: | Line 21: | ||
==See also== | ==See also== | ||
[[state.m]], [[operator.m]], [[equilibrium.m]] | [[state.m]], [[operator.m]], [[equilibrium.m]] | ||
| − | |||
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Revision as of 11:30, 25 April 2026
Returns a two-spin singlet state.
Contents
Syntax
rho=singlet(spin_system,spin_a,spin_b)
Arguments
spin_a - the number of the first spin in the
singlet state
spin_b - the number of the second spin in the
singlet state
Outputs
rho - a density matrix (Hilbert space) or
a state vector (Liouville space)
See also
state.m, operator.m, equilibrium.m
Version 2.2, authors: Ilya Kuprov