kosmos.partitioning.mqt_bench.bench_circuit

Classes

class MQTBenchCircuit(circuit_type: str, num_qubits: int)

Loader for benchmarking circuits from MQT Bench.

Initialize the benchmarking circuit loader.

Parameters:
  • circuit_type (str) – Type of circuit to load (e.g., “qft”, “dj”).

  • num_qubits (int) – Number of qubits in the desired circuit.


Properties

property num_gates

Total number of gates in the circuit without barriers.

property depth

Circuit depth.


Methods

circuit() qiskit.QuantumCircuit

Get the quantum circuit (lazy loading).

Returns:

The loaded circuit.

Return type:

QuantumCircuit