Plot your spicy quantum measurements with ease
Project description
Qimchi
Plotly based data visualization tool for xarray data. Optimized to work with the qcutils package. Qimchi expects the data to be zarr formatted xarray files, documentation for handling these files can be found here.
Installation
With uv
☀️ RECOMMENDED ☀️
Install uv
Follow the official instructions from Astral's website. uv manages virtual environments and dependencies for you, making it easier to work with Python packages. For this project, we include the lock file which allows you to use the exact package versions we used to develop the package.
Install from pip
uv init measurement_name
cd measurement_name
uv add qimchi
This method should automatically generate a virtual environment and install the package with all its dependencies. To add more packages to the current measurement / project, you can use the uv add command. For example, to add qcodes to the current project, run:
uv add qcodes
uv automatically creates and manages the virtual environment for you.
Development install
git clone https://gitlab.com/squad-lab/qimchi.git
cd qimchi
uv add --dev .
This makes and installs qimchi in a virtual environment with all dependencies. If you would like to manually manage the virtual environment, you need to activate it.
Activate the environment
On MacOS or Linux
source .venv/bin/activate
Or for windows:
.venv\Scripts\activate
With pip
☀️ ALTERNATE METHOD ☀️
If you prefer pip for a more traditional installation, you can install dependencies manually, but we strongly recommend following the uv installation method above for better performance and dependency management.
Clone the repository
git clone https://github.com/squad-lab/qimchi.git
cd qimchi
Create and activate a virtual environment
On MacOS or Linux
python3 -m venv .venv
source .venv/bin/activate
Or for windows:
python3 -m venv .venv
.venv\Scripts\activate
Install the package
pip install -e .
Run Qimchi
Running qimchi is easy, after installing it in a suitable environment:
With uv
uv run -m qimchi
With base python
After activating the virtual environment, you can run the package with:
python -m qimchi
Measurements
An example measurement for testing the package is included as measure.py. Running this requires qcutils, our own measurement framework. An example measurement is included in the test directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qimchi-0.0.14.tar.gz.
File metadata
- Download URL: qimchi-0.0.14.tar.gz
- Upload date:
- Size: 94.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bbe845948bd73f7cea76d7eb0353f82e86849b46d5b9a08b6107fb9568334be
|
|
| MD5 |
eb84fded79951ce740c300825d035763
|
|
| BLAKE2b-256 |
ad9f7cd62eaf1bc9de775bbf4c63dc1419ccb6766469eb31bd2bdc20bc95170c
|
File details
Details for the file qimchi-0.0.14-py3-none-any.whl.
File metadata
- Download URL: qimchi-0.0.14-py3-none-any.whl
- Upload date:
- Size: 101.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7ac18304e8e84229f3c6a61347951d7fcf318a0d8d9a16a41df62cde88ee7cd
|
|
| MD5 |
f85b341fcf9e6ac05524eff9604871d8
|
|
| BLAKE2b-256 |
ecae62b1e40902598a42e03275bc7b9dd812ffc78eb24b7d90552fad4b102788
|