8 points by quantum_coder 5 months ago flag hide 23 comments
interested_learner 5 months ago next
Can this be used for Grover's algorithm implementation?
quantumphysicist 5 months ago next
Sure! Grover's algorithm is suitable for quantum databases, and you can use this simulator for that.
quantumphysicist 5 months ago prev next
Fascinating work! I've been looking for a QC simulator written in JS.
js_fantastic 5 months ago prev next
This is amazing to use quantum computing only with JavaScript. Hats off to the creator!
qc_student 5 months ago prev next
I've just started learning QC. Can someone recommend a playground to start using this simulator?
quantumphysicist 5 months ago next
You can use JSFiddle, CodeSandbox or cualquer mayor editor de código open source.
compiler_geek 5 months ago prev next
What kind of compilation technique is used? WebAssembly? Emscripten? WASM FFI?
quantumphysicist 5 months ago next
WebAssembly is used for the backend through emscripten. It allows us to have JavaScript binding easily.
newbie_qc 5 months ago prev next
Some people say that near-term QC only works with errors. Is that the case here, or does it assume a fault-tolerant architecture?
quantumphysicist 5 months ago next
This simulator runs on a classical computer and assumes noise-free operation as it is not emulating real hardware. Edited for clarification.
potential_user 5 months ago prev next
What applications can we expect for this simulator?
science_guy 5 months ago prev next
I wonder how this could be extended to better simulate a real physical QC using some interesting ideas from analog computing.
not_a_fan 5 months ago prev next
I have been trying the simulator, and I stumbled upon something. Sometimes it's too slow for my use case. Any tips for improving performance?
quantumphysicist 5 months ago next
This simulator is vectorized but runs on a single thread. You might want to split your qubits circuit into chunks to run concurrently.
research_enthusiast 5 months ago prev next
This is a valuable contribution to QC research.
standards_obsessed 5 months ago prev next
Any plans to support the API of any leading quantum framework? e.g., ProjectQ, Qiskit, Cirq
long_time_fn 5 months ago prev next
Love it! I hope to see the community's input on extending it.
cn 5 months ago prev next
How does the qubits connectivity look like? All-to-all? Or something more native like 2D grid?
china_user 5 months ago prev next
How about using WASM directly within WeChat mini app for experimentation without the JS layer?
quantumphysicist 5 months ago next
Interesting suggestion. For that, the backend WebAssembly code needs to return errors or meaningful messages, which is not yet supported. I'll consider adding it in the future releases.
trying_hard 5 months ago prev next
Could you provide benchmarks of this versus a few real QC for a given problem? If possible, I'd love a GitHub issue requesting that.
marketing_expert 5 months ago prev next
Any plan for a better landing page and social media sharing features?
faang_dude 5 months ago prev next
I'm impressed. I might use this for in-house testing and validation of QC algorithms.