GithubHelp home page GithubHelp logo

midway_quantum_trajectories's Introduction

quantum trajectories on UChicago midway

This repository contains all the code needed to execute massively parallel quantum trajectories on UChicago midway computating center.

The quantum trajectories technique involves rewriting the master equation as a stochastic average over individual trajectories, which can be evolved in time numerically as pure states. This avoids the need to propagate a full density matrix in time, and replace this complexity with stochastic sampling.

Quantum trajectories method is more computationally efficient for large system (Hilbert space >100), as it could directly leverage the massive parallelism provided by computing clusters.

The following shows the qubit ground state population under the action of a gaussian pulse.

This shows a single trajectory, where a quantum jump (excited state => ground state) happens stochastically in the middle of the pulse.

Single trajectory

By averaging 100 individual trajectories, the final results matches quantitatively with the master equation.

Average trajectory

This code leverages SciPy's sparse matrix methods, allowing fast quantum simulation of Hilbert space dimension of over thousands.

For reference of quantum trajectories, refer to this link.

login to UChicago midway

ssh **YOUR_CNetID**@midway1.rcc.uchicago.edu

get PuTTy for ssh if you are using Windows.

Clone this repository

git clone https://github.com/SchusterLab/midway_quantum_trajectories.git

Run file

cd midway_quantum_trajectories

cd batch

sbatch run.sbatch for running 1 trajectory

sbatch run_array.sbatch for running 100 trajectories all at once.

The run_array.sbatch script assigns 100 computation nodes to execute our program.

Check run status

squeue --user=**YOUR_CNetID**

Retrieve data

data stored at /data/qubit

midway_quantum_trajectories's People

Contributors

nelsonleung 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.