- QuasiDistribution.binary_probabilities(num_bits=None)[código fonte]¶
Build a quasi-probabilities dictionary with binary string keys
num_bits (int) – number of bits in the binary bitstrings (leading zeros will be padded). If None, a default value will be used. If keys are given as integers or strings with binary or hex prefix, the default value will be derived from the largest key present. If keys are given as bitstrings without prefix, the default value will be derived from the largest key length.
- A dictionary where the keys are binary strings in the format
- Tipo de retorno