qat.interop.qiskit.runtime.QiskitRuntimeQPU
- class qat.interop.qiskit.runtime.QiskitRuntimeQPU(backend: str, skip_transpilation: bool = False, service=None)
IBM Q-Experience QPU. This QPU uses IBM Runtime to execute quantum jobs. This QPU wraps both the
SamplerandEstimatorprimitives, which means that this QPU can measure: bothA list of qubits (i.e. sampling mode)
An observable (i.e. observable mode)
Warning
If a batch is composed of both sampling jobs and observable jobs, two requests will be sent to the Runtime server.
- Parameters:
backend_name (str) – Name of the IBM backend used to execute submitted jobs (e.g.
"ibmq_qasm_simulator").skip_transpilation (bool, optional) – Skip transpilation. If set to
True, Qiskit Runtime will not transpile circuits. Otherwise, circuits are transpiled by Qiskit Runtime. (Default isFalse)service (Runtime service, optional) – Service used to connect to IBM Runtime. Default:
QiskitRuntimeService().
- submit(batch: Batch, meta_data: dict = None) BatchResult
Executes a batch of jobs and returns the corresponding list of results.
- Parameters:
batch (
Batch) – A batch of jobs. If a single job is provided, the job is embedded into a Batch, executed, and the first result is returned.- Returns:
A batch result.
- Return type: