Skip to main content

Table 3 Average probability of success of obtaining a number in the desired interval for the different numbers of digits. To calculate the average value, only those intervals of each size for which a single iteration of the circuit is needed have been included. The efficient and optimal intervals columns indicates (for each size) the intervals in which the probability of success is greater than 90% and 95%. For instance, for the case \(N=3\), the efficient interval column indicates that the intervals \([0,4]\), \([0,5]\), and \([0,6]\) produce random numbers in those intervals with a probability of success greater than 90%

From: A quantum circuit to generate random numbers within a specific interval

Number of digits

Quality

Efficient intervals

Optimal intervals

(N)

(average)

(probability >90%)

(probability >95%)

3

0.895

[0,4 − 6]

[0,5]

4

0.827

[0,8 − 12]

[0,9 − 10]

5

0.825

[0,15 − 24]

[0,18 − 21]

6

0.824

[0,32 − 48]

[0,35 − 42]

7

0.823

[0,64 − 95]

[0,71 − 86]

8

0.822

[0,128 − 194]

[0,142 − 173]