Description Usage Arguments Examples
The Traveling Salesman Problem (TSP) is a combination of a set of cities and a distance between each two cities to find the one with the smallest total distance traveled by a tour traveling around all cities just once and returning to the departure place It is an optimization problem. This problem belongs to the class of NP difficulties in computational complexity theory.
Quantum annealing is a metaheuristic for finding the global minimum of a given objective function over a given set of candidate solutions, by a process using quantum fluctuations.
The qatsp package simulates quantum annealing in the R language and can approximate the traveling salesman problem. Quantum Monte Carlo method is used for simulation of quantum annealing.
1 |
x, y |
The x, y coordinates of the city the salesman visits. |
beta |
Inverse Temperature. |
trotter |
Trotta dimension. Trotter dimension is added by mapping from quantum model to classic model. |
ann_para |
Initial value of annealing parameter. |
ann_step |
Annealing step. |
mc_step |
Monte Carlo step. |
reduc |
An attenuation factor of the annealing parameter |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.