Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
MockIQParallelBackend.run¶
- MockIQParallelBackend.run(run_input, **run_options)[source]¶
 Run the IQ backend.
- Parameters:
 run_input (
List[QuantumCircuit]) – A list of QuantumCircuit for which the backend will generate data.**run_options –
Experiment running options. The options that are supported in this backend are meas_level, meas_return and shots:
meas_level: To generate data in the IQ plane, meas_level should be assigned 1 or
MeasLevel.KERNELED. If meas_level is 2 orMeasLevel.CLASSIFIED, the generated data will be in the form of counts.meas_return: This option will only take effect if meas_level =
MeasLevel.CLASSIFIED. It can get eitherMeasReturnType.AVERAGEorMeasReturnType.SINGLE. ForMeasReturnType.SINGLE, the data of each shot will be stored in the result. ForMeasReturnType.AVERAGE, an average of all the shots will be calculated and stored in the result.shots: The number of times the circuit will run.
- Returns:
 A job that contains the simulated data.
- Return type:
 FakeJob
- Raises:
 QiskitError – Raised if the user try to run the experiment without setting a helper.