Generating a random number using a quantum computer I have been looking into the creation of truly random numbers using a quantum computer, but I have been having trouble with finding resources on this problem. Is it possible to create a truly random number using a quantum computer?

In theory, my thinking is that we can prepare a qubit in the $|0\rangle$ state, apply a Hadamard to obtain a $|+\rangle$, and then measure in the logical basic to get a 0 with probability $\frac{1}{2}$ and a 1 with probability $\frac{1}{2}$. Repeat the process as many times as you want to create a random number in binary (i.e. 0110001...)

Now there are obviously problems with this practically (regarding the accuracy of our state initiation, Hadamard transform, and measurement). But is the theory correct? In theory can we therefore produce a truly random number using a quantum computer?
Yes, it is possible to use quantum computer as a true random number generator, by applying Hadamard gates to all available qubits in initial $|0\rangle$ state and measuring them in the standard basis; but this is inefficient way of generating random numbers because quantum computer requires time to cool down its qubits to the initial state before starting a new computation.

There are other cheaper and faster methods of generating random numbers using quantum effects, see for example ANU Quantum Random Numbers Server