-
Notifications
You must be signed in to change notification settings - Fork 154
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
New Solver for Sampling or Satisfaction #243
Comments
Definitions from the D-Wave Docs. |
The objective function is a minimization problem. Any given variable |
One solution is Grover's Algorithm. I was able to run Grover's algorithm on the D-wave machine. I'm not sure if this has been done before, but I am worried I still need a logical breakthrough for full convergence. In:
Out:
|
Hello, |
How do I include code blocks in the Leap Community forum? @djohnson-dwavesys |
Link to the problem in the community forum. |
Current Problem
Yes. I have a problem where I am struggling to find the right way to program my question to the quantum computer.
Proposed Solution
I have a 32-bit output generated from an unknown 4-bit binary input. For example:
IN:
abcd
OUT:
01234567
I need to ask the quantum computer: for a specific given output, for example,
76543210
, what was the input?Alternatives Considered
There are at least two ways to solve this problem. The first is with a sampling problem, where the quantum computer samples every possible arrangement of the 4-bit input until it arrives at the proper output. The second is as a constraint satisfaction problem, where the quantum computer samples 4-bit input arrangements to find the input that satisfies the output constraints.
Approach 1.
One problem with Approach 1 is the qubits need to each be a random sample that return a binary, Boolean, format. It would be great if the computer could solve the problem in parallel, where it could test
-1
,0
, and1
for each qubit simultaneously.Approach 2.
One issue with Approach 2 is adding logical constraints to the problem. The problem is purely mathematical, but a graph architecture may be the best way to solve it because there are clear output constraints.
Additional context
I am working on finding the right Python Documentation to solve this problem. I found the documentation on Stating the Problem and Reformulating the Problem. I will continue updating this feature request as I make progress toward the solution, a proper question for the quantum computer.
In the meantime, I would be grateful for any advice, suggestions or guidance; thank you!
The text was updated successfully, but these errors were encountered: