Class JSci.physics.quantum.Operator
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.physics.quantum.Operator
java.lang.Object
|
+----JSci.physics.quantum.Operator
- public class Operator
- extends Object
The Operator class provides an object for encapsulating quantum mechanical operators.
-
representation
-
-
Operator(ComplexSquareMatrix)
- Constructs an operator given a matrix representation.
-
clone()
- Creates a clone of this operator.
-
dimension()
- Returns the dimension.
-
equals(Object)
- Compares two operators for equality.
-
getRepresentation()
- Returns the representation.
-
hashCode()
- Returns a hashcode for this operator.
-
isSelfAdjoint()
- Returns true if this operator is self-adjoint.
-
isUnitary()
- Returns true if this operator is unitary.
-
toString()
- Returns a string representing this operator.
-
trace()
- Returns the trace.
representation
protected ComplexSquareMatrix representation
Operator
public Operator(ComplexSquareMatrix rep)
- Constructs an operator given a matrix representation.
- Parameters:
- rep - a matrix representation
equals
public boolean equals(Object a)
- Compares two operators for equality.
- Parameters:
- a - an operator
- Overrides:
- equals in class Object
clone
public Object clone()
- Creates a clone of this operator.
- Returns:
- a copy of this operator.
- Overrides:
- clone in class Object
toString
public String toString()
- Returns a string representing this operator.
- Overrides:
- toString in class Object
hashCode
public int hashCode()
- Returns a hashcode for this operator.
- Overrides:
- hashCode in class Object
getRepresentation
public ComplexSquareMatrix getRepresentation()
- Returns the representation.
isSelfAdjoint
public boolean isSelfAdjoint()
- Returns true if this operator is self-adjoint.
isUnitary
public boolean isUnitary()
- Returns true if this operator is unitary.
trace
public Complex trace()
- Returns the trace.
dimension
public int dimension()
- Returns the dimension.
All Packages Class Hierarchy This Package Previous Next Index