This website is an interface which allows you to generate True random Numbers. The random numbers generated on a classical computer is not actually truely random. They are termed as Pseudo-random numbers. The issue with the pseudo-random numbers is that they start repeating after its period is over. The random numbers generated by a Quantum Computer is Truely Random because it is generated using QUBITs whose state (either 0 or 1) is decided upon the quantum properties of a Fermion or a Boson.
This service generates random numbers using the quantum computers provided by IBM-Q via Qiskit. IQM-Q provides Quantum Comupters with upto 16 qubits i.e. we can generate a maximum of 16 bit value at a particular time. The circuit involved in the generation of the random numbers has a Hadamard Gate on each qubit which put them in a super-position with a 50% probablity of resulting in 0 or in 1 when the measurement gate is applied to it.
The effect of the Hadamard gate on the state of qubits can be mathematically expressed using the following equation:
$\mathbf{H | 0 \rangle = |+ \rangle = \frac{1}{\sqrt{2}} (|0\rangle + |1\rangle)}$
$\mathbf{H | 1 \rangle = |- \rangle = \frac{1}{\sqrt{2}} (|0\rangle - |1\rangle)}$
Here is the circuit diagram of the 12 qubits random number generator:
┌───┐┌─┐
q_0: |0>┤ H ├┤M├─────────────────────────────────────────────────── ┌─────────────────────────┐
├───┤└╥┘┌─┐ | H = Hadamard Gates |
q_1: |0>┤ H ├─╫─┤M├──────────────────────────────────────────────── | q = Quantum registers |
├───┤ ║ └╥┘┌─┐ | c = Classical registers |
q_2: |0>┤ H ├─╫──╫─┤M├───────────────────────────────────────────── | M = Measurement Gates |
├───┤ ║ ║ └╥┘┌─┐ └─────────────────────────┘
q_3: |0>┤ H ├─╫──╫──╫─┤M├──────────────────────────────────────────
├───┤ ║ ║ ║ └╥┘┌─┐
q_4: |0>┤ H ├─╫──╫──╫──╫─┤M├───────────────────────────────────────
├───┤ ║ ║ ║ ║ └╥┘┌─┐
q_5: |0>┤ H ├─╫──╫──╫──╫──╫─┤M├────────────────────────────────────
├───┤ ║ ║ ║ ║ ║ └╥┘┌─┐
q_6: |0>┤ H ├─╫──╫──╫──╫──╫──╫─┤M├─────────────────────────────────
├───┤ ║ ║ ║ ║ ║ ║ └╥┘┌─┐
q_7: |0>┤ H ├─╫──╫──╫──╫──╫──╫──╫─┤M├──────────────────────────────
├───┤ ║ ║ ║ ║ ║ ║ ║ └╥┘┌─┐
q_8: |0>┤ H ├─╫──╫──╫──╫──╫──╫──╫──╫─┤M├───────────────────────────
├───┤ ║ ║ ║ ║ ║ ║ ║ ║ └╥┘┌─┐
q_9: |0>┤ H ├─╫──╫──╫──╫──╫──╫──╫──╫──╫─┤M├────────────────────────
├───┤ ║ ║ ║ ║ ║ ║ ║ ║ ║ └╥┘┌─┐
q_10: |0>┤ H ├─╫──╫──╫──╫──╫──╫──╫──╫──╫──╫─┤M├─────────────────────
├───┤ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ └╥┘┌─┐
q_11: |0>┤ H ├─╫──╫──╫──╫──╫──╫──╫──╫──╫──╫──╫─┤M├──────────────────
└───┘ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ ║ └╥┘
c: /12 ══════╩══╩══╩══╩══╩══╩══╩══╩══╩══╩══╩══╩═══════════════════