Description Usage Arguments Value See Also
View source: R/sampling_simulations.R
The big-endian bits of an integer.
1 | big_endian_int_to_bits(val, bit_count)
|
val |
The integer to get bits from. This integer is permitted to be larger than '2**bit_count' (in which case the high bits of the result are dropped) or to be negative (in which case the bits come from the 2s complement signed representation). |
bit_count |
The number of desired bits in the result. |
The bits.
Other Sampling, Simulations and Data collection:
big_endian_bits_to_int()
,
big_endian_digits_to_int()
,
big_endian_int_to_digits()
,
circuit_like()
,
final_density_matrix()
,
final_wavefunction()
,
flatten_to_ops_or_moments()
,
flatten_to_ops()
,
flatten_with_params()
,
flatten_with_sweep()
,
flatten()
,
hog_score_xeb_fidelity_from_probabilities()
,
measure_density_matrix()
,
measure_state_vector()
,
random_state_or_seed_like()
,
sample_density_matrix()
,
sample_state_vector()
,
sample_sweep()
,
sample()
,
to_resolvers()
,
to_sweep()
,
validate_mixture()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.