QasmQobjConfig

class QasmQobjConfig(shots=None, max_credits=None, seed_simulator=None, memory=None, parameter_binds=None, memory_slots=None, n_qubits=None, **kwargs)[source]

A configuration for a QASM Qobj.

Model for RunConfig.

Parameters
  • shots (int) – the number of shots.

  • max_credits (int) – the max_credits to use on the IBMQ public devices.

  • seed_simulator (int) – the seed to use in the simulator

  • memory (bool) – whether to request memory from backend (per-shot readouts)

  • parameter_binds (list[dict]) – List of parameter bindings

  • memory_slots (int) – The number of memory slots on the device

  • n_qubits (int) – The number of qubits on the device

  • kwargs – Additional free form key value fields to add to the configuration.

Methods

QasmQobjConfig.from_dict(data)

Create a new QasmQobjConfig object from a dictionary.

QasmQobjConfig.to_dict()

Return a dictionary format representation of the QASM Qobj config.