• over_clox@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    10 days ago

    Ya know, as much hype as there has been for the idea of quantum computing, I haven’t even so much as seen a snippet of source code for it to even say Hello World.

    Even if that’s not exactly what these machines are meant for, seriously, where’s even a snippet of code for people to even get a clue how (and if) they even work as they’re hyped to be?

    • Hadriscus@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      10 days ago

      Nobody sees what they don’t look for. This is seven seconds of using duckduckgo with the following query : “what does code for a quantum computer look like?”

      https://medium.com/rigetti/how-to-write-a-quantum-program-in-10-lines-of-code-for-beginners-540224ac6b45

      https://github.com/Qiskit

      https://cstheory.stackexchange.com/questions/9381/what-would-a-very-simple-quantum-program-look-like

      https://dl.acm.org/doi/10.1145/3517340#sec-3

      I don’t pretend to understand this, as I’m not a computer scientist, even less so a quantum scientist. Quite honestly, if you allow me a bit of criticism, I think you’re interacting with this whole topic in bad faith. Moving goalposts, obviously not doing any kind of documentation effort before criticizing an entire field of research, claiming that development efforts should go towards some vaguely defined “fixing the world problems”…

      • over_clox@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        10 days ago

        Your first link is paywalled, fuck that.

        Pulling a serious comment from your third link only reinforces practically everything I’ve been getting at…

        “The problem of showing a ‘hello world’ of quantum computing is that we’re basically still as far from quantum computers as Leibnitz or Babbage were from your current computer. While we know how they should operate theoretically, there is no standard way of actually building a physical quantum computer. A side-effect of that is that there is no single programming model of quantum computing. Textbooks such as Nielsen et al. will show you a ‘quantum circuit’ diagram, but those are far from formal programming languages: they get a little ‘hand-waving’ on the details such as classical control or dealing with input/output/measurement results.”

        • Hadriscus@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          10 days ago

          Yea, fuck paywalls, except there isn’t one here. Not sure what you’re on about.

          Pulling a serious comment from your third link only reinforces practically everything I’ve been getting at…

          See, this is an example of the bad faith I mentioned above : cherrypicking examples that suit your preconceived ideas, ignoring the truckload of examples, frameworks and code snippets (which you asked for) I provided with a brief search on a free search engine. You have shown no will to communicate in good faith, so I am ending my interaction with you here. Just for the record, this is disrespectful of my time, as well as yours.

          • over_clox@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            10 days ago

            Okay, you have a good day too.

            I’m not about to create an account with miscellaneous sites that require my email.