Giter Club home page Giter Club logo

quantumstatetomography's Introduction

Quantum State Tomography

This is a simple library is dedicated to performing tomography on an arbitrary amount of qubits / qudits. It uses the Maximum Likelihood Technique as described in J.B. Altepeter et al. to approximate the density matrix of a given quantum state. It is able to perform QST on an arbitary amount of qubits and qudits. Please note that although it can perform these computations the approximation of quantum states can get worse as the amount of qubits / qudits scales.

Usage

This library is installable with pip. To import the library, run the following command:

pip install quantumstatetomography

In the library, there are two main classes that are used to perform quantum tomography. the QubitTomo() class and the QuditTomo() class. These are initialized in the following way:

import quantumstatetomography as qst
qubit_obj = qst.QubitTomo(n=2)

or

qudit_obj = qst.QuditTomo(n=1, dim=3)

The class is filled with many functions and attributes that allow you to perform tomography on your data and analyse its results both quantatively and visually. For a more comprehensive tutorial on how to use this library, please check out tutorial.ipynb!

Importing data

This library supports importing quantum tomography data. It is currently only available for the QubitTomo() class. You can import your data as an excel (.xlsx) file whose columns are the measurements taken and their respective counts. For more information on how to format your data, please refer to example.xlsx!

quantumstatetomography's People

Contributors

lanabozanic avatar

Stargazers

William Law avatar

Watchers

James Cloos avatar  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.