Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QASM3 stretch operation #13279

Closed
mtreinish opened this issue Oct 4, 2024 · 2 comments
Closed

Add QASM3 stretch operation #13279

mtreinish opened this issue Oct 4, 2024 · 2 comments
Assignees
Labels
mod: circuit Related to the core of the `QuantumCircuit` class or the circuit library mod: transpiler Issues and PRs related to Transpiler
Milestone

Comments

@mtreinish
Copy link
Member

mtreinish commented Oct 4, 2024

In OpenQASM 3 there is a concept of a timing stretch:

https://openqasm.com/language/delays.html#duration-and-stretch-types

that are like delays which can grow to account for other timing constraints. As we move to add more dynamic circuits where qiskit is unable to know the timing constraints around the evaluation and execution of a control flow block having a stretch will provide a useful tool for having scheduling passes that work in a dynamic circuit. We should add a new operation that models the concept of a stretch similar (if not exactly) as defined in openqasm3 that we can use for this purpose (we can split this out into a separate issue as needed).

@mtreinish mtreinish added this to the 2.0.0 milestone Oct 4, 2024
@mtreinish mtreinish added mod: transpiler Issues and PRs related to Transpiler mod: circuit Related to the core of the `QuantumCircuit` class or the circuit library labels Oct 4, 2024
@mtreinish
Copy link
Member Author

The other thing is this probably depends on #12966 as we'll want to add this new operation directly to rust like the existing Delay instruction. So this will depend on how we decided to add non-gate standard operations to rust.

@kevinhartman
Copy link
Contributor

Done in #13853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: circuit Related to the core of the `QuantumCircuit` class or the circuit library mod: transpiler Issues and PRs related to Transpiler
Projects
None yet
Development

No branches or pull requests

2 participants