Hi, I heard about fault tolerant for QC. Can you help me know why?
Hello! If applicable, put your complete code example down below. Make sure that your code:
- is 100% self-contained — someone can copy-paste exactly what is here and run it to
reproduce the behaviour you are observing
- includes comments
# Put code here
If you want help with diagnosing an error, please put the full error message below:
# Put full error message here
And, finally, make sure to include the versions of your packages. Specifically, show us the output of qml.about()
.
Hi, @therealsqueezingpand
Welcome to the forum!
A fault-tolerant quantum computer is one that can properly work despite errors occurring. Those errors can happen for a variety of reasons given that there are many pieces of hardware involved. Unfortunately, any real world implementation will have errors.
For example, consider a situation where you were trying to implement a quantum circuit with several gates and qubits and an error happened (maybe a one of your basis states switch from 1 to 0), that error will propagate and render an incorrect computation
We need a way to correct these errors as the computation goes along! And luckily for us
, there is a whole field dedicated to Quantum error correction to achieve this fault-tolerance.
If you want to explore these subjects, there is a set of interactive modules in the Pennylane codebook dedicated to Quantum fault tolerance.
Let me know if this helped and/or you have any other questions.
Thank u @dangulom
so you’re saying if I have a bug in my code the fault tolerant quantum computer wlil fix it for me? Sounds amazing!! How does it know I made a mistake?
Not quite! that’s not what I meant
sorry for not being clear enough. A fault-tolerant quantum computer doesn’t fix programming bugs or logic errors in your code. It handles errors caused by quantum hardware imperfections.
I was saying that a quantum computer is a physical device, it is made up of many small pieces of hardware (for instance, waveguides of silicon). All of those parts, not completely isolated from the environment, have to work perfectly in order to perform computations to give correct and reliable results. But they rarely do so, they are very delicate, and even tiny interactions with their environment can introduce errors. For example, an operation performed into a qubit could affect other qubits by mistake or it can simply result in a slightly different operation than the intended one.
To detect and correct such errors, Quantum error correction codes perform “syndrome” measurements (see this module for an example). These measurements work like a diagnostic tool: they reveal information about the error without disturbing the encoded quantum information. For example, if a qubit flips unintentionally, syndrome measurements identify the flip so it can be corrected.
II hope this clears things up! Let me know if you have more questions 
I see, thank u @dangulom for the nice answer! This is a very interesting topic, i will have to read more 
1 Like