qiskit.aqua.operators.state_fns.CircuitStateFn.sample¶ CircuitStateFn.sample(shots=1024, massive=False, reverse_endianness=False)[source]¶ Sample the state function as a normalized probability distribution. Returns dict of bitstrings in order of probability, with values being probability. Return type dict