Skip to content

qdev-dk-archive/Qcodes

 
 

Repository files navigation

This is an abandoned fork of QCoDeS. Please use QCoDeS from https://github.com/qcodes/qcodes

QCoDeS Build Status DOCS DOI

QCoDeS is a Python-based data acquisition framework developed by the Copenhagen / Delft / Sydney / Microsoft quantum computing consortium. While it has been developed to serve the needs of nanoelectronic device experiments, it is not inherently limited to such experiments, and can be used anywhere a system with many degrees of freedom is controllable by computer. To learn more about QCoDeS, browse our homepage .

To get a feeling of qcodes browse the Jupyter notebooks in docs/examples .

QCoDeS is compatible with Python 3.5+. It is primarily intended for use from Jupyter notebooks, but can be used from traditional terminal-based shells and in stand-alone scripts as well. Although some feature at the moment are b0rken outside the notebook.

Status

QCoDeS is still in development, more documentation and features will be coming! The team behind this project just expanded. There are still rough edges, and gray areas but QCoDeS has been running without major issue in two long running experiments.

The most important features in the roadmap are:

  • a robust architecture that uses the full potential of your harwdare
  • a more flexible and faster data storage solution

Install

This is mostly for tech-y scientist, in general refer to here for installation.

PyPi

pip install qcodes

And see if you miss any dependencies.

Plotting Requirements

Because these can sometimes be tricky to install (and not everyone will want all of them), the plotting packages are not set as required dependencies, so setup.py will not automatically install them. You can install them with pip:

  • For qcodes.MatPlot: matplotlib version 1.5 or higher
  • For qcodes.QtPlot: pyqtgraph version 0.9.10 or higher

Developer-pyenv

Core developers use virtualenv and pyenv to make sure all the system are the same, this rules out issues and the usual "it works on my machine". Install pyenv on your OS see this .

$QCODES_INSTALL_DIR is the folder where you want to have the source code.

git clone https://github.com/QCoDeS/Qcodes.git $QCODES_INSTALL_DIR
cd $QCODES_INSTALL_DIR
pyenv install 3.5.2
pyenv virtualenv 3.5.2 qcodes-dev
pyenv activate qcodes-dev
pip install -r requirements.txt
pip install coverage pytest-cov pytest --upgrade
pip install -e .
py.test --cov=qcodes --cov-config=.coveragerc

If the tests pass you are ready to hack! This is the reference setup one needs to have to contribute, otherwise too many non-reproducible environments will show up.

Updating QCoDeS

from PyPi

pip install  --upgrade qcodes

Developer-pyenv/anaconda

cd $QCODES_INSTALL_DIR  && git pull

or if using GUIs, just pull the repo!

Docs

Read it here . Documentation is updated and deployed on every successful build in master.

We use sphinx for documentations, makefiles are provided both for Windows, and *nix.

Go to the directory docs and

make html

This generate a webpage, index.html, in docs/_build/html with the rendered html.

Contributing

See Contributing for information about bug/issue reports, contributing code, style, and testing

License

See License.

About

Modular data acquisition framework

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 94.7%
  • C++ 5.3%