trurl42 2 years ago

This is not a very good explanation, nor is it useful for anything.

A single qubit is not useful for computation and the way it is written doesn't generalize to more than a single qubit. The code doesn't even really simulate a single qubit properly, since it doesn't use complex numbers.

What they call a "Rydberg gate" is not a gate at all.

Most of the text feels like it's written by an AI.

  • eigenket 2 years ago

    Yeah this is closer to simulating a classical coin (albeit one with three sides) than a qubit.

swernli 2 years ago

An alternative to this that also runs in the browser is the Azure Quantum katas at https://quantum.microsoft.com/en-us/experience/quantum-katas. It has an introduction to quantum computing concepts with exercises in Q# you can evaluate in the browser, as well as a quantum focused Copilot you can use with login.

(Full disclosure: I work on the team that builds the developer tools for Q#)

ingen0s 2 years ago

Excitement after Darpas Q circuit breakthrough, just added a Rydberg gate to this JavaScrip Qubit class simulator. Soo much fun! Try it out! More coming soon!

  • quickthrower2 2 years ago

    Thanks. This seems like the friendliest introduction to quantum computing I have seen.

    Is it accurate? I though quantum mechanics needed complex numbers?

    • eigenket 2 years ago

      In general quantum mechanics requires complex numbers, in general quantum mechanics also requires more than a single qubit as well.

      This is a very simplistic (maybe minimal) example.

dr_dshiv 2 years ago

Want to connect to p5.js for qreative computing

m3kw9 2 years ago

Doesn’t seem to compute anything useful though

  • recursive 2 years ago

    At least that part is realistic.

  • bowsamic 2 years ago

    There are very few useful quantum algorithms, especially ones that don't include significant classical computing