Quantum random number generator (QRNG) based on the inherent randomness of fundamental quantum processes can provide provable true random numbers which play an important role in many fields. However, the security of practical QRNGs is linked to the performance of realistic devices. In particular, devices based on the Faraday effect in a QRNG system may be affected by external magnetic fields, which will inevitably open a loophole that an eavesdropper can exploit to steal the information of generated random numbers. In this work, the effects of external magnetic fields on the security of practical QRNGs are analyzed. Taking the quantum phase fluctuation based QRNG with unbalanced Michelson interferometer as an example, we experimentally demonstrate the rotation angle of the Faraday rotation mirror (FRM) is influenced by external magnetic fields. Then, we develop a theoretical model between the rotation angle deviation of FRM and conditional min-entropy. Simulation results show that the imperfect FRM leads to a reduction in the variance of measured signal and extractable randomness. Furthermore, the impacts of practical sampling device on the extractable randomness are analyzed in the presence of imperfect FRM, which indicates suitable parameters of the sampling device can improve the security of practical QRNGs. Potential countermeasures are also proposed. Our work reveals that external magnetic fields should be carefully considered in the application of practical QRNGs.
Read full abstract