Q-GAIN: A Python Package for Machine Learning and Physically Informed Analysis Applications

M. Doris, S. Guo, S. M. Koh, L. Ritter, A. R. Fritsch +3 more
7/2/2026
cond-mat.quant-gascs.LG

No confident code implementation found for this paper.

Abstract

Here we describe the quantum gas analysis and inference (Q-GAIN) Python package, which enables rapid deployment of machine learning (ML) and physics-informed analysis techniques for cold-atom experiments. Out of the box, Q-GAIN implements classification, object detection, and physics-informed metrics for feature detection in images of atomic Bose-Einstein condensates (BECs).

Show full abstract

Q-GAIN encourages a natural, module-based workflow: starting with data loading and preprocessing, followed by ML-based feature identification, and ending with conventional analysis techniques. We demonstrate this modularity by configuring Q-GAIN for three ML tasks. First, we demonstrate the basic workflow of the Q-GAIN framework by implementing the standard task of classifying handwritten digits from the MNIST dataset. Then, we re-implement our earlier soliton detection (SolDet) package in the Q-GAIN framework, enabling the detection and analysis of solitonic excitations in time-of-flight data. Finally, we develop an object-detection tool that identifies quantized vortices in images of ring-shaped BECs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{doris2026qgain,
  title  = {Q-GAIN: A Python Package for Machine Learning and Physically Informed Analysis Applications},
  author = {M. Doris and S. Guo and S. M. Koh and L. Ritter and A. R. Fritsch and S. Mukherjee and I. B. Spielman and J. P. Zwolak},
  year   = {2026},
  eprint = {2607.02413},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.02413v1}
}

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/2607.02413.svg)](https://codeofpaper.com/paper/2607.02413)

Discussion