01: package JSci.physics.quantum;
02:
03: /**
04: * The Projector class provides an object for encapsulating projection operators.
05: * @version 1.5
06: * @author Mark Hale
07: */
08: public class Projector extends Operator {
09: /**
10: * Constructs a projector from a ket vector.
11: * @param ket a ket vector
12: */
13: public Projector(KetVector ket) {
14: super(ket.multiply(ket.toBraVector()).getRepresentation());
15: }
16: }
|