[arrays]: Array outer dimension
requires array storage ordering definition
#451
Labels
clarify specification
Change text of spec, not (mainly) semantics of spec
enhance/change spec
Semantic changes to language, not clarification
What is the expected enhancement?
The OpenQASM3 Spec for Arrays contains the following statement:
https://openqasm.com/language/types.html#arrays
The reference to an array's
outer dimension
is ambiguous, because the current Spec does not define the storage ordering for Arrays. The memory contents of an array'souter dimension
is dependent on the array's storage ordering.Proposed remedy:
There are subtle implications when deciding the storage ordering for Arrays. The Row Major ordering provides optimization advantages to the compiler that are not available with Column Major ordering.
The text was updated successfully, but these errors were encountered: