Documentation of 'jsci.physics.quantum.DensityMatrix' Java class
DensityMatrix
jsci.physics.quantum

Class DensityMatrix

  • All Implemented Interfaces:
    java.io.Serializable, Member


    public final class DensityMatrix
    extends Operator
    The DensityMatrix class provides an object for encapsulating density matrices.
    See Also:
    Serialized Form
    • Constructor Detail

      • DensityMatrix

        public DensityMatrix(KetVector[] kets,
                             double[] probs)
        Constructs a density matrix.
        Parameters:
        kets - an array of ket vectors
        probs - the probabilities of being in the ket vector states.
      • DensityMatrix

        public DensityMatrix(Projector[] projs,
                             double[] probs)
        Constructs a density matrix.
        Parameters:
        projs - an array of projectors
        probs - the probabilities of being in the projector states.
    • Method Detail

      • isPureState

        public boolean isPureState()
        Returns true if this density matrix is a pure state.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.