PulseParameters

class PulseParameters(n_qubits=0, electron=<factory>, electron_branches=None, nuclei=<factory>, device=<factory>, n_dds=4)

Every physical number a pulse backend reads, for one device and gate set.

Times and frequencies are in the units of the backend the parameters are for: microseconds and MHz for SimphonyBackend, seconds and Hz for XeedQBackend. A frequency is always in the reciprocal of the time unit.

Variables:
  • n_qubits – Number of qubits the device has, the electron included.

  • electron_branches – The two electron states the nuclear transitions are conditioned on, as (branch0, branch1).

  • electron – The electron’s own drive.

  • nuclei – Per-qubit nuclear parameters, keyed by qubit index. In a star topology a qubit and its edge to the electron are the same thing, so one entry serves both the nucleus’s own rotation and its entangler.

  • device – What the instrument contributes, in its backend’s own subclass of DeviceParameters.

  • n_dds – Number of dynamical-decoupling pi pulses per DDRF sequence. A choice, not a measurement.

Methods

validate_for(pulse_templates)

Check that every field the given pulse templates consume is filled.