Giter VIP home page Giter VIP logo

qhack_toric_code's Introduction

Realizing topologically ordered states on a quantum processor

This repo contains reimplementaton of the paper "Realizing topologically ordered states on a quantum processor" by Satzinger et al. in Qiskit.

The systems of size up to 5x7 (31 qubit+ancilla) can be simulated on the classical computers, reproducing the results of the

GS preparation

Matching boundary conditions

For matching boundary condition, boundary plaquettes are all of the same type and the ground state is unique. We implement linear algorithm for preparing ground state of the toric code proposed in the paper.

Mixed boundary conditions

For mixed boundary condition, boundary plaquettes are of different types, and there is ground state degeneracy, which allows us to encode logical qubits in the system state. Not implemented yet.

Entropy and topological entropy

We implement the measurement of the second Rényi entropy as described in paper, and use it to calculate topological entropy, acquiring non-trivial value for various subsystems.

For 2x2 and 2x3 subsystem it is possible to perform determenistic calculation, while for 3x3 system only randomized calculation is feasible.

Braiding

There are 4 particle types in toric code: e, m, psi and 1, for total of 6 possible mutual statistics and 3 exchange statistic. Out of those 4 are non-trivial -- em, epsi, mpsi and psipsi, resulting in phase of π.

We implement the required operators (without optiimization), and demonstrate part of the braidings and exchanges.

Logical qubit.

Not implemented yet.

qhack_toric_code's People

Contributors

randl avatar nikita-astronaut avatar meandmytram 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.