3 ms·
This might be just what I need. I had this idea for a quantum computer simulation which stores states similar to how the physicist writes them. Eg a|00> + b|11
by IIAOPSW 9y ago
This might be just what I need.
I had this idea for a quantum computer simulation which stores states similar to how the physicist writes them. Eg a|00> + b|11> becomes {(0,0):a, (1,1):b}. In general sums of kets, bras, operators are represented by dictionaries.
Implementing operations on a QC is a very parallelization task, but is hard to do concurrently with built-ins.