iqm.qubit_selector.qiskit_utils.get_circuit

Contents

iqm.qubit_selector.qiskit_utils.get_circuit#

iqm.qubit_selector.qiskit_utils.get_circuit(circuit_type, num_qubits)#

Create a quantum circuit of a given type.

Parameters:
  • circuit_type (CircuitType) – Type of the circuit to create.

  • num_qubits (int) – Number of qubits.

Returns:

Quantum circuit of a given type.

Raises:

ValueError – If the requested circuit type is not supported.

Return type:

QuantumCircuit