Generator#

class Generator(root: NodeTree, tree: tuple, serial: str, index: int, max_qubits_per_channel: int, device_type: str, device_options: str)[source]#

Bases: AWG

Generator node.

Implements basic functionality of the generator allowing the user to write and upload their ‘.seqC’ code.

In contrast to other AWG Sequencers, e.g. from the HDAWG, SHFSG it does not provide writing access to the Waveform Memories and hence does not come with predefined waveforms such as gauss or ones. Therefore, all waveforms need to be defined in Python and uploaded to the device using upload_waveforms method.

Parameters:
  • root (NodeTree) – Root of the nodetree

  • tree (tuple) – Tree (node path as tuple) of the current node

  • daq_server – Instance of the ziDAQServer

  • serial (str) – Serial of the device.

  • index (int) – Index of the corresponding awg channel

  • max_qubits_per_channel (int) – Max qubits per channel

  • device_type (str) –

  • device_options (str) –

Methods

configure_sequencer_triggering(*, aux_trigger)

Configure the sequencer triggering.

read_from_waveform_memory([slots])

Read pulses from the waveform memory.

write_to_waveform_memory(pulses, *[, ...])

Writes pulses to the waveform memory.

Attributes

available_aux_trigger_inputs

List of available aux trigger sources for the generator.