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.7.0.tar.gz (36.3 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.7.0-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quaccatoo-0.7.0.tar.gz
Algorithm Hash digest
SHA256 70d344adea133ab7a6b16ab95b2047445717b2298e63bd38f74ea022f5aebf38
MD5 f9eaf40e8a625768c24f55532c21adbb
BLAKE2b-256 33f05feba9b5281fdf090f4168625a903e75975d6f8a8271cfbe2179ac447473

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quaccatoo-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24abd38c0db082854949c4479ab12e7fcb5d87803649f54572daaf3e3b4fd999
MD5 af468a025de8ace3b9c88353fbac58d3
BLAKE2b-256 f5aeeb77b053d6fda872a3840d35f00066c0fd732412fa6b830482d372d35bc6

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