SingleQubitGateDecomposition

public enum SingleQubitGateDecomposition

Define further decomposition of single qubits gates performed by TwoLevelDecompositionSolver.decomposeGate(:restrictedToCircuitQubitCount:)

  • Fully controlled two-level matrix gates are not further decomposed

    Declaration

    Swift

    case none
  • Fully controlled two-level matrix gates are decomposed using Cosine-Sine algorithm so the resulting sequence will be composed of not gates and fully controlled phase shifts, z-rotations, y-rotations & not gates

    Declaration

    Swift

    case cosineSine