Skip to main content

qfit: data extraction GUI tool for use with scQubits

Project description

QFit: Interactive Parameter Fitting for Superconducting Circuits

Notice: This package is currently in beta testing. Bugs and issues are expected. We greatly appreciate your feedback and bug reports to help us improve.

Developers: Tianpu Zhao, Danyang Chen, Jens Koch

UI/UX designer: Tianying Lyu

Overview

QFit is your go-to Python application for extracting parameters of superconducting circuits from measured spectroscopy data. Following the four-step workflow, you can get your circuit parameters in no time:

  1. Calibration: QFit helps to establish the mapping from voltage (your experimental tunable input) to circuit parameters (your simulation ingredients).

  2. Point Extraction: With just a click, you can locate the peak of the spectrum sweep data with computer-assistance. The extracted data can be simply grouped as a transition and labeled. QFit even provides filters and coloring options for enhancing data visualization.

  3. Interactive Pre-fit: See your numerical model result and the data on the same plot for intuitive comparison. Adjust the numerical simulator with simple sliders to improve your fit.

  4. Automated Fitting: With one click, let the numerical optimizers do the work. You can easily configure your fitting: adjust which paramters are fixed or free, set their range, and more.

QFit supports a wide variety of circuit quantum electrodynamic systems, thanks to the powerful Python library scqubits as its backend simulator. Once you've extracted your parameters, you can pass them directly to scQubits for any further numerical simulations you need to do.

Join us in refining QFit during its beta phase! Your insights and reports are invaluable in making QFit a robust tool for this community. Dive in and explore what QFit can do for you, and let us know your experience!

Installation and Usage

Follow these steps to install QFit:

  1. (Optional but highly Recommended) Create a virtual environment with python (version > 3.10). If you are using conda, run on terminal
    conda create -n <env name> python=3.10
    conda activate <env name>
  1. On terminal, install QFit by
    pip install qfit

Once done, the application can be launched in a jupyter notebook session via

    from qfit import Fit
    Fit(<HilbertSpace>)

where <HilbertSpace> is a scqubits.HilbertSpace object, the circuit model you want to fit against.

Check out the notebook QFit_Quick_Start.ipynb for a quick intro tutorial, and QFit_Advanced_Tips.ipynb for further information.

License

license

You are free to use this software, with or without modification, provided that the conditions listed in the LICENSE file are satisfied.

qfit uses Qt library under license GNU Lesser General Public License v3.0.

qfit uses CoreUI icons and Font Awesome icons licensed under CC BY 4.0, and SVG Reop icons licensed under the MIT 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qfit-2.0.3.tar.gz (60.9 MB view details)

Uploaded Source

Built Distribution

qfit-2.0.3-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

Details for the file qfit-2.0.3.tar.gz.

File metadata

  • Download URL: qfit-2.0.3.tar.gz
  • Upload date:
  • Size: 60.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for qfit-2.0.3.tar.gz
Algorithm Hash digest
SHA256 e8f3e567e95aa71b777497b5788149ae23c2fbffe70d29ebad7637f39e9415c2
MD5 7d5bc5123174dc6a67f35493e232ae0f
BLAKE2b-256 8419f1c393e6ea5e3585a43d7604591a23913257812f3397e9727e25756bb18b

See more details on using hashes here.

File details

Details for the file qfit-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: qfit-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for qfit-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 356770902b6a9ae350b683ad21cfeba391d5cbfb96511c5340d261578b850776
MD5 411b806855bd40b16d5bf05fab251c2b
BLAKE2b-256 f4a71e9fd476ee30e16ea8881862214632c51fa58cfb1eb8a7dc62501e95963d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page