# Get started with primitives for Qiskit Runtime

Quantum primitives are foundational building blocks for designing and optimizing quantum workloads. They provide options to customize the iteration and execution of programs to maximize the solution quality from IBM quantum processors.

** Sampler ** Generate quasi-probabilities

Generate entire error-mitigated quasi-probability distributions sampled from quantum circuit outputs. Leverage Sampler’s capabilities for search and classification algorithms like Grover’s and QVSM.

View API Reference### Try out Sampler

To run these code samples please follow the quick start instructions found here.