>>> graph.signals.gaussian_pulse_pwc(
... duration=3.0,
... segment_count=100,
... amplitude=1.0,
... width=0.2,
... center_time=1.5,
... drag=0.1,
... flat_duration=0.2,
... segmentation="MINIMAL",
... name="gaussian_drag",
... )
<Pwc: name="gaussian_drag", operation_name="time_concatenate_pwc", value_shape=(), batch_shape=()>
>>> result = qctrl.functions.calculate_graph(graph=graph, output_node_names=["gaussian_drag"])
>>> result.output["gaussian_drag"]
[
{'duration': 0.0285, 'value': (3.7655e-11+1.3044e-10j)},
{'duration': 0.0285, 'value': (1.0028e-10+3.4026e-10j)},
...
{'duration': 0.0285, 'value': (1.0028e-10-3.4026e-10j)},
{'duration': 0.0285, 'value': (3.7655e-11-1.3044e-10j)}
]