forked from quil-lang/quilc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: copy-instance was not robust enough
This partially addresses one source of "nondeterminism" in quilc compilation (see quil-lang#676) that was due to a violation of referential transparency. Specifically, non destructive compilation was not non-destructive enough: compiling the same parsed-program instance twice did not successfuly copy measurement instances deeply, resulting in different outputs from compress-qubits, with downstream consequences.
- Loading branch information
1 parent
f7960d3
commit 77dd0d5
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters