Skip to content

Add ConsolidateBlocks to the C API #14447

@mtreinish

Description

@mtreinish

What should we add?

Right now the ConsolidateBlocks pass is written primarily in Rust but still has some dependency on Python. We need to have an implementation that doesn't rely on Python when being called from the C API and then add a standalone function to the C API as described in #14245 . The python dependency looks like it's around handling getting the unitary of custom python gates so we can strip that piece out when called from the C API to remove the python dependency.

Pre-requisites:

Development:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions