Skip to content

bernwo/five-qubit-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Five qubit code

This repository contains my implementation of the (non-fault tolerant) Five-qubit error correcting code using Qiskit package for Python.

This python program is useful to check that the five-qubit code indeed produces non-degenerate outcomes from the syndrome measurements.

The quantum circuit

The quantum circuit of the five-qubit code is shown below.

5_qubit_code_qcircuit

Prerequisite

python3 -m pip install qiskit
python3 -m pip install qiskit-aer

How to run?

Go to the corresponding path then from your commandline, run:

    python3 main.py

References

Some references that I found useful while implementing the five-qubit code.