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

class MockIQParallelBackend(experiment_helper=None, rng_seed=0)[source]

A mock backend for testing parallel experiments with IQ data.

Initialize the backend.

Parameters:
  • experiment_helper (Optional[MockIQParallelExperimentHelper]) – Parallel experiment helper class that contains helper classes for each experiment.

  • rng_seed (int) – The random seed value.

Attributes

MockIQParallelBackend.coupling_map

Return the CouplingMap object

MockIQParallelBackend.dt

Return the system time resolution of input signals

MockIQParallelBackend.dtm

Return the system time resolution of output signals

MockIQParallelBackend.experiment_helper

return the 'experiment_helper' attribute

MockIQParallelBackend.instruction_durations

Return the InstructionDurations object.

MockIQParallelBackend.instruction_schedule_map

Return the InstructionScheduleMap for the instructions defined in this backend's target.

MockIQParallelBackend.instructions

A list of Instruction tuples on the backend of the form (instruction, (qubits)

MockIQParallelBackend.max_circuits

The maximum number of circuits (or Pulse schedules) that can be run in a single job.

MockIQParallelBackend.meas_map

Return the grouping of measurements which are multiplexed This is required to be implemented if the backend supports Pulse scheduling.

MockIQParallelBackend.num_qubits

Return the number of qubits the backend has.

MockIQParallelBackend.operation_names

A list of instruction names that the backend supports.

MockIQParallelBackend.operations

A list of Instruction instances that the backend supports.

MockIQParallelBackend.options

Return the options for the backend

MockIQParallelBackend.provider

Return the backend Provider.

MockIQParallelBackend.target

A qiskit.transpiler.Target object for the backend.

MockIQParallelBackend.version

Methods

MockIQParallelBackend.acquire_channel(qubit)

Return the acquisition channel for the given qubit.

MockIQParallelBackend.control_channel(qubits)

Return the secondary drive channel for the given qubit

MockIQParallelBackend.drive_channel(qubit)

Return the drive channel for the given qubit.

MockIQParallelBackend.measure_channel(qubit)

Return the measure stimulus channel for the given qubit.

MockIQParallelBackend.qubit_properties(qubit)

Return QubitProperties for a given qubit.

MockIQParallelBackend.run(run_input, ...)

Run the IQ backend.

MockIQParallelBackend.set_options(**fields)

Set the options fields for the backend