Skip to content

Pulse

Append

Bases: AppendTrait, PulseExpr

<append> ::= <expr>+

Pulse

Bases: PulseExpr

<pulse> ::= (<field name> <field>)+

show

show(**assignments)

Interactive visualization of the Pulse

Parameters:

Name Type Description Default
**assignments

assigning the instance value (literal) to the existing variables in the Pulse

{}
Source code in src/bloqade/ir/control/pulse.py
def show(self, **assignments):
    """
    Interactive visualization of the Pulse

    Args:
        **assignments: assigning the instance value (literal) to the
            existing variables in the Pulse

    """
    display_ir(self, assignments)

PulseExpr

Bases: HashTrait, CanonicalizeTrait

<expr> ::= <pulse>
  | <append>
  | <slice>
  | <named>