All Projects → dwavesystems → dwave-cloud-client

dwavesystems / dwave-cloud-client

Licence: Apache-2.0 License
A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dwave-cloud-client

RustQIP
Quantum computing using rust. Efficient and a borrow-checked no cloning theorem!
Stars: ✭ 106 (+107.84%)
Mutual labels:  quantum-computing
qsel
Quantum programming language putting entanglement and superposition front and center
Stars: ✭ 37 (-27.45%)
Mutual labels:  quantum-computing
bloch sphere
Visualization tools for the qubit Bloch sphere
Stars: ✭ 46 (-9.8%)
Mutual labels:  quantum-computing
Quantum-Computer-Simulator-with-Algorithms
C++ simulator of quantum registers and quantum algorithms
Stars: ✭ 15 (-70.59%)
Mutual labels:  quantum-computing
ddsim
MQT DDSIM - A quantum circuit simulator based on decision diagrams written in C++
Stars: ✭ 45 (-11.76%)
Mutual labels:  quantum-computing
FastExpm.jl
Implementation of a fast exponential matrix for large matrices (full and sparse)
Stars: ✭ 22 (-56.86%)
Mutual labels:  quantum-computing
BetaVQE.jl
Solving Quantum Statistical Mechanics with Variational Autoregressive Networks and Quantum Circuits
Stars: ✭ 27 (-47.06%)
Mutual labels:  quantum-computing
dwave-system
An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers
Stars: ✭ 77 (+50.98%)
Mutual labels:  quantum-computing
YaoBlocks.jl
Standard basic quantum circuit simulator building blocks. (archived, for it is moved to Yao.jl)
Stars: ✭ 26 (-49.02%)
Mutual labels:  quantum-computing
dwave-hybrid
Hybrid Asynchronous Decomposition Sampler prototype framework.
Stars: ✭ 69 (+35.29%)
Mutual labels:  quantum-computing
Pulser
Library for pulse-level/analog control of neutral atom devices. Emulator with QuTiP.
Stars: ✭ 55 (+7.84%)
Mutual labels:  quantum-computing
sike-java
SIKE for Java is a software library that implements experimental supersingular isogeny cryptographic schemes that aim to provide protection against attackers running a large-scale quantum computer.
Stars: ✭ 28 (-45.1%)
Mutual labels:  quantum-computing
vein
🔮⚡️Vein is an open source high-level strictly-typed programming language with a standalone OS, arm and quantum computing support.
Stars: ✭ 31 (-39.22%)
Mutual labels:  quantum-computing
learning-quantum
Study resources for learning quantum computing
Stars: ✭ 51 (+0%)
Mutual labels:  quantum-computing
Quantum-Computing-UK-Repository
This repository contains all of the code found in the quantum computing tutorials at : https://quantumcomputinguk.org.
Stars: ✭ 52 (+1.96%)
Mutual labels:  quantum-computing
QuantumClifford.jl
Clifford circuits, graph states, and other quantum Stabilizer formalism tools.
Stars: ✭ 48 (-5.88%)
Mutual labels:  quantum-computing
learn-qc-with-python-and-qsharp
Companion code for Learn Quantum Computing with Python and Q# Book by Dr. Sarah Kaiser and Dr. Chris Granade 💖
Stars: ✭ 62 (+21.57%)
Mutual labels:  quantum-computing
launchpad
Resources to get started in Quantum Computing!
Stars: ✭ 21 (-58.82%)
Mutual labels:  quantum-computing
awesome-qsharp
A curated list of Q# code and resources.
Stars: ✭ 123 (+141.18%)
Mutual labels:  quantum-computing
QuantumPoker
Quantum Poker – a serious pedagogical tool to learn quantum computing that is fun to play
Stars: ✭ 16 (-68.63%)
Mutual labels:  quantum-computing
Latest version on PyPI Linux/MacOS build status Windows build status Coverage report Documentation Status

dwave-cloud-client

D-Wave Cloud Client is a minimal implementation of the REST interface used to communicate with D-Wave Sampler API (SAPI) servers.

SAPI is an application layer built to provide resource discovery, permissions, and scheduling for quantum annealing resources at D-Wave Systems. This package provides a minimal Python interface to that layer without compromising the quality of interactions and workflow.

The example below instantiates a D-Wave Cloud Client and solver based on the local system's auto-detected default configuration file and samples a random Ising problem tailored to fit the solver's graph.

import random
from dwave.cloud import Client

# Connect using the default or environment connection information
with Client.from_config() as client:

    # Load the default solver
    solver = client.get_solver()

    # Build a random Ising model to exactly fit the graph the solver supports
    linear = {index: random.choice([-1, 1]) for index in solver.nodes}
    quad = {key: random.choice([-1, 1]) for key in solver.undirected_edges}

    # Send the problem for sampling, include solver-specific parameter 'num_reads'
    computation = solver.sample_ising(linear, quad, num_reads=100)

    # Print the first sample out of a hundred
    print(computation.samples[0])

Installation

Requires Python 3.6+:

pip install dwave-cloud-client

To install from source (available on GitHub in dwavesystems/dwave-cloud-client repo):

pip install -r requirements.txt
python setup.py install

License

Released under the Apache License 2.0. See LICENSE file.

Contributing

Ocean's contributing guide has guidelines for contributing to Ocean packages.

Release Notes

D-Wave Cloud Client uses reno to manage its release notes.

When making a contribution to D-Wave Cloud Client that will affect users, create a new release note file by running

reno new your-short-descriptor-here

You can then edit the file created under releasenotes/notes/. Remove any sections not relevant to your changes. Commit the file along with your changes.

See reno's user guide for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].