Quantum Computing for Beginners

Click For Summary

Discussion Overview

The discussion centers around the topic of quantum computing, particularly focusing on introductory resources, programming challenges, and algorithm implementations. Participants share articles, tutorials, and books aimed at beginners, while also exploring specific algorithms like Shor's Algorithm and the complexities involved in implementing them on quantum computers.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related
  • Debate/contested

Main Points Raised

  • Some participants highlight the potential of quantum computing to solve complex problems faster than classical computers, mentioning its applications in fields like cryptography and environmental science.
  • Several resources are shared, including tutorials and articles that provide insights into quantum algorithms and their implementations.
  • A participant raises a question about how to interconnect qubits for implementing Shor's Algorithm, indicating the need for classical control signals and discussing the limitations of current simulators.
  • Another participant expresses frustration with the limitations of simulators for factoring larger numbers using Shor's Algorithm, suggesting that advancements in quantum technology are necessary for practical applications.
  • There are mentions of various resources, including video lectures and open-access books, aimed at helping beginners understand quantum computing concepts.
  • A participant seeks clarification on notation used in a quantum algorithm document, indicating the complexity of the material and the need for further explanation.
  • Some participants engage in light-hearted exchanges regarding unrelated topics, such as methods of population control, which diverges from the main focus on quantum computing.

Areas of Agreement / Disagreement

Participants generally agree on the significance of quantum computing and the value of shared resources for beginners. However, there are competing views regarding the feasibility and current limitations of implementing specific algorithms like Shor's Algorithm, with no consensus reached on the best approaches or solutions.

Contextual Notes

The discussion reflects varying levels of understanding and experience with quantum computing, with some participants expressing uncertainty about specific technical details and algorithm implementations. Limitations of current quantum simulators and the complexity of certain algorithms are noted but remain unresolved.

Who May Find This Useful

This discussion may be useful for beginners interested in quantum computing, educators looking for resources to teach the subject, and practitioners exploring algorithm implementations on quantum computers.

Bob Walance
Insights Author
Gold Member
Messages
84
Reaction score
55
TL;DR
A document, for beginners, describing how quantum computers work with comparisons to conventional computers.
This article provides an accessible introduction to quantum computing, a cutting-edge technology that processes certain types of information much faster than conventional computers. Major companies like Google, Microsoft, IBM, and Intel are heavily investing in its development due to its potential to solve complex problems that are currently infeasible for classical computers, such as creating efficient carbon capture methods to combat climate change.
Quantum computing holds the promise of revolutionizing how we solve complex problems by leveraging the principles of quantum mechanics. Its ability to process and manipulate enormous amounts of information rapidly could lead to breakthroughs in various fields, including cryptography, optimization, and environmental science. While practical, large-scale quantum computers are still in development, ongoing research continues to push the boundaries of what’s possible, paving the way for a new era of computing technology.

Table of...

Continue reading...
 

Attachments

Last edited:
  • Like
  • Informative
Likes   Reactions: Quantum Panda, iamanegg, WWGD and 10 others
Physics news on Phys.org
There are some tutorials on https://quantum-computing.ibm.com/docs/ which may be useful.

This might also be useful: https://dl.acm.org/doi/10.1145/3517340
Quantum Algorithm Implementations for Beginners
"We survey 20 different quantum algorithms, attempting to describe each in a succinct and self-contained fashion. We show how these algorithms can be implemented on IBM’s quantum computer, and in each case, we discuss the results of the implementation with respect to differences between the simulator and the actual hardware runs."

Code is available at : https://github.com/lanl/quantum_algorithms
 
  • Like
Likes   Reactions: aaroman, berkeman, vanhees71 and 2 others
Great idea for a new thread. I had a question that never got answered. It has to do with programming quantum computers.

If I have an algorithm S (Shor's Algorithm), how do I interconnect the qubits to implement it?
 
anorlunda said:
If I have an algorithm S (Shor's Algorithm), how do I interconnect the qubits to implement it?
You implement a classical control to orchestrate to required direct interactions between your qubits. The physical layout of your qubits determines which qubits can directly interact with each other, given the right classical control signal.

Such control signals could be microwave pulses of the right frequency and duration, or electrical wires put on the right potential, or a combination of both. Or it could be laser pulses, or modulations of a magnetic field, or other classically controllable phenomena.
 
  • Like
Likes   Reactions: anorlunda
anorlunda said:
If I have an algorithm S (Shor's Algorithm), how do I interconnect the qubits to implement it?
Shor's algorithm is fairly complex. In the quantum realm you need to do modular exponentiation and also the Fourier transform. In this thread (post #2), atyy shared a link to some code on github that will factor '15' but with a fixed initial guess. It's tough to factor bigger numbers and be more flexible on the initial guess because it takes 3x qubits to do the job and simulators are very limited due to current memory size.
I gave up implementing Shor's on the simulator that I wrote because with my 13 qubits max I could only hope to factor the number '15', too. It didn't seem worth the effort. We need faster processors and exabytes of ram to make it interesting (imo), or we can just wait for real quantum computers with a couple hundred error-corrected qubits :smile:.
 
Last edited:
  • Informative
  • Like
Likes   Reactions: berkeman and anorlunda
Excellent!
 
Greg Bernhardt said:
Would this be useful to add to PF Insights? @Bob Walance?
Greg - That's certainly okay with me. If you do that then, if you can, please use the attached updated pdf. There were a couple of spelling errors in the first draft (thanks to Tom.G for helping me out on this). There is now a 'r2' in the footnotes.
 

Attachments

  • Like
Likes   Reactions: Tom.G, gentzen, Greg Bernhardt and 1 other person
  • #13
I love the challenge to learn offered by this thread. Thank you @Bob Walance .I'm working my way carefully through Quantum Algorithm Implementations for Beginners linked in #2. I

I'm stuck on the notation in equation 11, page 18:5. I presume that the summation is for all possible values of X2 and X3, but I don't see how the notation says that.

1658146672686.png
 
  • Like
Likes   Reactions: PhDeezNutz
  • #14
##\left(x_2x_3\right)\in\{0,1\}^2## just means that the string ##x_2x_3## is from the set of all 2-tuples of numbers belonging to ##\{0,1\}##. The notation is similar to how you would use ##R^n## for a coordinate space, just replace ##R## with ##\{0,1\}## and n with 2.
Then, as you presumed, the "bra" vectors in the sum will be ##\langle0\mathbf{00}|, \langle0\mathbf{01}|, \langle0\mathbf{10}|, \langle0\mathbf{11}|##.
 
  • Like
Likes   Reactions: malawi_glenn and anorlunda
  • #15
Bob Walance said:
Summary: A document, for beginners, describing how quantum computers work with comparisons to conventional computers.

revisions for the attached PDF:
r3 - Changed all occurrences of the word 'conventional' to 'classical'. Headings are no longer all capital letters.
r2 - Fixed a couple of spelling and grammar errors.
Fun article. Thanks. How do I get access to a computer which will answer the question "what is the best possible method for getting humans to conceive only one child or less?" Thanks.
 
  • Skeptical
  • Like
Likes   Reactions: Photonics and Motore
  • #16
Rich Thomasy said:
How do I get access to a computer which will answer the question "what is the best possible method for getting humans to conceive only one child or less?"

No computer needed; it's called a chastity belt (or sterilization if you are a 'belt & suspenders' type of guy). :oldsurprised:
 
  • #17
Tom.G said:
No computer needed; it's called a chastity belt (or sterilization if you are a 'belt & suspenders' type of guy). :oldsurprised:
Fun reply. However, I was being serious.
 
  • #18
"Quantum computation and quantum Information" by Nielsen e Chuang.
Ssnow
 
  • #19
I have updated the PDF (now rev 4) with a few clarifications and corrections. Also, a table of contents has been added.
 
  • Like
Likes   Reactions: vanhees71, Greg Bernhardt and berkeman
  • #20
The PDF is now rev 6.
An appendix has been added that gives some details on a classical computer's simulation of a quantum computer.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 62 ·
3
Replies
62
Views
10K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
8
Views
5K