Shortcuts

qiskit.qobj.PulseQobjConfig

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

A configuration for a Pulse Qobj.

Instantiate a PulseQobjConfig object.

매개변수
  • 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) – Time per program execution in sec. Must be from the list provided by the backend (backend.configuration().rep_times). Defaults to the first entry in backend.configuration().rep_times.

  • rep_delay (float) – Delay between programs in sec. Only supported on certain backends (backend.configuration().dynamic_reprate_enabled ). If supported, rep_delay will be used instead of rep_time and must be from the range supplied by the backend (backend.configuration().rep_delay_range). Default is backend.configuration().default_rep_delay.

  • 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

__init__(meas_level, meas_return, pulse_library, qubit_lo_freq, meas_lo_freq, memory_slot_size=None, rep_time=None, rep_delay=None, shots=None, max_credits=None, seed_simulator=None, memory_slots=None, **kwargs)[소스]

Instantiate a PulseQobjConfig object.

매개변수
  • 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) – Time per program execution in sec. Must be from the list provided by the backend (backend.configuration().rep_times). Defaults to the first entry in backend.configuration().rep_times.

  • rep_delay (float) – Delay between programs in sec. Only supported on certain backends (backend.configuration().dynamic_reprate_enabled ). If supported, rep_delay will be used instead of rep_time and must be from the range supplied by the backend (backend.configuration().rep_delay_range). Default is backend.configuration().default_rep_delay.

  • 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

__init__(meas_level, meas_return, …[, …])

Instantiate a PulseQobjConfig object.

from_dict(data)

Create a new PulseQobjConfig object from a dictionary.

to_dict()

Return a dictionary format representation of the Pulse Qobj config.

classmethod from_dict(data)[소스]

Create a new PulseQobjConfig object from a dictionary.

매개변수

data (dict) – A dictionary for the config

반환값

The object from the input dictionary.

반환 형식

PulseQobjConfig

to_dict()[소스]

Return a dictionary format representation of the Pulse Qobj config.

반환값

The dictionary form of the PulseQobjConfig.

반환 형식

dict

당신은 다음 언어로 문서를 보고 있다 lang: Korean
언어
English
Japanese
German
Korean