qiskit.pulse.transforms.flatten
flatten(program)
Flatten (inline) any called nodes into a Schedule tree with no nested children.
Parameters
program (Schedule
) – Pulse program to remove nested structure.
Return type
Returns
Flatten pulse program.
Raises
PulseError – When invalid data format is given.
Was this page helpful?
Report a bug or request content on GitHub.