PulseQobjConfig

class PulseQobjConfig(meas_level, meas_return, pulse_library, qubit_lo_freq, meas_lo_freq, memory_slot_size=None, rep_time=None, shots=None, max_credits=None, seed_simulator=None, memory_slots=None, **kwargs)[source]

A configuration for a Pulse Qobj.

Instantiate a PulseQobjConfig object.

Parameters
  • meas_level (int) – The measurement level to use.

  • meas_return (int) – The level of measurement information to return.

  • pulse_library (list) – A list of PulseLibraryItem objects which define the set of primative pulses

  • qubit_lo_freq (list) – List of frequencies (as floats) for the qubit driver LO’s in GHz.

  • meas_lo_freq (list) – List of frequencies (as floats) for the’ measurement driver LO’s in GHz.

  • memory_slot_size (int) – Size of each memory slot if the output is Level 0.

  • rep_time (int) – Repetition time of the experiment in μs

  • 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_slots (list) – The number of memory slots on the device

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

Methods

PulseQobjConfig.from_dict(data)

Create a new PulseQobjConfig object from a dictionary.

PulseQobjConfig.to_dict()

Return a dictionary format representation of the Pulse Qobj config.