|
|
|
|
|
by clavigne
1828 days ago
|
|
The wavefunction of an n qubit system is representable by a 2^n vector of complex numbers [1]. Using single precision floats [2], a 10 qubit wavefunction is 8 KB, 20 qubit = 8 MB, 30 qubit = 8 GB and 40 qubit = 8 TB. Hence a run-of-the-mill laptop can easily simulate a perfect 30 qubit computer, provided you are using a sufficiently performant simulator (such as https://github.com/qulacs/qulacs ). [1] This is actually a pessimistic upper bound for the classical simulation because current quantum hardware is not fully connected and not fully coherent. Most problems of interest (optimization, chemistry etc) also do not ever generate fully entangled wavefunctions and so can be simulated with significantly less resources. So for any applications (beyond simulating quantum advantage experiments built specifically to make classical simulation hard), classical computers are crushing quantum computers. [2] Because QM is a linear theory, numerical precision isnt an issue, as it would be in a chaotic classical simulation of eg fluid dynamics. |
|