Qcodes is a Python-based data acquisition framework developed by the Copenhagen / Delft / Sydney / Microsoft quantum computing consortium.
The goal is a common framework for physics experiments, so:
- new students don’t need to spend a long time learning software in order to participate in experiments
- one has to write their own code only for pieces that are very specific to their own experiment
- code can and should be contributed back to the framework
- the process of moving between teams or labs, and of setting up a new experiment is streamlined
- physics experiments can take advantage of modern software and best practices
See how easy it is to run for yourself:
# imports import qcodes as qc from qcodes.tests.instrument_mocks import DummyInstrument # instantiate two dummy instruments # That would be your actual instruments in your application mock_dac = DummyInstrument('mock_dac', gates=['ch1', 'ch2']) mock_dmm = DummyInstrument('mock_dmm', gates=['v1', 'v2']) # optionally (but do it) put the instruments in a station station = qc.Station(mock_dac, mock_dmm) # define a measurement... loop = qc.Loop(mock_dac.ch1.sweep(0, 1, 0.05), 0).each(mock_dmm.v1) # ...run it! loop.run()
Many more elaborate examples can be found in the example notebooks.
- Getting Started
- Get Help
- User Guide
- Community Guide
- Classes and Functions
- qcodes.instrument_drivers package
- Qcodes project plan
- Examples of using QCoDeS
Copyright (c) 2015, 2016 by Microsoft Corporation and Københavns Universitet.
QCoDeS is available under the MIT open-source license :
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.