Closed bramathon closed 7 months ago
Thanks for the report and the script to reproduce.
@bramathon How useful is adding an instruction to a program by specifying it as a tuple? The way this needs to be implemented is fragile, and for stability/maintainability I think it'd be much better to deprecate this feature in favor of making users construct the instruction class they need.
I was able to move past it by using the Gate constructor. So I think it's fine.
On Thu, Dec 14, 2023, 18:00 Marquess Valdez @.***> wrote:
@bramathon https://github.com/bramathon How useful is adding an instruction to a program by specifying it as a tuple? The way this needs to be implemented is fragile, and for stability/maintainability I think it'd be much better to deprecate this feature in favor of making users construct the instruction class they need.
— Reply to this email directly, view it on GitHub https://github.com/rigetti/pyquil/issues/1700#issuecomment-1856334046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEWA7WJGGL7W6KTG3TYWSDYJM5DLAVCNFSM6AAAAAA7ZURTGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJWGMZTIMBUGY . You are receiving this because you were mentioned.Message ID: @.***>
In pyquil 3, this worked as expected, but in pyquil 4.1.1,
fails with the following error