r/QuantumComputing • u/No-Contribution1070 • 1d ago
Quantum Information Seeking Advice - Quantum Coding
Hey guys, I am new to the Quantum Computing world and I was wondering if I can steal the ears (eyes in this case) of a professional who is very familiar with the topic.
- What really is quantum computing? (Srry)
- Will this tech replace classical stacks like GPUs or work along side with it
- Is Quantum Computing just a buzz word, or is the tech legit and how far we from true net positive computers?
- What is quantum coding? how does it differ from regular coding exactly? Is it harder, easier, what does it look like? (Please provide an example of line of quantum code if you can)
- What are the current top quantum coding platforms out there right now?
- Where does one start to learn?
Thank you in advance for your time.
3
Upvotes
17
u/sinanspd 1d ago
While we welcome all questions, please at least attempt to answer questions on your own. You are essentially asking for quarter of a book worth of answers if we were to get into detail. Most of these can be answered with a google search. So here are some surface level answers.
What really is quantum computing?
Too big of a question to answer. Many introductory videos exist that explain this. Tl;dr is it uses properties of quantum mechanics to develop alternative computational methods that can be executed on these specialized devices.
Will this tech replace classical stacks like GPUs or work along side with it
They are complementary.
Is Quantum Computing just a buzz word, or is the tech legit and how far we from true net positive computers?
We have functional quantum computers. They are just too small to do anything useful or practical, and then there is also the unsolved question of what a real useful application would be. Use cases we know of are limited.
What is quantum coding? how does it differ from regular coding exactly? Is it harder, easier, what does it look like? (Please provide an example of line of quantum code if you can)
Depends on what level you are operating at. The common abstraction used is circuits. You can find examples in IBM's documentation.
What are the current top quantum coding platforms out there right now?
Each provider have their own platform. IBM Quantum, Amazon Braket, Azure Quantum are the big 3 that bring multiple programmable devices together, then there are the smaller provider-specific/3rd party ones.
Where does one start to learn?
Depends on your background. If you are strong on math (linear algebra), start with Nielsen & Chuang, if you aren't, IBM has a bunch of introductory videos on youtube.
2
u/dark_blue_thunder M.Sc. Physics 1d ago edited 1d ago
Quantum computing is computation using the laws of quantum mechanics. It starts with a qubit (quantum bit), which, in contrast to a classical bit, can be in a superposition of the states $|0⟩$ and $|1⟩$. There are infinitely many possible superposition states, but this does not mean you can store and read out unlimited classical information. When you measure a qubit in the computational basis, you obtain either 0 or 1. For n qubits, the state-space dimension scales exponentially as $2^n$, but measuring all of them once gives you an n-bit outcome not access to all the state’s amplitudes.
Quantum computers are expected to work alongside classical computers, including CPUs and GPUs, rather than replace them generally. Their potential advantages are for particular problems.
One of the issues in quantum computing is scaling. Qubits are basically two-level quantum systems, and superconducting qubits, for example, are very sensitive to environmental noise and temperature. Decoherence is already an issue for individual qubits, and preserving coherence while scaling is challenging. Recently, IBM connected two quantum processors, demonstrating an average quantum state-transfer fidelity of 99% across the links.
That was an important milestone towards modular scaling, although it doesn’t solve all the scaling challenges.
The technology is real, and some quantum algorithms were developed before suitable quantum hardware existed to run them at a useful scale. Companies have ambitious commercial roadmaps, but no one can guarantee the timeline. Whether a quantum computer provides a practical net benefit depends on the application and its total costs, accuracy, and performance compared with classical alternatives.
As in regular electronics, where we have AND, OR, NAND, NOR, and NOT gates, in quantum programming we have quantum gates. These transform qubit states. A gate acting on k qubits is represented by a ${2^k} \times {2^k}$ unitary matrix. Physically, for superconducting qubits, many gates are implemented using microwave pulses; others also involve tuning interactions between qubits.
For example, in Qiskit:
from qiskit import QuantumCircuit
This builds a circuit; it doesn’t execute it yet. Ideally, repeated executions would give approximately 50% zeros and 50% ones.
ASCII diagrams (generated by AI):
Qiskit is a good starting platform for beginners, in my opinion. Other options include Cirq and PennyLane.
In my case, I started with books on quantum mechanics, linear algebra, quantum computing theory, and Python programming. You don’t need to finish all of quantum mechanics before trying simple circuits; you can learn the theory and programming alongside each other.
(Use Obsidian to view the reply properly)
2
u/Magnetic-War1529 1d ago
Check out the articles NIST puts out on their website, they do a lot of explainers and go super in depth if that’s what you’re looking for, but also have accessible descriptions
2
u/jack-dawed 1d ago
definitely do the IBM quantum computing course. in grad school, i was doing research in post quantum cryptography for my lab and had not been exposed to quantum b4 so i just did that course as a primer.
this answers 6, and it should answer the rest of your questions too.