All Packages Class Hierarchy This Package Previous Next Index
Class JSci.physics.quantum.SpinOperator
java.lang.Object
|
+----JSci.physics.quantum.Operator
|
+----JSci.physics.quantum.SpinOperator
- public final class SpinOperator
- extends Operator
The SpinOperator class provides an object for encapsulating spin operators.
-
X1
- Spin 1 operator (x).
-
X1_2
- Spin 1/2 operator (x).
-
Y1
- Spin 1 operator (y).
-
Y1_2
- Spin 1/2 operator (y).
-
Z1
- Spin 1 operator (z).
-
Z1_2
- Spin 1/2 operator (z).
-
isSelfAdjoint()
- Returns true if this operator is self-adjoint.
-
isUnitary()
- Returns true if this operator is unitary.
-
trace()
- Returns the trace.
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).
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
All Packages Class Hierarchy This Package Previous Next Index