Skip to main content

scresonators

Welcome to the scresonators repository of the Boulder Cryogenic Quantum Testbed! This is a library for measuring the loss in superconducting resonators.

Installation

  1. clone the repository into a folder of your choice with git clone https://github.com/Boulder-Cryogenic-Quantum-Testbed/scresonators.git
  2. Install the dependencies, we strongly recommend using virtual environments for managing your dependences. To install dependencies run: pip install -r requirements.txt
  3. If you are running on Windows, install Microsoft Visual Studio before using the library

Using the library

Here's an example using some of the data hosted on this repository. Hosted datasets from groups around the world can be found here.

This particular example code is meant to be run in the root directory.

import numpy as np
import fit_resonator.functions as ff
import fit_resonator.Sdata as fsd
import fit_resonator.resonator as res

url = 'https://raw.githubusercontent.com/Boulder-Cryogenic-Quantum-Testbed/scresonators/master/cryores/test_data/AWR/AWR_Data.csv'

# Load the raw data:
raw = np.loadtxt(url, delimiter=',')

# Choose a fitting method:
fit_type = 'DCM'
MC_iteration = 10
MC_rounds = 1e3
MC_fix = ['w1']
manual_init = None
method = res.FitMethod(fit_type, MC_iteration, MC_rounds=MC_rounds,
                       MC_fix=MC_fix, manual_init=manual_init, MC_step_const=0.3)

# Fit the data:
fsd.fit("output test", method, normalize=10, data_array=raw)

Ane in depth description is given in the fit_resonators folder.

Code Organization

Until the module is officially distributed, all code should live in the fit_resonator namespace. This ensures easy integration with other Python packages, and avoids name collisions; everything is referred to as e.g. fit_resonator.experiments rather than just experiments.

Release files for scresonatorsTEST 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scresonatorsTEST 2.0.0
File Size Uploaded
scresonatorsTEST-2.0.0.tar.gz 42.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scresonatorsTEST 2.0.0
File Interpreter ABI Platform
scresonatorsTEST-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 87.4 kB

Release files / scresonatorsTEST-2.0.0.tar.gz

Download URL scresonatorsTEST-2.0.0.tar.gz
Size 42.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f4c55a44cd67ff5c26580dd171e3f875557c581f130d422da76b06c09e53aea7
BLAKE2b-256 checksum
How to use checksums
39c1c6932801da0165ab27534426707321431ceee3d1a5c26b7ed07f996cf3de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.0

Release files / scresonatorsTEST-2.0.0-py3-none-any.whl

Download URL scresonatorsTEST-2.0.0-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28d1c45cd0dc4f01ccd200ca1a178bc861e6f5d30d047a1e8f51059c04eed50c
BLAKE2b-256 checksum
How to use checksums
5f42161d04bcc07df971b5d83d93c5b448d06406b2ae554a83c5989b940c9215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page