qiskit.opflow.state_fns.CircuitStateFn.sample¶
- CircuitStateFn.sample(shots=1024, massive=False, reverse_endianness=False)[código fonte]¶
Sample the state function as a normalized probability distribution. Returns dict of bitstrings in order of probability, with values being probability.
- Tipo de retorno
dict