Code Monkey home page Code Monkey logo

quantum_error_correction's Introduction

Quantum Error Correction Simulation

This repository contains code and resources for simulating quantum error-correcting codes.

Project Structure

  • 3qubit_code/Basic 3 qubit code.ipynb: Jupyter notebook containing the simulation code for the 3-qubit bit flip code for simple bit flip errors. The simulation is carried out using linear algebra with numpy, and the results are visualized to understand the performance of the error correction code against random bit flip errors.

  • 3qubit_code/3 Qubit Code with Relaxation Errors.ipynb: Jupyter notebook building upon the functions defined in 3qubit_code/Basic 3 qubit code.ipynb. This notebook focuses on simulating relaxation errors (T_1 errors) and plots the lifetime of physical qubits vs. logical qubits. Accompanied by 3qubit_code/relaxation3qubitcode.py, which includes functions used in the notebook.

  • 3qubit_code/3 Qubit Code with Depolarization Errors.ipynb: Jupyter notebook building upon the functions defined in 3qubit_code/Basic 3 qubit code.ipynb. This notebook focuses on simulating depolarization errors and simulates the average fidelity of the logical qubit over cycles. Accompanied by 3qubit_code/depolarization3qubitcode.py, which includes functions used in the notebook.

  • Surface_Code/Surface Code Introduction.ipynb: Utilizing qiskit, a Jupyter notebook containing an introduction to the Surface Code. Starting with the basic concepts of X and Z stabilizer measurements, and then introducing the 7-qubit error detection Surface Code (distance = 2).

  • Surface_Code/Distance 3 Surface Code.ipynb: Juypter notebook building upon the concepts introduced in the previous notebook by introducing the 17 qubit Surface code (distance = 3).

  • Bosonic_Modes/GKP code.ipynb: A Jupyter notebook that provides a brief introduction to Gottesman-Kitaev-Preskill (GKP) codes and their application in quantum error correction. This notebook demonstrates how GKP codes can be used for error correction in bosonic modes.

quantum_error_correction's People

Contributors

gnperdue avatar samgodwood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.