Git Product home page Git Product logo

qos-v0.1's Introduction

QOS v0.1

QOS(Quantum Operating System) is a softwave package for operating supperconducting quantum computers. This version of QOS is obsolete, a complete new version will soon be available: THE ALL NEW QOS

Code snippets

These are not pseudo code, not simulations, they perform real quantum computing experiments:

necessary imports are ignored

P = X2m(q)*I(q)*X2p(q);             % produces a process(a Ramsey experiment)
R = resonatorReadout(q);            % produces a state probability measurement
R.delay = P.length;
P.Run();                            % Runs the Ramsey process
result = R();                       % gets the measured state probability as 'result'
%%
P = X2m(q)*I(q)*X(q)*I(q)*X2p(q);   % Spin echo
P = (X(q1).*X(q2))*CZ(q1,q2);       % CZ leakage
%%
R = stateTomography({q1,q2});		   
data = R();                         % measures state tomo
R = processTomography({q1,q2},P);		
data = R();                         % measrues process tomo for process P
R = randBenchMarking(q,P,m,k);			
data = R();                         % measrues RB for gate P(one of the Clifford group)

code snippet that runs a Ramsey experiment on a real quantum processor

qos-v0.1's People

Contributors

oiwic avatar yulinwu avatar

Watchers

 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.