Valter Uotila & Sardana Ivanova
30.11.2021
Position $n$ sensors onto a car's surface so that
Metaheuristic and quantum computing paradigm to find solutions to discrete and combinatorically difficult minimization problems.
Shortly, we created an objective function which consists of linear and quadratic terms, their weights and a constant term.
In our model, binary variables are
where point $(x_1, x_2, x_3)$ is on the surface of a car, point $(y_1, y_2, y_3)$ is in the environment and id $i$ refers to a sensor.
Initializing the binary variables requires sampling points from the car's surface.
Initializing the binary variables requires sampling points from the environment.
Constraints are translated into objective functions and summed together.
Implemented with D-wave's Ocean software and computed on D-wave's hybrid quantum computer.
Implementation is available in Github as Jupyter notebook .
energy num_oc.
0.000002 1
['BINARY', 1 rows, 1 samples, 2412 variables]
Possible sensor positions in the space
(point on car, point in environment, sensor id):
((-3620, 650, 1600.0), (-8133, -6081, -3860), 5) 1
((-3422, -1000, 500), (-2916, -2733, 536), 1) 1
((-2820, 650, 1600.0), (-5278, -2218, 4876), 2) 1
((-2820, 650, 1600.0), (-1793, -3936, 265), 2) 1
((-2422, 1000, 500), (-4954, 1000, 317), 2) 1
((-2422, 1000, 500), (-3688, -3331, 408), 2) 1
((-400, 0, 1057.0), (-1033, 3484, -7601), 5) 1
7
Number of variables | Time on laptop | Hybrid time in cloud | Quantum computing time |
---|---|---|---|
2412 | 5min 6s | 6.145s | 0.036s |
4956 | 18min 11s | 14.288s | 0.036s |
The total running time was dominated by the running time on the local machine.
Developing the implementation