Quantum Annealing

D-Wave

5000-qubit quantum annealer for real-world optimization. Free developer access via Leap. The only quantum platform with a meaningful free tier for actual QPU hardware.

The pioneer of commercial quantum computing

D-Wave Systems was founded in 1999 in Burnaby, Canada, and delivered the world's first commercial quantum computer in 2011. While competitors spent years in research labs, D-Wave was already running customer workloads. The company invented quantum annealing as a commercial product and has continued to scale the technology, reaching over 5000 qubits in the Advantage system.

D-Wave's qubits are superconducting flux qubits arranged in a Pegasus graph topology, where each qubit connects to up to 15 neighbors. This dense connectivity is critical for solving optimization problems, because it determines how well real-world problem graphs can be embedded into the hardware. The annealing process starts all qubits in a superposition of 0 and 1, then slowly lowers a transverse magnetic field while raising the problem Hamiltonian. Quantum tunneling allows the system to escape local energy minima during the anneal, potentially finding better solutions than classical greedy algorithms.

The key practical advantage of D-Wave over gate-based quantum computers is scale and hybrid capability today. The LeapHybridSampler combines the 5000-qubit QPU with classical heuristic solvers, allowing it to handle optimization problems with millions of variables. No gate-based quantum computer is remotely close to this scale for practical problem-solving. For combinatorial optimization, D-Wave is the most production-ready quantum platform available.

System specs at a glance

Specification Value
Current systems Advantage (5000+ qubits), Advantage2 prototype (1200 qubits)
Qubit technology Superconducting flux qubits (quantum annealing, not gate-based)
Problem type Optimization: QUBO (Quadratic Unconstrained Binary Optimization) and Ising
Topology (Advantage) Pegasus graph, 15-way connectivity per qubit, 5000 variables
Anneal time 1-2000 microseconds per shot (adjustable)
Operating temperature 15 millikelvin
Hybrid solver scale Millions of variables (LeapHybridSampler, QPU + classical)
Cloud access D-Wave Leap (free tier), Amazon Braket
Primary SDK Ocean SDK (Python, open source)

Where D-Wave excels

Solve your first optimization problem on D-Wave

  1. Sign up for D-Wave Leap (free, no credit card)

    Go to cloud.dwavesys.com/leap and create a free account. You receive 1 minute of Advantage QPU time per month at no cost. No payment information required to start. Your free minute resets monthly.

  2. Install the Ocean SDK

    pip install dwave-ocean-sdk

    Ocean is D-Wave's open-source Python SDK. It provides tools for formulating QUBO and Ising problems, embedding them onto hardware, running samplers, and analyzing results. See the Ocean SDK reference for full API details.

  3. Configure your Leap API token

    dwave config create

    Run this command and enter your API token from the Leap dashboard. The Ocean SDK will save your credentials locally. All subsequent QPU calls will use this token automatically.

  4. Formulate and solve a simple QUBO

    import dimod
    from dwave.system import DWaveSampler, EmbeddingComposite
    
    # A simple 2-variable QUBO: minimize x0*x1 - x0 - x1
    Q = {(0, 0): -1, (1, 1): -1, (0, 1): 2}
    
    sampler = EmbeddingComposite(DWaveSampler())
    response = sampler.sample_qubo(Q, num_reads=100)
    
    print(response.first.sample)   # lowest energy solution
    print(response.first.energy)

    This submits a simple 2-variable QUBO to the Advantage QPU. The EmbeddingComposite automatically finds an embedding of your problem graph onto the Pegasus hardware topology. The result is the lowest-energy (best optimization) solution found across 100 annealing runs.

  5. Use the hybrid solver for large problems

    from dwave.system import LeapHybridSampler
    
    # Works with problems too large for direct QPU embedding
    sampler = LeapHybridSampler()
    response = sampler.sample_qubo(large_Q, time_limit=5)

    The LeapHybridSampler combines the QPU with classical heuristic solvers, enabling problems with millions of variables. This is D-Wave's most production-ready offering for real-world industry problems. Hybrid solver time is billed separately from QPU time in Leap.

  6. Use higher-level problem abstractions with dimod

    import dimod
    
    # Use a BinaryQuadraticModel for more readable formulation
    bqm = dimod.BinaryQuadraticModel('BINARY')
    bqm.add_variable('x0', -1.0)
    bqm.add_variable('x1', -1.0)
    bqm.add_interaction('x0', 'x1', 2.0)
    
    # Convert to QUBO and sample
    sampler = EmbeddingComposite(DWaveSampler())
    response = sampler.sample(bqm, num_reads=100)

    The dimod library provides BinaryQuadraticModel (BQM) as a high-level abstraction. You can add variables and interactions symbolically, then convert to QUBO or Ising automatically. This is much cleaner than writing raw Q matrices for larger problems.

Access costs

D-Wave Leap's free tier makes it the most accessible quantum hardware platform for developers. The free minute of QPU time per month is enough to run hundreds of small optimization problems and learn the full workflow without spending anything.

Quantum annealing vs. gate-based quantum computing

D-Wave's quantum annealer and gate-based systems like IBM Quantum or IonQ are fundamentally different technologies that solve different problem types. They are not interchangeable.

Gate-based quantum computers run quantum circuits, support universal quantum computation, and are the target for algorithms like Shor's factoring and Grover's search. They currently have low qubit counts (tens to a few hundred usable qubits) and require error correction for deep circuits. D-Wave cannot run these algorithms at all.

D-Wave's quantum annealer runs a physical optimization process and is purpose-built for QUBO and Ising problems. It has 5000+ qubits today, runs at 15 millikelvin, and can sample from complex energy landscapes faster than classical annealing for certain problem structures. The hybrid solvers extend this to industry-scale problems with millions of variables. D-Wave cannot run gate-based circuits or universal quantum algorithms.

For practical combinatorial optimization today, D-Wave's hybrid solvers are among the most competitive options in any computing paradigm, classical or quantum. If your goal is optimization, D-Wave is worth evaluating seriously alongside classical solvers like Gurobi.

Tutorials and reference docs