This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Grover's Search Sudoku Sample (#695)
* Encode sudoku constraints into search space Greatly optimizes performace (See https://devblogs.microsoft.com/qsharp/analyzing-sudoku-solver-using-resources-estimation/) * Apply syntactic and documentation suggestions from code review Co-authored-by: Cassandra Granade <cgranade@gmail.com> * Fix issue in paramerization * Improve code readability * Improve examples to better reflect performance * Implement code comment suggestions from code review * Add warning for examples that are slow to complete * Fix documentation of Unit operation having Output * Remove redundant condition * Fix documentation issues for sudoku grover * Fix error introduced through code cleanup * Apply requested stylistic changes from PR * Implement change suggestions from PR * Apply comment suggestions from PR Co-authored-by: Cassandra Granade <cgranade@gmail.com> * Update comments to reflect new names Co-authored-by: Mariia Mykhailova <michaylova@gmail.com> * Improve documentation wording * Add subgrid constraints * Change `bool` to `var` Co-authored-by: Cassandra Granade <cgranade@gmail.com> Co-authored-by: Cassandra Granade <cgranade@gmail.com> Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
- Loading branch information
1 parent
3b14a5a
commit 7aa6881
Showing
4 changed files
with
201 additions
and
294 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
Oops, something went wrong.