Skip to main content
IBM Quantum Platform

qiskit_noise_learning.noise_learner.ProgramExecutor

class qiskit_noise_learning.noise_learner.ProgramExecutor(*args, **kwargs)

GitHub

Bases: Protocol

The executor role that NoiseLearner submits programs to.

Only run() is required, so both Executor and the Aer executor qualify without either declaring conformance.

Note

This protocol, and the executor argument of NoiseLearner that consumes it, are provisional. They exist so that a learning experiment can be run against a locally simulated executor, and this setup is expected to eventually change.

__init__

__init__(*args, **kwargs)


Methods

Column 1
Column 2
__init__(*args, **kwargs)
run(program)Submit a program for execution.

run

run(program: QuantumProgram) → ProgramJob

Submit a program for execution.

Parameters

program – The quantum program to submit.

Returns

A job carrying the program’s result.

Was this page helpful?
Report a bug, typo, or request content on GitHub.