CountsResult¶
- class hybridlane.measurements.CountsResult¶
Class for holding histogram results of CV-DV programs
- counts: dict[int | float | tuple[int | float | complex, Ellipsis], int]¶
Histogram of basis states or eigenvalues and their frequency
- property is_eigenvals¶
Whether the entries of the histogram are (scalar) eigenvalues of an observable
- property is_basis_states¶
Whether the entries of the histogram are computational basis states
- property shots¶
Returns the total number of shots contained in this result
- __post_init__()¶