MainCircuitDensityMatrixFactory
public struct MainCircuitDensityMatrixFactory
extension MainCircuitDensityMatrixFactory: CircuitDensityMatrixFactory
Conforms CircuitDensityMatrixFactory
. Use to create new CircuitDensityMatrix
instances
-
Initialize a
MainCircuitDensityMatrixFactory
instanceDeclaration
Swift
public init()
-
Check
CircuitDensityMatrixFactory.makeDensityMatrix(matrix::)
Declaration
Swift
public func makeDensityMatrix(matrix: Matrix) -> Result<CircuitDensityMatrix, MakeDensityMatrixError>