Skip to content

Full support for control flow in transpile #9417

@jakelishman

Description

@jakelishman

What should we add?

Over the course of the epic:

we added support for control-flow to the transpiler at optimisation levels 0 and 1. For full support, we need to bring the missing passes up-to-speed as well. This epic tracks the other components to achieve that.

For the purposes of this issue, we particularly need SabreSwap upgrading. For optimisation level 2, we need the optimisation passes CommutationAnalysis and CommutativeCancellation, and optimisation level 3 (and some less common transpiler options) make up the rest. We do not need to add support for control-flow to all of the scheduling passes right now, because Qiskit control-flow is only supported by IBM hardware at the moment, and scheduling this is handled by the IBM provider.

When these are updated, we should also make sure that the corresponding gated checks in the preset pass-manager constructors are corrected.

Sub-epics:

Tracked issues:

Low priority related issues - these should not be prioritised, and are not required for this epic:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions