Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.04 KB

readme.md

File metadata and controls

35 lines (22 loc) · 1.04 KB

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.