Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version.

qiskit.pulse.transforms.flatten

flatten(program)

GitHub

Flatten (inline) any called nodes into a Schedule tree with no nested children.

Parameters

program (Schedule) – Pulse program to remove nested structure.

Return type

Schedule

Returns

Flatten pulse program.

Raises

PulseError – When invalid data format is given.

Was this page helpful?
Report a bug or request content on GitHub.