DensityMatrixError
public enum DensityMatrixError : Error, HashableErrors throwed by Circuit.densityMatrix(withInitialState:)
- 
                  
                  Throwed if operatorthrowserrorDeclarationSwift case operatorThrowedError(operator: QuantumOperator, error: QuantumOperatorError)
- 
                  
                  Throwed when the resulting density matrix is not a valid: its eigenvalues do not add to one DeclarationSwift case resultingDensityMatrixEigenvaluesDoesNotAddUpToOne
- 
                  
                  Throwed when the resulting density matrix is not a valid: it is not hermitian DeclarationSwift case resultingDensityMatrixIsNotHermitian
- 
                  
                  Throwed when the resulting density matrix is not a valid: at least one of its eigenvalues is negative DeclarationSwift case resultingDensityMatrixWithNegativeEigenvalues
- 
                  
                  Throwed if it was not possible to get the eigenvalues for the resulting density matrix DeclarationSwift case unableToComputeResultingDensityMatrixEigenvalues
 DensityMatrixError Enumeration Reference
      DensityMatrixError Enumeration Reference