Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantum Chess: Undo broken if measurements occur #54

Open
dstrain115 opened this issue Dec 7, 2020 · 0 comments
Open

Quantum Chess: Undo broken if measurements occur #54

dstrain115 opened this issue Dec 7, 2020 · 0 comments
Assignees
Labels

Comments

@dstrain115
Copy link
Collaborator

undo moves plays the moves from the beginning of the game, but it ignores the post-selection criteria and measurement results. Also, it seems to return if a measurement is zero. This behavior is incorrect. If a measurement is supposed to be zero, and we measure one, we continue the board in an incorrect state. If the measurement is zero, then the undo stops and doesn't finish replaying the moves. Both are incorrect.

I have not yet written a unit test for this, so I have not verified exact behavior, but I am pretty sure it is broken.

@PawelPamula PawelPamula self-assigned this Jan 23, 2021
@losos0 losos0 transferred this issue from quantumlib/ReCirq Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants