qiskit_quantuminspire.hybrid package¶
Submodules¶
qiskit_quantuminspire.hybrid.hybrid_backend module¶
- class qiskit_quantuminspire.hybrid.hybrid_backend.QIHybridBackend(qi: QuantumInterface, **kwargs: Any)[source]¶
Bases:
QIBaseBackendUsed as a Qiskit backend for hybrid algorithms that are fully executed on the Quantum Inspire platform.
Quantum hardware specifications are inferred from the backend type selected on submission.
- run(run_input: QuantumCircuit | List[QuantumCircuit], **options: Any) QIHybridJob[source]¶
Run on the backend.
This method returns a
Jobobject that runs circuits. Depending on the backend this may be either an async or sync call. It is at the discretion of the provider to decide whether running should block until the execution is finished or not: the Job class can handle either situation.- Parameters:
run_input (QuantumCircuit or list) – An individual or a list of
QuantumCircuitobjects to run on the backend.options – Any kwarg options to pass to the backend for running the config. If a key is also present in the options attribute/object then the expectation is that the value specified will be used instead of what’s set in the options object.
- Returns:
The job object for the run
- Return type:
Job
qiskit_quantuminspire.hybrid.hybrid_job module¶
- class qiskit_quantuminspire.hybrid.hybrid_job.QIHybridJob(run_input: QuantumCircuit | List[QuantumCircuit], backend: BackendV2 | None, quantum_interface: QuantumInterface, **kwargs: Any)[source]¶
Bases:
QIBaseJobUsed internally as a Qiskit job for hybrid algorithms that are fully executed on the Quantum Inspire platform.
Not to be used in user code.