Spinsim: a GPU optimized python package for simulating spin-half and spin-one quantum systems

Alex Tritt, Joshua Morris, Joel Hochstetter, R. P. Anderson, James Saunderson +1 more
4/12/2022
quant-phcond-mat.quant-gas

Official code: alexander-tritt-monash/spinsim (7 stars, Python, BSD-3-Clause, last commit 2023-03-04).

Abstract

The Spinsim python package simulates spin-half and spin-one quantum mechanical systems following a time dependent Shroedinger equation. It makes use of numba.cuda, which is an LLVM (Low Level Virtual Machine) compiler for Nvidia Cuda compatible systems using GPU parallelization.

Show full abstract

Along with other optimizations, this allows for speed improvements from 3 to 4 orders of magnitude while staying just as accurate, compared to industry standard packages. It is available for installation on PyPI, and the source code is available on github. The initial use-case for the Spinsim will be to simulate quantum sensing-based ultracold atom experiments for the Monash University School of Physics \& Astronomy spinor Bose-Einstein condensate (spinor BEC) lab, but we anticipate it will be useful in simulating any range of spin-half or spin-one quantum systems with time dependent Hamiltonians that cannot be solved analytically. These appear in the fields of nuclear magnetic resonance (NMR), nuclear quadrupole resonance (NQR) and magnetic resonance imaging (MRI) experiments and quantum sensing, and with the spin-one systems of nitrogen vacancy centres (NVCs), ultracold atoms, and BECs.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
72Python, TeXNov 18, 20203 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{tritt2022spinsim,
  title  = {Spinsim: a GPU optimized python package for simulating spin-half and spin-one quantum systems},
  author = {Alex Tritt and Joshua Morris and Joel Hochstetter and R. P. Anderson and James Saunderson and L. D. Turner},
  year   = {2022},
  eprint = {2204.05586},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.05586}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.05586.svg)](https://codeofpaper.com/paper/2204.05586)

Discussion