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
PyProgramError: error while parsing: at line 1, column 1 (COMMAND(DEFCIRCUIT)): failed to parse arguments for DEFCIRCUIT
According to the the Quil spec a DEFCIRCUIT should support numeric qubit identifiers in this context. Labels are supported, but in this instance we're trying to define a circuit that is equivalent to a DEFCAL on specific qubits.
The following version works but would allow use on sites other than (1, 2, 4, 5):
Pre-Report Checklist
Issue Description
The following
pyquil
program parses OK:However, the following variant does not parse:
The error is:
According to the the Quil spec a DEFCIRCUIT should support numeric qubit identifiers in this context. Labels are supported, but in this instance we're trying to define a circuit that is equivalent to a DEFCAL on specific qubits.
The following version works but would allow use on sites other than (1, 2, 4, 5):
Environment Context
Operating System: Ubuntu LTS 20.04.3
Python Version (
python -V
): 3.10.12Quilc Version (
quilc --version
): 1.26.0 (docker)QVM Version (
qvm --version
): Latest (docker)PyQuil version: 4.6.2
The text was updated successfully, but these errors were encountered: