Coder Social home page Coder Social logo

kestrelquantum / piccolo.jl Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 3.0 11.14 MB

A convenience meta-package for quantum optimal control using the Pade Integrator COllocation (PICO) method

License: MIT License

Julia 100.00%
direct-collocation iterative-learning-control julia optimization quantum-computing quantum-optimal-control trajectory-optimization

piccolo.jl's Introduction

logo

Unitary Fund

"Technologies are ways of commandeering nature: the sky belongs to those who know how to fly; the sea belongs to those who know how to swim and navigate." – Simone de Beauvoir

Description

Piccolo.jl is a meta-package for quantum optimal control using the Pade Integrator COllocation (PICO) method.

For documentation please see the individual packages.

JuliaCon 2023 Talk

To see an overview of the PICO method and a demo of how to use this package, check out our recorded talk at JuliaCon 2023 here.

Direct Collocation for Quantum Optimal Control

To see a detailed description of the PICO method, check out our paper here. It won 2nd best paper in the QTEM category at IEEE QCE 2023!

Usage

Just run

using Piccolo

and this package reexports the following packages

Installation

This package is registered! To install enter the Julia REPL, type ] to enter pkg mode, and then run

pkg> add Piccolo

Local Development

To develop locally, clone this repo and then instantiate the environment in the REPL by running first

pkg> activate .

and then,

pkg> instantiate 

Both commands should be run in pkg mode, which is activated by typing ] in the REPL.

To start julia with the current environment, run

julia --project

from the Piccolo.jl directory.

To run the scripts use, e.g.,

julia -t <num_threads> --project examples/three_qubit_swap/swap.jl

where <num_threads> is the number of threads you want to use as QuantumCollocation.jl takes advantage of multithreading. The --project flag is necessary to make sure the correct environment is loaded.

piccolo.jl's People

Contributors

aarontrowbridge avatar nathanshammah avatar

Stargazers

Andy Goldschmidt avatar Amit avatar Peter Morgan avatar Bram Evert avatar Furkan Yazıcı avatar M. Sahnawaz Alam avatar Huai-Ming Yu avatar Rabqubit avatar Spencer Lee avatar husisy avatar Hong-Ye Hu avatar jist avatar Clinch Leatherwood avatar Ye Jun avatar Alastair Marshall avatar Anurag Saha Roy avatar Aditya Bhardwaj avatar Daniel Volya avatar Michael Goerz avatar

Watchers

 avatar

piccolo.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

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.