Structures
The following structures are available globally.
-
Continued Fractions can be used to find an approximation to a given
See moreRational
numberDeclaration
Swift
public struct ContinuedFractionsSolver
-
Euclidean algorithm is a method for computing the Greatest Common Divisor of two numbers
See moreDeclaration
Swift
public struct EuclideanSolver
-
A quantum gate used on genetic programming: Controlled
See moreDeclaration
-
A quantum gate used on genetic programming: Hadamard
See moreDeclaration
-
A quantum gate used on genetic programming: Matrix
See moreDeclaration
-
A quantum gate used on genetic programming: Not
See moreDeclaration
-
A quantum gate used on genetic programming: Oracle
See moreDeclaration
-
A quantum gate used on genetic programming: PhaseShift
See moreDeclaration
-
A quantum gate used on genetic programming: Rotation
See moreDeclaration
-
Configuration of a genetic algorithm to evolve a quantum circuit
See moreDeclaration
Swift
public struct GeneticConfiguration
-
A genetic algorithm looks for a quantum circuit that includes a
See moreGate.oracle(truthTable:target:controls:)
and solves a list ofGeneticUseCase
instances. EachGeneticUseCase
defines the expectedoutput
for the circuit when its qubits are set to a giveninput
and the oracle gate is initialized with a particulartruthTable
Declaration
Swift
public struct GeneticUseCase
-
Undocumented
See moreDeclaration
-
Conforms
See moreTwoLevelDecompositionSolverFactory
. Use to create newTwoLevelDecompositionSolver
instancesDeclaration
Swift
public struct MainTwoLevelDecompositionSolverFactory
extension MainTwoLevelDecompositionSolverFactory: TwoLevelDecompositionSolverFactory
-
Conforms
See moreXorGaussianEliminationSolverFactory
. Use to create newXorGaussianEliminationSolver
instancesDeclaration
Swift
public struct MainXorGaussianEliminationSolverFactory
extension MainXorGaussianEliminationSolverFactory: XorGaussianEliminationSolverFactory
-
Conforms
See moreCircuitDensityMatrixFactory
. Use to create newCircuitDensityMatrix
instancesDeclaration
Swift
public struct MainCircuitDensityMatrixFactory
extension MainCircuitDensityMatrixFactory: CircuitDensityMatrixFactory
-
Conforms
See moreCircuitFactory
. Use to create newCircuit
instancesDeclaration
-
Conforms
See moreNoiseCircuitFactory
. Use to create newNoiseCircuit
instancesDeclaration
-
Conforms
See moreCircuitStatevectorFactory
. Use to create newCircuitStatevector
instancesDeclaration
Swift
public struct MainCircuitStatevectorFactory
extension MainCircuitStatevectorFactory: CircuitStatevectorFactory
-
Swift representation of a complex 2-dimensional matrix
See moreDeclaration
Swift
public struct Matrix
extension Matrix: CustomStringConvertible
extension Matrix: Hashable
extension Matrix: Sequence
-
Swift representation of a complex “column” vector
See moreDeclaration
Swift
public struct Vector
extension Vector: CustomStringConvertible
extension Vector: Hashable
extension Vector: Sequence
-
A generic quantum gate
See moreDeclaration
Swift
public struct Gate
extension Gate: QuantumOperatorConvertible
extension Gate: SimplifiedQuantumOperatorConvertible
extension Gate: SimplifiedGateConvertible
extension Gate: Hashable
-
Undocumented
See moreDeclaration
-
Swift representation of a rational number
See moreDeclaration
Swift
public struct Rational
extension Rational: CustomStringConvertible
extension Rational: Hashable
-
A generic quantum noise operator
See moreDeclaration
Swift
public struct Noise
extension Noise: QuantumOperatorConvertible
extension Noise: SimplifiedQuantumOperatorConvertible
extension Noise: SimplifiedNoiseConvertible
extension Noise: Hashable
-
A generic quantum operator
See moreDeclaration
Swift
public struct QuantumOperator
extension QuantumOperator: SimplifiedQuantumOperatorConvertible
extension QuantumOperator: Hashable