So You Wanna Program a Quantum Computah Just Twist

  • Thread starter Thread starter jedishrfu
  • Start date Start date
  • Tags Tags
    Program Quantum
Click For Summary

Discussion Overview

The discussion revolves around programming languages and tools for quantum computing, specifically focusing on a new language called Twist developed by MIT. Participants explore various programming approaches, tools like Cirq and Qiskit, and the implications of quantum computing capabilities.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • Some participants mention the development of the Twist programming language for quantum computing, noting that it may already be outdated as further advancements are being made.
  • Others introduce Cirq as an alternative approach for programming quantum computers using Python.
  • A participant highlights an O'Reilly book on programming quantum computers, emphasizing its focus on algorithms rather than specific programming languages.
  • Another participant points out that the O'Reilly book was authored by a physicist/programmer team and does not utilize Cirq or Twist.
  • Qiskit is presented as an open-source SDK for quantum computing, with capabilities for creating and manipulating quantum programs and running them on various quantum devices.
  • Some participants express skepticism about the power of quantum computers, referencing a paper that questions the foundational assumptions of quantum computing.
  • One participant draws an analogy between the evolution of quantum computing and the development of math coprocessor chips, suggesting that quantum computing may initially be offered as a service before becoming integrated into hardware.
  • Concerns are raised about the limitations of quantum entanglement and the types of problems that can be solved with quantum algorithms compared to traditional digital logic.

Areas of Agreement / Disagreement

Participants express a range of views on the capabilities and future of quantum computing, with no consensus on the effectiveness or potential of quantum computers compared to traditional computing methods.

Contextual Notes

Participants note the limitations of current quantum computing models and the dependency on specific assumptions regarding quantum systems, which remain unresolved.

Technology news on Phys.org
Here's another approach using Cirq with Python:

 
Sounds like a Chubby Checker song: Let's Twist Again Like We Did Last Summer
 
There is also an O'Reilly Book, Programming Quantum Computers ... It must be in high demand because the price is sky high.
 
  • Like
Likes   Reactions: jedishrfu
Be aware that the Orielly book was written by a physicist/programmer team but not using either Cirq or Twist.

https://www.amazon.com/dp/1492039683/?tag=pfamazon01-20

The book covers the problems best suited for QC and the algorithms more than a programming language focusing on the various QC gates used. The Amazon link provides more details on book organization.
 
  • Like
Likes   Reactions: anorlunda
Found another QC programming tool: Qiskit

Qiskit is an open-source software development kit (SDK) for working with quantum computers at the level of circuits, pulses, and algorithms. It provides tools for creating and manipulating quantum programs and running them on prototype quantum devices on IBM Quantum Experience or on simulators on a local computer. It follows the circuit model for universal quantum computation, and can be used for any quantum hardware (currently supports superconducting qubits and trapped ions[4]) that follows this model.

Qiskit was founded by IBM Research to allow software development for their cloud quantum computing service, IBM Quantum Experience.[5][6] Contributions are also made by external supporters, typically from academic institutions.[7][8]

The primary version of Qiskit uses the Python programming language. Versions for Swift[9] and JavaScript[10] were initially explored, though the development for these versions have halted. Instead, a minimal re-implementation of basic features is available as MicroQiskit,[11] which is made to be easy to port to alternative platforms.

https://en.wikipedia.org/wiki/Qiskit

 
I do not claim to understand the math, @jedishrfu, but the author of this paper contends quantum computers will be less powerful than expected:

As a consequence, the concept of a quantum computer also comes into question, as it relies upon the assumption that a quantum system bears simultaneous information about two mutually exclusive outcomes. As this assumption is no longer tenable, the diversity of the solution of a quantum computer is considerably restricted.

https://iopscience.iop.org/article/10.1209/0295-5075/134/10004/pdf

It will be interesting to see whether the apps written in these QC development languages prove the assertion wrong.
 
  • #10
Yeah, I've seen those remarks before. My take is that the QC will be akin to the math coprocessor chip that came out after the microcomputer became popular.

Everyone saw that doing floating pt math in software on a microcomputer was so slow and thought that a separate chip could do it much better allowing folks to choose whether they needed that extra computing capability.

Now of course, floating pt logic is part of the CPU chip.

I imagine the QC will be like that too. First offered as a service online then miniaturized as an optional piece of hardware maybe as a chip and then who knows.

The curious thing about QC is that the calculations are setup and rerun many times until a common solution appears and that is the one selected. This is so different from current logic where we simply compute the solution once.

The quantum entanglement state can last only so long while doing a calculation and this becomes the limiting factor in what can and can't be computed.

https://blogs.scientificamerican.com/observations/the-problem-with-quantum-computers/The other more general limiting factor is whether a given computation can be formulated into a quantum algorithm. Currently, there are only a few types of problems that can be solved on a QC, everything else must use digital logic.

https://www.cs.virginia.edu/~robins/The_Limits_of_Quantum_Computers.pdf
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
2K
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
37
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 397 ·
14
Replies
397
Views
21K
  • · Replies 49 ·
2
Replies
49
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K