In her lab, Alice can initialize her two auxiliary qubits (on wires 1 and 2) to
Once the qubits pass through the noisy communication channel and Bob receives them, he will have to decode the message, so that the first qubit (wire 0) again takes on the value Alice tried sending,
In this exercise, you are asked to code the quantum circuit Alice needs to use to encode the qubit into a logical qubit and then. After the bit flip errors, you must also write down the procedure Bob uses to decode Alice's message.
Look at the theory part! Remember that you can use the qml.CNOT
and qml.Toffoli
gates to build the encoding and decoding circuits. If you get stuck, use a simple example to help you go through the circuit!
To interact with codercises, please switch to a larger screen size.
Learning Objectives: