JSci.physics.quantum
Class SpinOperator

java.lang.Object
  extended by JSci.physics.quantum.Operator
      extended by JSci.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 JSci.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 JSci.physics.quantum.Operator
add, dimension, equals, getRepresentation, getSet, 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

isUnitary

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

Overrides:
isUnitary in class Operator

trace

public Complex trace()
Returns the trace.

Overrides:
trace in class Operator