CircuitStatevector
public protocol CircuitStatevector : CircuitProbabilities
A quantum circuit state
-
densityMatrix()
Extension methodTransforms the circuit state into an equivalent
CircuitDensityMatrix
instance.Declaration
Swift
public func densityMatrix() -> CircuitDensityMatrix
Return Value
A
CircuitDensityMatrix
instance.