org.jscience.physics.quantum
Class SpinOperator

java.lang.Object
  extended by org.jscience.physics.quantum.Operator
      extended by org.jscience.physics.quantum.SpinOperator
All Implemented Interfaces:
java.io.Serializable, Member

public final class SpinOperator
extends Operator

The SpinOperator class provides an object for encapsulating spin operators.

See Also:
Serialized Form

Field Summary
static SpinOperator X1
          Spin 1 operator (x).
static SpinOperator X1_2
          Spin 1/2 operator (x).
static SpinOperator Y1
          Spin 1 operator (y).
static SpinOperator Y1_2
          Spin 1/2 operator (y).
static SpinOperator Z1
          Spin 1 operator (z).
static SpinOperator Z1_2
          Spin 1/2 operator (z).
 
Fields inherited from class org.jscience.physics.quantum.Operator
representation
 
Method Summary
 boolean isSelfAdjoint()
          Returns true if this operator is self-adjoint.
 boolean isUnitary()
          Returns true if this operator is unitary.
 Complex trace()
          Returns the trace.
 
Methods inherited from class org.jscience.physics.quantum.Operator
add, equals, getDimension, getRepresentation, hashCode, multiply, multiply, norm, subtract, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X1_2

public static final SpinOperator X1_2
Spin 1/2 operator (x).


Y1_2

public static final SpinOperator Y1_2
Spin 1/2 operator (y).


Z1_2

public static final SpinOperator Z1_2
Spin 1/2 operator (z).


X1

public static final SpinOperator X1
Spin 1 operator (x).


Y1

public static final SpinOperator Y1
Spin 1 operator (y).


Z1

public static final SpinOperator Z1
Spin 1 operator (z).

Method Detail

isSelfAdjoint

public boolean isSelfAdjoint()
Returns true if this operator is self-adjoint.

Overrides:
isSelfAdjoint in class Operator
Returns:
DOCUMENT ME!

isUnitary

public boolean isUnitary()
Returns true if this operator is unitary.

Overrides:
isUnitary in class Operator
Returns:
DOCUMENT ME!

trace

public Complex trace()
Returns the trace.

Overrides:
trace in class Operator
Returns:
DOCUMENT ME!