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

Track independent sets of squares in Quantum TicTacToe #30

Open
everthemore opened this issue Jun 11, 2022 · 1 comment
Open

Track independent sets of squares in Quantum TicTacToe #30

everthemore opened this issue Jun 11, 2022 · 1 comment

Comments

@everthemore
Copy link
Collaborator

Disjoint sets of entangled squares can use separate QuantumWorlds; when performing moves, involved squares can be added to new or existing QuantumWorlds. Then, for updating the board (visual representation), we only need to re-sample QuantumWorlds that changed due to the last move, saving resources.

Alternatively, this could be a feature we automatically keep track of in the QuantumWorld object (with a force re-sample option?)

@cognigami
Copy link
Collaborator

Live discussion:

  • Good performance hack, especially for those paying for access to quantum hardware by the gate.
  • However, needs more thought and design before moving forward:
    • In general, using the cache might not be want the user wants in all cases.
    • Need to figure out what the reasonable default should be, and weigh the complexity of adding this as an option.
    • Could also add query about which qubits are entangled.
  • Consider for v2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants