Skip to main content

Quantum Color Centers Analysis Toolbox

Project description

Quantum Color Centers Analysis Toolbox

Logo

QuaCCAToo is a Python library for simulating and analyzing spin dynamics of color centers for quantum technology applications, without using rotating wave approximations. The software serves as an extension for QuTip, inheriting its object-oriented framework and the Qobj class. This way, the software combines accessibility from the high level of abstraction and human-readability of Python with the efficiency of compiled programming languages provided by Qutip's parallelization and the matrix algebra from Scipy and Numpy.

Documentation and usage tutorial available at https://qiss-hzb.github.io/QuaCCAToo/

Installation

We strongly recommend using a virtual environment (use whichever tool like venv/conda/uv that you prefer) so that the system Python remains untouched.

pip install quaccatoo

Check here for detailed installation instructions.

Class Hierarchy

The package is organized as follows:

  • QSys defines the quantum system of the problem. It has an obligatory intrinsic internal Hamiltonian $H_0$, optional initial state, observable and a set of collapse operators. On QSys, one can calculate the eigenstates and eigenvalues of the system. QuaCCAToo provides NV(NV_Sys) as a predefined system for nitrogen vacancy centers in diamonds, more systems will be provided soon.
  • PulsedSim contains the logic for performing the simulation of pulsed experiments upon a QSys object. It has attributes of a pulse sequence containing a set of pulses and free evolutions, control Hamiltonian $H_1$, experiment variable and simulation results. Many predefined common pulse sequences are given in PredefSeqs and PredefDDSeqs.
  • ExpData is a class to load experimental data and perform basic data processing.
  • Analysis can be used either on simulation or experimental results, with a series of methods like FFT, fits, data comparison and plotting.

Class diagram

Contribution guidelines

Any contribution or bug report are welcome.

  • To contribute, fork the main branch and make a pull request.
  • We use hatch/hatchling as the build backend. The other development dependencies include pytest and ruff. They can be installed by running pip install -e '.[dev]' from within the cloned repository. See here for details.
  • Properly document everything in details following the numpy docstring format.
  • Test your branch by running pytest and the tutorial notebooks. Feel free to add more tests.
  • Please pay attention to linter warnings (ruff check) and format your code with ruff format.
  • Module level refactors require corresponding changes in the sphinx setup, too.
  • Use US-English, not British-English. Eg: analyze instead of analyse, color instead of colour, center instead of centre.

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

quaccatoo-0.5.4.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quaccatoo-0.5.4-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file quaccatoo-0.5.4.tar.gz.

File metadata

  • Download URL: quaccatoo-0.5.4.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for quaccatoo-0.5.4.tar.gz
Algorithm Hash digest
SHA256 f8387a7da4c4e1b5ceca7611ef66c8b83e6a090526c1926f86322aa5c33fca0d
MD5 216b264673edb5b195d89371f523308a
BLAKE2b-256 acfc32d82a2d8a3ba84537ed98654c05a3db66e0fdd04fe7dda193f091082290

See more details on using hashes here.

File details

Details for the file quaccatoo-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: quaccatoo-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for quaccatoo-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8825f1b076399049d0c431e5c3caab54db43e2312c10e69df35abdfbabd805c
MD5 9554f907198a52d9f7e34e7fa7895c20
BLAKE2b-256 46edea889e3c7c12176c25d94823ce9516d13560160efd42752bd065f4ae7852

See more details on using hashes here.

Supported by

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