MainTwoLevelDecompositionSolverFactory
public struct MainTwoLevelDecompositionSolverFactory
extension MainTwoLevelDecompositionSolverFactory: TwoLevelDecompositionSolverFactory
Conforms TwoLevelDecompositionSolverFactory
. Use to create new TwoLevelDecompositionSolver
instances
-
Define further decomposition of single qubits gates performed by
See moreTwoLevelDecompositionSolver.decomposeGate(:restrictedToCircuitQubitCount:)
Declaration
Swift
public enum SingleQubitGateDecomposition
-
Initialize a
MainTwoLevelDecompositionSolverFactory
instanceDeclaration
Swift
public init(singleQubitGateDecomposition: SingleQubitGateDecomposition = .cosineSine)
-
Declaration
Swift
public func makeSolver() -> TwoLevelDecompositionSolver