Difference between revisions of "Singlet.m"

From Spinach Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
−
Returns a two-spin singlet state. Syntax:
+
{{DISPLAYTITLE:function.m}}
 +
Returns a two-spin singlet state.
  
−
          rho=singlet(spin_system,spin_a,spin_b,state_type)
+
==Syntax==
  
−
Arguments:
+
    rho=singlet(spin_system,spin_a,spin_b)
  
−
      spin_a  - the number of the first spin in the singlet state
+
==Arguments==
  
−
      spin_b  - the number of the second spin in the singlet state
+
  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]]''

Revision as of 14:35, 27 August 2018

Returns a two-spin singlet state.

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