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
The trinary-classical-instruction method specialization of instantiate-instruction is essentially unusable (and untested) except as a pass-through. Specifically, the typing system in Quil is too awkward to allow for programs like
DECLARE values INT[80]
DEFCIRCUIT STORE-CIRCUIT a b c:
STORE a b c
STORE-CIRCUIT values 20 values[10]
where it freaks out about passing the naked value 20 in as an argument (and probably parses the first argument values as the reference values[0] rather than as the region name).
The text was updated successfully, but these errors were encountered:
ecpeterson
changed the title
Circuit arguments don't include classical argument types
Circuit arguments don't include all possible classical argument types
Jan 18, 2019
The
trinary-classical-instruction
method specialization ofinstantiate-instruction
is essentially unusable (and untested) except as a pass-through. Specifically, the typing system in Quil is too awkward to allow for programs likewhere it freaks out about passing the naked value
20
in as an argument (and probably parses the first argumentvalues
as the referencevalues[0]
rather than as the region name).The text was updated successfully, but these errors were encountered: