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

Allow some updates to "dynamic array" in adaptive profile #2072

Open
DmitryVasilevsky opened this issue Dec 19, 2024 · 1 comment
Open

Allow some updates to "dynamic array" in adaptive profile #2072

DmitryVasilevsky opened this issue Dec 19, 2024 · 1 comment
Labels
enhancement New feature or request needs triage

Comments

@DmitryVasilevsky
Copy link
Contributor

This page describes what we can do with dynamic arrays in adaptive profile.
https://github.com/microsoft/qsharp/wiki/QIR#use-of-dynamically-sized-array
Specifically the following example doesn't work.

Image

But replacing this array elements with individual variables works fine.

Image

Consider supporting this scenario as array size doesn't change here. It is useful to have arrays as a way to group qubits and other types into registers of statically known size. In fact, most array sizes are statically known.

@DmitryVasilevsky
Copy link
Contributor Author

Could be in this list: #1306

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

1 participant