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.

Variable Index

 o representation

Constructor Index

 o Operator(ComplexSquareMatrix)
Constructs an operator given a matrix representation.

Method Index

 o clone()
Creates a clone of this operator.
 o dimension()
Returns the dimension.
 o equals(Object)
Compares two operators for equality.
 o getRepresentation()
Returns the representation.
 o hashCode()
Returns a hashcode for this operator.
 o isSelfAdjoint()
Returns true if this operator is self-adjoint.
 o isUnitary()
Returns true if this operator is unitary.
 o toString()
Returns a string representing this operator.
 o trace()
Returns the trace.

Variables

 o representation
  protected ComplexSquareMatrix representation

Constructors

 o Operator
  public Operator(ComplexSquareMatrix rep)
Constructs an operator given a matrix representation.
Parameters:
rep - a matrix representation

Methods

 o equals
  public boolean equals(Object a)
Compares two operators for equality.
Parameters:
a - an operator
Overrides:
equals in class Object
 o clone
  public Object clone()
Creates a clone of this operator.
Returns:
a copy of this operator.
Overrides:
clone in class Object
 o toString
  public String toString()
Returns a string representing this operator.
Overrides:
toString in class Object
 o hashCode
  public int hashCode()
Returns a hashcode for this operator.
Overrides:
hashCode in class Object
 o getRepresentation
  public ComplexSquareMatrix getRepresentation()
Returns the representation.
 o isSelfAdjoint
  public boolean isSelfAdjoint()
Returns true if this operator is self-adjoint.
 o isUnitary
  public boolean isUnitary()
Returns true if this operator is unitary.
 o trace
  public Complex trace()
Returns the trace.
 o dimension
  public int dimension()
Returns the dimension.

All Packages  Class Hierarchy  This Package  Previous  Next  Index