Laminar Flow on D-Wave
I am a novice in quantum computing and tried to read documentation, but it barely helped me. Could you please help me?
I am trying to implement a solver on a D-Wave quantum computer for a 1-dimensional laminar flow. Now just trying to repeat the work done by N.Ray et al: https://arxiv.org/abs/1904.09033 (for a classical computer this problem is quite easy one).
Basically, pseudocode provided in the paper consists of following subroutines:
I already implemented most of the subroutines: 1), 2), 3), 6), and partly 4).
My code is (it is pretty simple) is here https://github.com/aiskhak/aiskhak.
a) I have problems with construct_qubo_matrix. To do it it is neccessary to use formula
I calculated v_i and w_i,j but I do not understand what to do next (how to put it in QC).
b) how to solve this problem on D-Wave - solve_qubo subroutine?
c) how to average output values using weighted_average?
I would be very happy to get your help.