Difference between revisions of "Singlet.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
−
{{DISPLAYTITLE:singlet.m}}
+
{{DISPLAYTITLE:singlet.m}} __NOTOC__
 +
 
 
Returns a two-spin singlet state.
 
Returns a two-spin singlet state.
  
 
==Syntax==
 
==Syntax==
  
−
    rho=singlet(spin_system,spin_a,spin_b)
+
S=singlet(spin_system,spin_a,spin_b)
  
 
==Arguments==
 
==Arguments==
  
−
  spin_a  - the number of the first spin in the  
+
spin_a  - the number of the first spin in the  
 
             singlet state
 
             singlet state
 
   
 
   
Line 16: Line 17:
 
==Outputs==
 
==Outputs==
  
−
  rho    - a density matrix (Hilbert space) or
+
S      - a density matrix (Hilbert space) or
−
             a state vector (Liouville space)  
+
             a state vector (Liouville space)
 +
 
 +
ilya.kuprov@weizmann.ac.il
  
 
==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 14:04, 5 April 2026


Returns a two-spin singlet state.

Syntax

S=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

S - a density matrix (Hilbert space) or

            a state vector (Liouville space)
ilya.kuprov@weizmann.ac.il

See also

state.m, operator.m, equilibrium.m


Version 2.2, authors: Ilya Kuprov