Circuit

public struct Circuit

A GeneticUseCase provides enough data to configure a circuit as well as the oracle gate inside the circuit. Circuit provides the data for the former

Public properties

  • 0’s and 1’s that set the values of the qubits before applying any quantum gate

    Declaration

    Swift

    public let input: String
  • 0’s and 1’s that specify the expected values of the qubits once the quantum gates are applied

    Declaration

    Swift

    public let output: String
  • Number of qubits in the circuit

    Declaration

    Swift

    public let qubitCount: Int