Created
August 3, 2021 17:23
-
-
Save nidhijadhav/fc25259ba5e46c70183a97e8441985b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After recieving Alice's qubit, Bob applies the decoding protocol | |
qc.cx(0,1) | |
qc.h(1) | |
# Bob measures his qubits to read Alice's message | |
qc.measure_all() | |
# Draw output | |
qc.draw() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment