Skip to content

Commit

Permalink
Add magic square game (#7109)
Browse files Browse the repository at this point in the history
* Add magic square game

* fix test function name

* lint

* coverage

* nits from viathor

* nits from Nour

* add copyright notice
  • Loading branch information
eliottrosenberg authored Mar 3, 2025
1 parent 6ff3d66 commit 3b9eceb
Show file tree
Hide file tree
Showing 3 changed files with 524 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Here is a summary of the examples found in this directory:
by Harrow, Hassidim, and Lloyd.
* [`hidden_shift_algorithm.py`](hidden_shift_algorithm.py):
demonstration of a Hidden Shift algorithm.
* [`magic_square.py`](magic_square.py):
demonstration of the Mermin-Peres magic square game.
* [`noisy_simulation_example.py`](noisy_simulation_example.py): example
of a noisy circuit using the `cirq.ConstantQubitNoiseModel` class.
* [`phase_estimator.py`](phase_estimator.py): example of a phase
Expand Down
Loading

0 comments on commit 3b9eceb

Please sign in to comment.