this post was submitted on 08 Jan 2025
0 points (NaN% liked)

Programmer Humor

26152 readers
492 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 3 comments
sorted by: hot top controversial new old
[โ€“] pcalau12i@lemmygrad.ml 1 points 7 months ago (1 children)

I own a quantum random number generator on a PCie card that uses optical effects for random number generation. It cost me over $2000. I use it for quantum computer simulations.

[โ€“] bitcrafter@programming.dev 0 points 7 months ago (1 children)

If you are just measuring the quantum effect to turn it into a classical random number before using it, then how does that help you over a less expensive way of generating a classical random number for quantum computer simulations?

[โ€“] pcalau12i@lemmygrad.ml 1 points 7 months ago* (last edited 7 months ago)

I'm not sure what you mean by "turning into into a classical random number." The only point of the card is to make sure that the sampling results from the simulator are truly random, down to a quantum level, and have no deterministic patterns in them. Indeed, actually using quantum optics for this purpose is a bit overkill as there are hardware random number generators which are not quantum-based and produce something good enough for all practical purposes, like Intel Secure Key Technology which is built into most modern x86 CPUs.

For that reason, my software does allow you to select other hardware random number generators. For example, you can easily get an entire build (including the GPU) that can run simulations of 14 qubits for only a few hundred dollars if you just use the Intel Secure Key Technology option. It also supports a much cheaper device called TrueRNGv3 which is a USB device. It also has an option to use a pseudorandom number generator if you're not that interested in randomness accuracy, and when using the pseudorandom number generator option it also supports "hidden variables" which really just act as the seed to the pseudorandom number generator.

For most most practical purpose, no, you do not need this card and it's definitely overkill. The main reason I even bought it was just because I was adding support for hardware random number generators to my software and I wanted to support a quantum one and so I needed to buy it to actually test it and make sure it works for it. But now I use it regularly for the back-end to my simulator just because I think it is neat.