Aaron Berdy
Aaron Berdy
Draft PR to demonstrate typing fix that removes IDE warning (`Expected type 'collections.Iterable', got 'Range' instead`) for autoqasm syntax `for _ in aq.range(n)` (where `aq.range(n)` gives an oqpy `Range` object)....
Includes the following bug fixes: * Annotations for variables declared as inputs are now correctly passed to the IODeclaration node * Duration array inputs no longer attempt to convert the...
The openqasm spec [references](https://openqasm.com/language/types.html#casting-from-float) NaN values for floats, but oqpy does not support them. To reproduce: ``` import math import oqpy from oqpy.base import to_ast program = oqpy.Program() float_var =...