GithubHelp home page GithubHelp logo

diegobersanetti / qlance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevinkuns/qlance

0.0 1.0 0.0 2.19 MB

Optomechanical, quantum noise, and control loop simulations with Optickle and Finesse

Python 94.40% MATLAB 5.60%

qlance's Introduction

Quantum optomechanics Loop Analysis and Noise Calculation Engine

QLANCE is a python package that simulates optomechanical systems and quantum noise using the Optickle and/or Finesse packages. It adds functionality to these programs making them more user friendly and making it easier to compare the results. QLANCE also models control loops involving optomechanical plants defined by either Optickle or Finesse and can find state space and zpk representations of these plants.

  • Optickle is a MATLAB-based optomechanical simulaton package. In order to use these simulations, QLANCE thus requires Matlab to be installed; however, the user only ever needs to use python while Matlab runs in the background. MATLAB only needs to be installed to run the Optickle simulations and is not needed for the Finesse simulations or the control loop calculations.
  • Finesse is a C-based optomechanical simulaton package that can also be run entirely in python.
  • Parts of the architecture of QLANCE's native control loop simulations are inspired by a study of the advanced LIGO angular sensing and control system and lentickle, another MATLAB package which is not needed to run QLANCE.
  • State space and zpk representations of the optomechanical plants are found through an interface with IIRrational.

Setup

  1. Install QLANCE using pip by downloading the latest release from this repository and using
pip install --user qlance-version.tar.gz
  1. If you want to use Optickle simulations

    1. Clone Optickle2 from this repository.
    2. Install the python MATLAB engine as described here
    3. Optionally, set the variable OPTICKLE_PATH to the path to the Optickle2 directory.
  2. If you want to use Finesse simulations, install Finesse and pykat as described here.

  3. If you want to find state space representations of the optomechanical plants, install IIRrational as described here.

Getting Started

  1. See the examples for basic usage.

    1. Start with the Fabry Perot examples for basic model building and analysis examples.
    2. Look at the FPMI examples for a detailed MIMO control loop example.
  2. See here for an incomplete discussion of the differences between Optickle and Finesse.

  3. See here for a reference of the QLANCE control loop topology.

qlance's People

Contributors

kevinkuns avatar

Watchers

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