Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Is this that "quantum" simulation language they'd come up with a while ago?
As far as I remember it was just a thin layer over the mathematics. Like they had Hadamard operators for the Hadamard gate, and stuff like that. You can build something similar in like a couple of hours in python.
Could have improved since then though. And I could be totally off the mark. -
Seems cool!! Didn't know about it. One of my projects I did at uni was to write a quantum computing simulator. I used python, also overloaded some operators and you could use it in a python repl to manipulate qubits (and quregisters which I just came up with to simulate a bundle of qubits). Memory usage was of course exponential, but it computed fairly quickly by outsourcing the matrix multiplications required to the GPU.
You could also "observe" the qubits and that collapsed the probabilities down to a vector of classical bits. Most of the quantum logic gates were implemented but some control flow was missing so I couldn't implement the Deutsch-Jozsa algorithm :( since then I didn't really touch that code. -
@mzeffect Just implement basic Hadamard and CNOT, Deutsch-Jozsa is easy after that.
And yeah, that exponential memory usage is crazy. Ate up 16gigs in like no time at all.
And yes, even in my thing you could observe qbits, which was pretty unfair, but hey :p
Explaining teleportation got a lot easier though! -
@RememberMe yeah... Especially observing without collapsing. Had a peek function 😁 defying physics for debugging purposes.
-
@mzeffect "For debugging purposes" can justify almost anything xD
@dontbeevil indeed. But then I probably wouldn't be able to run games on it, so....
Related Rants
-
milkyway5WTF, if this is true. https://technologyreview.com/f/...
-
DangerousDev19Just started playing with Microsoft's Quantum Computing Kit and it's so amazing 😍! Well done Microsoft!
-
NoToJavaScript31!Rant I have not slept in 28 hours. I discovered Quantum computing, pubo and simulators. I FEEL it can so...
Has anyone started learning Q#? Or do you think it's creation was a little optimistic on Microsoft's part?
question
quantum computers
q#