Giter Site home page Giter Site logo

cas's Introduction

CAS: Customized Annealing Schedules

This is a repo for constructing customized annealing schedules for flux qubits. The paper at arXiv:2103.06461 details the theory and methods that were used in this codebase.

Installation

First clone the repo using git clone , which copies all the contents of this package into a directory on your system. Next go to the repo directory, e.g., using cd CAS. Then run pip install . to install this package. You can also use pip install -e . to install the package in the 'editable' mode, which allows you to edit the source code and makes the changes immediately available for your use.

Before using the pip install, it is strongly recommended to create an isolated virtual environment and install the package in that environment. For instructions on creating python virtual environments, please see this article

Capabilities

It contains modules that can simulate the circuit model for Capacitively Shunted FLux Qubits (CSFQ) and tunable inductive couplers. It can then construct a circuit containing multiple CSFQs and tunable couplers that are coupled together.

For these circuits, the code can calculate the Pauli coefficients of the effective qubit models given a set of circuit magnetic fluxes. It can also calculate circuit magnetic biases that yield a given customized annealing schedule. For small circuits (depending on computer memory, typically 4 qubits and 4 couplers) the code can calculate the above using the full Schrieffer–Wolff (SW) method. For larger circuits, the code uses a pairwise-SW approximation to find the circuit biases and Pauli schedules.

Examples

The examples directory contains jupyter example notebooks that explain how different methods of the module are used. The examples/cas_paper directory includes the notebooks that were used to make the figures and plots of the paper at arXiv:2103.06461.

Contributions

Fork the repo for yourself, create a branch associated to your specific issue on your forked repo, push your changes to that branch, and then create a pull request to be merged onto the main repo.

Citation

If you use this code in your research, please cite its paper.

cas's People

Contributors

mostafakhezri avatar

Stargazers

Davide avatar Tibidabo avatar

Watchers

James Cloos avatar Huo Chen avatar Tibidabo avatar  avatar

Forkers

vinay-tripathi

cas's Issues

Features to be added

Below is a list of features to be added to the code:

  1. Extraction of the non-nearest terms. The calculate_ising_sw method does this for arbitrary Pauli terms, but of course only works for small systems where the full circuit H can be calculated.
  2. Calculate residual XX or XY terms. Again the calculate_ising_sw can calculate this for arbitrary Pauli terms, and just has to be added to a wrapper method for easier use. This one can be calculated for pair-wise method easily.
  3. Warning about breaking the qubit approximation (non-MRT) when qubit z-bias is tilted too much
  4. Calculation of geometric terms via adiabatic intertwiner or other methods.

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.