kevinkuns / qlance

Optomechanical, quantum noise, and control loop simulations with Optickle and Finesse
4 stars 3 forks source link

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.

Setup

  1. Install QLANCE using pip by downloading the latest release from this repository and using

    pip install --user qlance-version.tar.gz
  2. 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.
  3. If you want to use Finesse simulations, install Finesse and pykat as described here.

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