How does my problem get processed in a quantum computer?
I have looked at some of the Leap demos and have perused over the open source code. Just to keep things organized in my head, could someone please give me a high level overview on what is happening? How does my problem get processed on the quantum computer? What are the general steps to programming my problem onto the QPU?
Comments
General concept: When we measure qubits, they will tend to orient themselves so that the overall system will be at its lowest energy state. This is something that happens naturally. So the main idea here is to set up the system so that it corresponds to the problem that we are interested in, so that the measured state of the qubits in this system will correspond to the solution to our problem. In other words, convert our problem into an minimization problem, that way, the state of the qubits will be the solution to this problem.
General steps that occur when programming on a quantum processor:
Note on Step 1: If you can express your problem as a constraint satisfaction problem (CSP), there are functions in the Ocean toolkit (specifically, `dwavebinarycsp`) that will transform your CSP into a Ising or QUBO problem. That is, the Ocean toolkit will take your CSP and return the necessary coefficients (h and J variables) to Ising/QUBO equation (see equation below). This equation will later get fed into the quantum processor, which would provide the s variables that correspond to low energies.
Another note on Step 1: Ising and QUBO problems fall under the umbrella of a more general term, Binary Quadratic Models (BQM). The term BQM will come up a lot in the code, but it is just a general term referring to Ising and QUBO problems.
Note on Step 2: When the problem gets put into the quantum processor, the problem is said to be embedded into the processor. Embedding is particularly interesting, so I will briefly describe it here as well.
Additional information can be found on https://docs.ocean.dwavesys.com/en/latest/overview/solving_problems.html
Please sign in to leave a comment.