qrisp.interface.JobResult.get_counts#

JobResult.get_counts(index: int = 0) dict[source]#

Return the measurement-outcome counts for a single circuit.

Parameters:
indexint

Index of the circuit in the batch. Defaults to 0.

Returns:
dict

Mapping from bitstring outcome to observed count.