Primitives: Sampler vs Estimator
Intermediate
Quantum Primitives
Created by Pavel
· 11.03.2026 at 14:32 UTC
Modern quantum SDKs split what you ask into primitives. A sampler returns bitstring statistics; an estimator returns expectation values for chosen observables. That split is not cosmetic—it decides whether your classical post-processing sees histograms or scalars.
Pick the primitive that matches the loss: variational objectives written with $\mathbb{E}[O]$ belong with an estimator workflow, while generative checks often want full distributions. Course materials live in [1].
Sources
University approvals: 0
Tasks
Card Info
- Topic: Quantum Primitives
- Difficulty: Intermediate
- Completed: 0 users
Creator
Pavel