You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But replacing this array elements with individual variables works fine.
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.
The text was updated successfully, but these errors were encountered:
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.
But replacing this array elements with individual variables works fine.
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.
The text was updated successfully, but these errors were encountered: