Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Solving Sudoku with Grover's Search #713

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

adrianleh
Copy link
Contributor

Adds AQ version of Grover's Search Sudoku Solver sample.
Contains the algorithm, full-state vs sparse simulator, resource estimation and running on hardware.

Current PR only includes Quantinuum version; once feedback is implemented, I will open another PR with the IonQ version.

Copy link
Contributor

@cgranade cgranade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't finished reviewing yet, but wanted to give an initial round of feedback as early as possible given tight timelines. Thanks!

samples/azure-quantum/grover-sudoku/README.md Outdated Show resolved Hide resolved
samples/azure-quantum/grover-sudoku/README.md Outdated Show resolved Hide resolved

In this sample we will be solving the classic puzzle Sudoku using Grover's search.

We will be basing our algorithm off the [official sample on GitHub](https://github.com/microsoft/Quantum/tree/main/samples/algorithms/sudoku-grover).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also an official sample on GitHub, such that this sentence is a bit confusing to read — it may be worth linking to that sample as a see also, or even retiring it in favor of this sample.

" The other however, has a search space size of 4, causing us to access the Oracle.\n",
"\n",
"**Please note that this sample makes use of paid services on Azure Quantum. \n",
"The cost of running this sample with the provided parameters on Quantinuum in a free trial subscription is approximately 360EHQC (equivalent to 1125$). \n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should double-check that this estimate is accurate and is phrased correctly; please double-check wording with PMs. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants