Package | Description |
---|---|
JSci.physics.quantum |
Modifier and Type | Method and Description |
---|---|
KetVector |
KetVector.add(KetVector v)
Returns the addition of this vector and another.
|
KetVector |
Operator.multiply(KetVector ket)
Returns the multiplication of this operator and a ket vector.
|
KetVector |
KetVector.subtract(KetVector v)
Returns the subtraction of this vector by another.
|
KetVector |
BraVector.toKetVector()
Map this bra vector to a ket vector.
|
Modifier and Type | Method and Description |
---|---|
KetVector |
KetVector.add(KetVector v)
Returns the addition of this vector and another.
|
static Complex |
QuantumMath.expectation(Operator op,
KetVector ket)
Returns the expectation value.
|
KetVector |
Operator.multiply(KetVector ket)
Returns the multiplication of this operator and a ket vector.
|
Complex |
BraVector.multiply(KetVector ket)
Returns the multiplication of this bra vector and a ket vector.
|
static Complex |
QuantumMath.probability(Projector p,
KetVector ket)
Returns the probability.
|
KetVector |
KetVector.subtract(KetVector v)
Returns the subtraction of this vector by another.
|
Constructor and Description |
---|
DensityMatrix(KetVector[] kets,
double[] probs)
Constructs a density matrix.
|
Projector(KetVector ket)
Constructs a projector from a ket vector.
|