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 NVSys 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.
  • 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.6.2.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.6.2-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quaccatoo-0.6.2.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.6.2.tar.gz
Algorithm Hash digest
SHA256 8170b33e3d886bf3eaed76ce1ab9e8c34b5bf42fec2f972ba0cce3718accdc40
MD5 980bab30977b59f0033018795075c62d
BLAKE2b-256 5ed9a907792d81b9739fda2743df1ea6beb3c551e8d5a742ee7d54151779f874

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for quaccatoo-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02625de08916adac94213c8558af53ae5d1cbd89e721690e64199eb80dbe78a5
MD5 ed65dc2588eae788d3f756581df62f44
BLAKE2b-256 38f73e0db4f233df5dcf62f3dbbb31d6b15f7a35402b82d163c8262518d76f24

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