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 of the five-qubit code is shown below.
python3 -m pip install qiskit
python3 -m pip install qiskit-aer
Go to the corresponding path then from your commandline, run:
python3 main.py
Some references that I found useful while implementing the five-qubit code.