Difference between revisions of "Singlet.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Spot-edit Spinach function page first-line NOTOC and template fields)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     rho=singlet(spin_system,spin_a,spin_b)
 
     rho=singlet(spin_system,spin_a,spin_b)
  
−
==Arguments==
+
==Parameters==
  
 
   spin_a  - the number of the first spin in the  
 
   spin_a  - the number of the first spin in the  

Revision as of 17:52, 5 June 2026

Returns a two-spin singlet state.

Syntax

    rho=singlet(spin_system,spin_a,spin_b)

Parameters

  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