---
title: SamplerResult (latest version)
description: API reference for qiskit.primitives.SamplerResult in the latest version of qiskit
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.primitives.SamplerResult
---

# SamplerResult

*class* `qiskit.primitives.SamplerResult(quasi_dists, metadata)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/2.5/qiskit/primitives/base/sampler_result_v1.py#L26-L45)

Bases: `_BasePrimitiveResultV1`

Result of Sampler V1.

```python
result = sampler.run(circuits, params).result()
```

where the i-th elements of `result` correspond to the circuit given by `circuits[i]`, and the parameter values bounds by `params[i]`. For example, `results.quasi_dists[i]` gives the quasi-probabilities of bitstrings, and `result.metadata[i]` is a metadata dictionary for this circuit and parameters.

**Parameters**

- **quasi\_dists** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*\[*[*QuasiDistribution*](/docs/api/qiskit/qiskit.result.QuasiDistribution "qiskit.result.QuasiDistribution")*]*) – List of the quasi-probabilities.
- **metadata** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)*\[*[*dict*](https://docs.python.org/3/library/stdtypes.html#dict)*]*) – List of the metadata.

## Attributes

### quasi\_dists

Type: `list[QuasiDistribution]`

### metadata

Type: `list[dict[str, Any]]`
