Ai4
Physical quantum annealers deliver orders-of-magnitude speedups over classical GPU clusters by natively executing discrete Boltzmann sampling at the latent layer of generative models.
AI-assisted summary of Introduction to Quantum Annealers in Optimization and Machine Learning With D-Wave — original source. Check the original for full context.
Source published:
Detailed notes
## Background Published on YouTube by the Ai4 channel on August 28, 2025, this presentation features Kevin Chern, Senior Benchmarking Researcher at D-Wave. The talk introduces the principles of quantum annealing on multi-thousand-qubit architectures and highlights its real-world benchmarking benefits across NP-hard combinatorial optimization and generative machine learning.
## TL;DR Chern explains how D-Wave quantum annealers optimize energy landscapes to solve binary combinatorial problems represented as Ising and QUBO models, demonstrating multi-order-of-magnitude speedups over classical baselines and GPU simulations. He shows how quantum annealers natively serve as rapid physical Boltzmann samplers to accelerate training in generative energy-based models. Finally, he presents hybrid architectures like Quantum Variational Autoencoders (QVAEs), highlighting a real-world drug discovery implementation with Japan Tobacco that enhances molecular generation through expressive discrete latent spaces.
## Atmosphere & style The presentation carries a charmingly self-deprecating and approachable tone, effortlessly translating intimidating physics equations into relatable machine learning intuitions. Chern keeps the mood lighthearted with witty asides about his introverted personality and references to Geoffrey Hinton, culminating in a candid audience selfie to commemorate overcoming stage fright. It feels like an engaging, unpretentious masterclass that demystifies cutting-edge quantum hardware for a practical data science audience.
## Key takeaways - [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) D-Wave's quantum annealers are purpose-built to solve NP-hard combinatorial optimization, discrete optimization problems, and complex quantum simulations. - [02:42](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=162s) Quantum annealing finds global minimum energy states by evolving a baseline Hamiltonian into a target binary optimization landscape, natively matching Ising models in physics and QUBO in computer science. - [02:42](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=162s) D-Wave hardware architectures have scaled from minimal multi-qubit prototypes up to production quantum processors with over 4,400 interconnected programmable qubits. - [06:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=374s) On benchmarked hard optimization problems, quantum annealers can deliver at least a two-order-of-magnitude speedup compared to classical computing baselines. - [06:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=374s) Discrete combinatorial problems such as graph matching and the Traveling Salesperson Problem (TSP) naturally map to quadratic unconstrained binary representations. - [08:52](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=532s) Beyond deterministic optimization, quantum annealers act as native physical Boltzmann samplers, accelerating the gradient estimation needed to train generative machine learning models. - [11:07](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=667s) Simulating large quantum systems on classical GPU clusters scales into millions of years, while physical QPUs provide more than an order of magnitude speedup over classical MCMC sampling. - [11:54](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=714s) Quantum Variational Autoencoders (QVAEs) bridge continuous data with quantum hardware by using the quantum annealer to optimize and sample within a discrete binary bottleneck layer. - [13:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=794s) In practical drug discovery applications, Japan Tobacco used QVAEs to optimize molecular generation, achieving improved chemical property distributions and QED drug-likeness scores. - [13:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=794s) While classical planar graph latent spaces allow simple closed-form sampling, the high connectivity of quantum annealer topologies provides the expressivity needed for complex generative distributions.
## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) Introduction and the Role of D-Wave in Quantum Computing
Kevin Chern opens his presentation with a self-deprecating shout-out to his colleague Emma for designing the title slide—jokingly calling it "the most beautiful slide of the entire deck." D-Wave is a quantum computing company focused on building practical quantum hardware. He points out a slide showing D-Wave's massive cryogenic dilution refrigerator, humorously contrasting the giant outer enclosure ("larger than me") with the actual physical quantum processor chip housed inside ("smaller than me"). D-Wave's hardware tackles NP-hard combinatorial optimization, discrete optimization problems, and quantum simulations—allowing researchers to simulate complex quantum systems even if the target system does not match the physical layout of the processor exactly.
```mermaid flowchart TD accTitle: D-Wave Quantum Computing Workflow subgraph Input ["Problem Formulation"] A["Combinatorial Optimization / Discrete Problems"] B["Quantum Simulations / Generative ML"] end
subgraph Hardware ["D-Wave Quantum Annealer"] C["Cryogenic Dilution Refrigerator"] D["Superconducting Qubit Processor"] end
subgraph Output ["Execution & Results"] E["Ising / QUBO Energy Minimization"] F["Boltzmann Sampling Distributions"] end
A --> C B --> C C --> D D --> E D --> F ```
Chern introduces himself as a Senior Benchmarking Researcher at D-Wave, where he has worked for about four years developing and benchmarking quantum-classical hybrid algorithms. Most of his day-to-day work involves sitting at a desk formulating real-world computational challenges into representations compatible with quantum annealers. After completing his undergraduate and graduate degrees at the University of British Columbia (UBC), he jokes that as a quiet Vancouver native who doesn't go out much, if he starts "stuttering like a little language model," the audience will understand why. Framing the presentation playfully as an "unskippable ad," his real goal is to inspire attendees to explore the powerful intersection of quantum annealers, combinatorial optimization, and generative modeling.
- **Role at D-Wave:** Benchmarking researcher designing hybrid quantum-classical algorithms. - **Academic Background:** Undergrad and graduate studies at the University of British Columbia (UBC). - **Core Hardware Capabilities:** Discrete optimization, quantum simulation, and generative machine learning.
---
[02:42](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=162s) Quantum Annealing Mechanics and Binary Optimization (Ising & QUBO)
A quantum annealer is a physical computing device designed to perform quantum annealing—a process modeled around energy landscape optimization. In a typical optimization landscape with complex, ragged valleys, the objective is to locate the global minimum. Quantum annealing accomplishes this by initializing the system in an easily solvable baseline state (where finding the minimum is trivial) and then slowly transitioning the Hamiltonian toward the target problem landscape. Under suitable conditions, physical and mathematical theorems guarantee that the system will evolve and settle directly into the global optimum state.
```mermaid flowchart LR accTitle: Quantum Annealing Formulation subgraph Variables ["Decision Variables"] X1["x_i in {-1, +1}"] X2["x_j in {-1, +1}"] end
subgraph Coefficients ["Hamiltonian Parameters"] H["Linear Coefficients (h_i)"] J["Quadratic Couplings (J_ij)"] end
subgraph Systems ["Hardware Scale"] Q2["2 Qubits"] Q48["48 Qubits"] Q4400["4,400+ Qubits"] end
X1 --- H X1 --- J X2 --- J H --> Q2 J --> Q2 Q2 --> Q48 --> Q4400 ```
From a mathematical perspective, the problems natively solved by quantum annealers are binary optimization problems: - **Physicists** know this formulation as the **Ising model** (expressed using Pauli $X$ and $Z$ matrices and annealing schedules $A(s)$ and $B(s)$). - **Operations researchers and computer scientists** refer to it as **QUBO** (**Quadratic Unconstrained Binary Optimization**).
In QUBO/Ising models, binary decision variables take values $x_i \in \{-1, +1\}$ (or $\{0, 1\}$). The objective function $H(x)$ consists of linear coefficients (represented visually as biases on individual nodes/vertices) and quadratic coefficients (represented by edges/couplings between pairs of variables $x_i$ and $x_j$).
To demystify high-dimensional physics jargon, Chern references a well-known quote by machine learning pioneer Geoffrey Hinton: *"To deal with hyperplanes in a 14-dimensional space, visualize a 3D space and say 14 to yourself very loudly. Everyone does it."* In the same spirit, Chern tells the audience that whenever they feel overwhelmed by the equations, they can simply picture a discrete binary network, "say quantum spins to yourself very loudly," and remember that the processor is solving an optimization problem. He illustrates this scaling trajectory by stepping from a minimal 2-qubit system up to 48 coupled qubits, and finally to massive production architectures featuring over 4,400 interconnected programmable qubits.
---
[06:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=374s) Performance Benchmarks and Combinatorial Problem Mapping
When comparing solution quality and runtime on optimization benchmarks, quantum annealers demonstrate significant advantages over classical solvers on hard problem instances. Plotting time on the x-axis against proximity to the energy minimum on the y-axis (where lower is better), D-Wave's quantum annealer achieves at least a two-order-of-magnitude speedup over classical computing baselines in best-case scenarios.
Many critical real-world and computer vision problems naturally map onto quadratic unconstrained binary models:
| Problem Domain | Formulation Mechanics | QUBO Mapping | |:--- |:--- |:--- | | **Graph Matching** | Finding an optimal node permutation between two graph structures (e.g., blue and orange graphs). | Formulated to minimize structural discrepancy and preserve adjacency structure. | | **Traveling Salesperson Problem (TSP)** | Routing a path through multiple destinations (e.g., 7 cities or errands) to minimize total commute time. | Represented as an optimization over permutation matrices where binary variables indicate step assignments. | | **General Combinatorial Problems** | Binary Integer Linear Programming (BILP) and finite discrete optimization problems. | Transformed into QUBO via penalty terms and automated reformulation frameworks. |
While all finite discrete optimization problems can theoretically be reduced to QUBO instances, Chern cautions that doing so efficiently is the real challenge. Manually translating complex operational constraints into penalty functions on paper can be tedious and labor-intensive, which has spurred active research into automated QUBO-formulation toolchains.
---
[08:52](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=532s) Quantum Annealers as Samplers: Boltzmann Machines and Generative Modeling
Quantum annealing is not merely an optimization engine—it is also a physical sampling process. This property creates a direct bridge to machine learning and generative modeling, particularly through **Boltzmann machines** (a foundational architecture closely associated with Geoffrey Hinton's work).
```mermaid flowchart TD accTitle: Boltzmann Machine Unification Across Fields BM["Boltzmann Machine / Energy-Based Model"]
BM -->|Statisticians| EXP["Exponential Family Distribution"] BM -->|Physicists| ISING["Thermal Ising Model"] BM -->|Computer Scientists| MRF["Binary Markov Random Field"]
EXP --> SAM["Iterative Sampling & Gradient Estimation"] ISING --> SAM MRF --> SAM
SAM --> QA["Hardware Acceleration via D-Wave Quantum Annealing"] ```
A Boltzmann machine can be interpreted across multiple disciplines: - **Statisticians** view it as a high-dimensional member of the **exponential family** of distributions, yielding a probability distribution over discrete binary vectors analogous to a multivariate Gaussian for continuous data. - **Physicists** see it as an **Ising spin system** in thermal equilibrium. - **Computer scientists** classify it as a binary **Markov Random Field (MRF)**.
Training generative models on binary data spaces requires drawing samples from the model distribution at each training step to compute data-model expectation gradients. Because classical sampling techniques (such as Markov Chain Monte Carlo) can suffer from severe computational bottlenecks in multimodal energy landscapes, using physical quantum annealing hardware as a native Boltzmann sampler offers a promising alternative. Chern highlights a landmark paper published in *Science* demonstrating these sampling capabilities and physical speedups on multi-qubit systems.
[11:07](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=667s) Quantum Simulation and Fast Sampling Benchmarks vs. GPUs
Benchmarking data demonstrates the vast efficiency gap between quantum annealing hardware and classical GPU simulation. When plotting the number of qubits on the x-axis against the time required for classical GPUs to simulate the system on the y-axis, the computational wall becomes immediately apparent: the "punch line is takes millions of years on GPUs" to simulate large quantum systems. This simulation workload is fundamentally a sampling problem, where researchers must draw samples from the model and compute statistical observables to extract meaningful physical insights about the target system.
```mermaid flowchart LR accTitle: Quantum Annealer vs GPU Sampling Comparison subgraph Classical["Classical Approach"] GPU["GPU Cluster"] --> MCMC["MCMC Sampling"] MCMC --> HighTime["High Latency / Scaling Wall"] end subgraph Quantum["Quantum Annealing"] QA["D-Wave QPU"] --> DirectSample["Native Sampling"] DirectSample --> Speedup["1+ Orders of Magnitude Speedup"] end ```
A direct comparison using Markov Chain Monte Carlo (MCMC) algorithms displays run time versus sample size. When evaluating the quantum computer against state-of-the-art GPU implementations, the quantum hardware achieves more than a full order of magnitude speedup. The primary technical advantage is that quantum annealers excel at rapid, highly efficient sampling over complex energy landscapes.
- GPU simulation times for large quantum systems scale into millions of years. - Benchmarks against classical MCMC algorithms demonstrate an order of magnitude or greater runtime advantage for the QPU. - High-speed sampling directly accelerates physical simulation and statistical inference tasks.
---
[11:54](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=714s) Generative Machine Learning: Discrete and Quantum Variational Autoencoders
Addressing the question of where binary optimization problems occur in real-world workflows, the answer is "in some sense always" because modern machine learning frameworks can translate continuous or structured data directly into discrete domains. By utilizing Discrete Variational Autoencoders (DVAEs) and Quantum Variational Autoencoders (QVAEs), practitioners can bridge the gap between arbitrary data types and binary optimization hardware.
```mermaid flowchart LR accTitle: Quantum Variational Autoencoder Pipeline subgraph Pipeline["QVAE Architecture"] Input["Input Data"] --> Enc["Encoder Network"] Enc --> Latent["Binary Latent Space"] Latent --> QA["Quantum Annealer<br/>(Optimization / Sampling)"] QA --> Latent Latent --> Dec["Decoder Network"] Dec --> Output["Generated / Optimized Output"] end ```
In a QVAE architecture, an encoder maps complex input data into a binary latent space. The quantum annealer serves as both a high-performance optimization engine and a generative model at this discrete bottleneck layer, optimizing or sampling the latent variables before a classical decoder reconstructs them back into the original data domain. This enables researchers to optimize data generation directly over the binary representation.
- DVAEs and QVAEs map high-dimensional training data into discrete binary latent spaces. - The quantum annealer operates at the bottleneck layer to handle generative sampling and binary optimization. - The learned binary representations are decoded back into the original input space, making quantum annealing applicable to domains beyond native binary graphs.
---
[13:14](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=794s) Drug Discovery Case Study and Latent Graph Expressivity
A concrete implementation of this architecture comes from Japan Tobacco, one of the largest tobacco companies in Japan, which deployed quantum variational autoencoders for pharmaceutical drug discovery. By embedding a quantum computer directly at the bottleneck layer of a variational autoencoder, they optimized molecular candidates. The resulting distributions showed marked improvements across chemical property metrics: the quantum system produced more favorable generation scores on property histograms and showed clear shifts in drug-likeness metrics such as the Quantitative Estimate of Drug-likeness (QED) score.
```mermaid flowchart TD accTitle: Decision Flow for Latent Graph Modeling Start["Design Binary Latent Space"] --> Planar["Try Classical Planar Graph<br/>(Closed-form / simple sampling)"] Planar --> Check{"Expressive Enough<br/>for Target Task?"} Check -- Yes --> DeployClassical["Deploy Classical Pipeline"] Check -- No --> DeployQuantum["Leverage D-Wave QPU<br/>(High connectivity & rich expressivity)"] ```
When designing binary latent representations, practitioners can initially experiment with classical graph structures like planar graphs, where sampling can sometimes be solved in closed form due to low connectivity. However, planar graphs frequently suffer from limited expressivity. When these classical graph topologies fail to capture complex data distributions, switching to the rich, highly connected hardware topology of a quantum annealer provides the necessary capacity to optimize and generate high-quality candidates.
- Japan Tobacco integrated D-Wave quantum annealers into the bottleneck layer of a VAE for molecular generation. - The quantum-enhanced pipeline generated superior compound candidate distributions and improved QED drug-likeness scores. - Planar graph latent spaces offer low-connectivity baselines with closed-form solutions, but quantum annealers are needed when higher graph connectivity and expressivity are required.
---
[14:52](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=892s) Audience Wrap-Up and Commemorative Selfie
Concluding the presentation, Chern pauses before taking final questions to capture a personal memento of the session. He admits candidly to the room, "Well, actually before before I let everyone go, I'm going to take a selfie because this is quite scary for me. So, I want to remember this."
Inviting the audience members to either cover their faces or make a goofy expression for the camera, he snaps the stage selfie and thanks the attendees for their time and attention.
## Notable quotes > [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) the most beautiful slide of the entire deck. — Kevin Chern
> [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) larger than me — Kevin Chern
> [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) smaller than me — Kevin Chern
> [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) stuttering like a little language model — Kevin Chern
> [00:04](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=4s) unskippable ad — Kevin Chern
> [02:42](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=162s) To deal with hyperplanes in a 14-dimensional space, visualize a 3D space and say 14 to yourself very loudly. Everyone does it. — Geoffrey Hinton
> [02:42](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=162s) say quantum spins to yourself very loudly — Kevin Chern
> [11:07](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=667s) punch line is takes millions of years on GPUs — Kevin Chern
> [11:54](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=714s) in some sense always — Kevin Chern
> [14:52](https://www.youtube.com/watch?v=s9sB2ZPOO04&t=892s) Well, actually before before I let everyone go, I'm going to take a selfie because this is quite scary for me. So, I want to remember this. — Kevin Chern
## Mentioned Kevin Chern, Emma, D-Wave, University of British Columbia (UBC), Geoffrey Hinton, Science, Japan Tobacco, Ising Model, QUBO (Quadratic Unconstrained Binary Optimization), Boltzmann Machine, Discrete Variational Autoencoders (DVAEs), Quantum Variational Autoencoders (QVAEs), Markov Chain Monte Carlo (MCMC)
## Video description Kevin Chern, Senior Benchmarking Researcher, D-Wave
Abstracts
Quantum annealing is a quantum computing paradigm known for its applications in combinatorial optimization and machine learning. In optimization, quantum annealers provide heuristic solutions to NP-hard combinatorial optimization problems. In machine learning, quantum annealers can be leveraged as generative models in various domains ranging from drug discovery to image generation. In this presentation, I will introduce the principles of quantum annealing with a focus on D-Wave's implementations featuring thousands of programmable qubits. I will also share recent applications and benchmarking results highlighting its practical benefits.
[Source](https://www.youtube.com/watch?v=s9sB2ZPOO04)