ngl i used IBM Quantum to pick lotto numbers and now i have rejection-sampling questions
hobby project. small circuit on real IBM Quantum hardware,
mapped the bitstrings to lotto number ranges (PCSO 6/42–6/58,
UK lotto, US powerball). rejection sampling for non-power-of-2
ranges + a filter that retries on obviously skewed combos.
does NOT improve odds obviously — same math, just true-random
instead of pseudo-random. mostly built it for the bit.
questions:
rejection sampling for 1-42 / 1-55 — is there a smarter
mapping i'm missing? feels wasteful tbh
the skew filter retrying on bad combos — does it leak bias
back in? gut says no but want a sanity check
link in comments if mods are cool with it.
u/katmon_01 — 4 days ago