MQT ProblemSolver
MQT ProblemSolver is a framework to utilize quantum computing as a technology for users with little to no quantum computing knowledge. All necessary quantum parts are embedded by domain experts while the interfaces provided are similar to the ones classical solver provide:
When provided with a problem description, MQT ProblemSolver offers a selection of implemented quantum algorithms. The user just has to chose one and all further (quantum) calculation steps are encapsulated within MQT ProblemSolver. After the calculation finished, the respective solution is returned - again in the same format as classical solvers use.
In the current implementation, two case studies are conducted:
- A SAT Problem: Constraint Satisfaction Problem
- A Graph-based Optimization Problem: Travelling Salesman Problem
A SAT Problem: Constraint Satisfaction Problem
This exemplary implementation can be found in the CSP_example.ipynb Jupyter notebook.
Here, the solution to a Kakuro riddle with a 2x2 grid can be solved for arbitrary sums s0 to s3:
MQT ProblemSolver will return valid values to a, b, c, and d if a solution exists.
A Graph-based Optimization Problem: Travelling Salesman Problem
This exemplary implementation can be found in the TSP_example.ipynb Jupyter notebook.
Here, the solution to a Travelling Salesman Problem with 4 cities can be solved for arbitrary distances dist_1_2 to dist_3_4between the cities.
MQT ProblemSolver will return the shortest path visiting all cities as a list.
Repository Structure
.
├── src
│ └── mqt
│ └── problemsolver
│ └── csp.py
│ └── csp_example.ipynb
│ └── tsp.py
│ └── tsp_example.ipynb
└── tests
└── ...
Metadata
Release files for mqt-problemsolver 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mqt.problemsolver-0.1.0.tar.gz | 615.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mqt.problemsolver-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 673.0 kB
Release files / mqt.problemsolver-0.1.0.tar.gz
| Download URL | mqt.problemsolver-0.1.0.tar.gz |
|---|---|
| Size | 615.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
303c3485ccf2fc91ff48c49933a76435c6bb1fbce6da95dd221c7dbff6ae8b0b
|
|
BLAKE2b-256 checksum How to use checksums |
9a6aa2828304f5982df63bd4017d7f1b1189f4111d38c2013a39a4cf60fa8821
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / mqt.problemsolver-0.1.0-py3-none-any.whl
| Download URL | mqt.problemsolver-0.1.0-py3-none-any.whl |
|---|---|
| Size | 57.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eacfdabcb3ef7ea970f1ce6ca1c5e004e43d47b37bc683381c68fb0704abc628
|
|
BLAKE2b-256 checksum How to use checksums |
770f4c7e66424980b04663beec082ac27e7d3e7fb5bfc3a08851537bb872df48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|