Examples of using DWave quantum annealing system
First, you should download this repository and then follow the instructions below to install dependencies. Just choose a method you like.
After creating an environment with all dependencies installed, configure your dwave cloud client configuration file according to Configuring Access to D-Wave Solvers.
- Install Anaconda and set your preferred shell environment so that you can use the
conda
command. - Open your preferred shell and change the directory to the repository you downloaded.
- Use
conda env update --prune --file environment.yml
to create a new conda environment and install dependencies. (If you want to create a new dev conda environment, useconda env update --prune --file environment_dev.yml
)
- Make sure you have the appropriate version of the python interpreter in your system.
- Install poetry and set your preferred shell environment so that you can use the
poetry
command. - Open your preferred shell and change the directory to the repository you downloaded.
- Use
poetry install --no-dev
to install dependencies. (If you want to install dev dependencies, usepoetry install
)
- Make sure you have the appropriate version of the python interpreter and pip in your system.
- Open your preferred shell and change the directory to the repository you downloaded.
- Use
pip install -r requirement.txt
to install dependencies. (If you want to install dev dependencies, usepip install -r requirement_dev.txt
)
- Solve system of linear equations
- Solve Laplace's equation.
- Solve Poisson's equation.
- Solve inverse problem.
Caution
dwaveutils
and simpeg_ecosys
may frequently change the API in the near future, and the example may crash.
- ThreeQ.jl
- QuantumAnnealingInversion.jl
- D-Wave System Documentation
- D-Wave Ocean Software Documentation
- Souza, A. M., Cirto, L. J., Martins, E. O., Hollanda, N. L., Roditi, I., Correia, M. D., ... & Oliveira, I. S. (2020). An Application of Quantum Annealing Computing to Seismic Inversion. arXiv preprint arXiv:2005.02846.
- Rogers, M. L., & Singleton Jr, R. L. (2019). Floating-point calculations on a quantum annealer: Division and matrix inversion. arXiv preprint arXiv:1901.06526.
- Greer, S., & O’Malley, D. (2020). An approach to seismic inversion with quantum annealing. In SEG Technical Program Expanded Abstracts 2020 (pp. 2845-2849). Society of Exploration Geophysicists.