Tanvir M. Mahim

Software

General-purpose research tools, released with tests, archived with DOIs.

Seven research tools grew out of the research projects. All are maintained under the TaN-MM-Org organization and installable with a single pip command. They share one rule: every physics claim in a release is backed by an automated test that runs publicly at every change, textbook results are reproduced by the code rather than assumed, every built-in physical constant carries a citation to its source, and each release is archived on Zenodo under its own DOI. Each package also states plainly what it does not do yet.

ramansep

Raman maps of 2D materials · separating strain from doping

When an atomically thin material such as MoS2 is stretched, or gains extra electric charge, its Raman peaks shift — but both effects shift the same peaks, so a single measurement cannot tell them apart. ramansep untangles the two by combining peaks that respond differently, turning a Raman map into separate maps of strain and charge, each with honest error bars. It can also combine more than two peaks, and then it checks itself: it flags any pixel where strain and charge alone cannot explain the data, which no two-peak analysis can do. It ships published coefficient sets for MoS2 and graphene, and its test suite reproduces the edge-charge result of the nanoribbon study on the Research page.

pip install ramansep

kpenvelope

Nitride semiconductors · confined holes in layered structures

Calculates how holes (missing electrons) behave when trapped in thin layered stacks of nitride semiconductors such as GaN and AlN — the physics behind the hole-mass study on the Research page. It solves the standard six-band quantum model of the valence bands together with the electrostatics of the trapped charge, using published, cited material parameters. Recently added: realistic finite barriers, so a neighbouring layer no longer has to be treated as an impenetrable wall — material properties can change from layer to layer, and the results are checked against exact textbook solutions.

pip install kpenvelope

sqzcomb

Microcombs · squeezed light · quantum noise

Tiny ring resonators can produce "squeezed" light — light whose noise, measured the right way, drops below the usual quantum limit, a resource for precision measurement and quantum computing. sqzcomb predicts how much squeezing a detector will actually see from such a ring, including everything that eats it along the way: losses, imperfect detectors, and how the light is extracted. It covers pairs of coupled rings, which its test suite drives past the well-known single-ring extraction limit, and it can also quantify the quantum entanglement between pairs of comb lines. Its tests reproduce textbook results to ten decimal places.

pip install sqzcomb

absnoise

Superconducting junctions · noise limits of thermal detectors

In certain superconducting devices, the current is carried by a handful of quantum levels whose occupation flickers randomly even in perfect equilibrium. absnoise computes that intrinsic flicker and what it means for using such devices as extremely sensitive thermometers and photon-energy detectors: how precisely temperature can be read, how much noise is unavoidable, and where the fundamental limits sit. It ships cited fabrication recipes for real graphene devices. It also works in reverse: given a noisy measured readout record, it recovers the hidden level occupation and the device's flip rates, with tested statistical guarantees.

pip install absnoise

cavsqueeze

Spin ensembles in resonators · spin squeezing

Simulates how an enormous number of atomic spins inside a resonator can be steered into a collectively quieter, "squeezed" state — a route to better clocks and magnetometers. Its solver's cost is set by the shape of the spin ensemble rather than its size, so 1015 spins are no harder than a thousand, and it cross-checks itself against exact solutions for small ensembles and against an independent second method. Developed for 171Yb3+:CaWO4 crystals and applicable to any spin ensemble coupled to a resonator, it also translates its results directly into the numbers an experiment is designed against — clock stability and magnetic-field sensitivity — and exports its states into the widely used QuTiP toolbox.

pip install cavsqueeze

SPARQ

Single-photon emitters · automated screening

Finding a good single-photon emitter — the light source behind many quantum technologies — means measuring hundreds of candidate spots, most of them useless. SPARQ automates that screening. It simulates the standard photon-correlation measurement faithfully, analyzes real measured data with honest uncertainties, and decides on the fly how long to keep measuring each spot, stopping the moment the evidence is sufficient instead of waiting out a fixed dwell time. It also includes machine-learning agents that learn the screening strategy itself. The physics core is tested against exact references, ships literature-anchored settings for NV, hBN, GaN and SiV emitters, and lets you register your own emitter platform.

pip install sparq-triage

hamop

Materials modelling · one model, every property

Many properties of a material — its electronic energy levels, how it absorbs light, how well it carries current, even subtle "topological" properties — are usually computed by separate programs with separate conventions, and the answers can quietly drift apart. hamop computes all of them from one and the same simple model of electrons hopping between atoms, so they cannot disagree with each other by construction. It handles magnetic fields, spin, disorder and very large systems, and its defining habit is distrust of itself: every physical claim in the package is pinned by an automated test against an exact textbook result — over a hundred of them — and several key quantities are computed by two independent routes that must agree. It was distilled from the modelling pipeline behind the MoS2 defect study, generalized so any material model can be pushed through it.

pip install hamop

Citing the tools

Each repository carries a CITATION.cff file with citation metadata that GitHub renders directly, and each release has its own Zenodo DOI. If one of these tools contributes to a publication, please cite the versioned DOI you used.

Contributing

Issues and pull requests are welcome on each repository. The contribution bar is the same as the release bar: a change that touches physics arrives with a test, and constants arrive with their source.

Support this work

This software is developed at the Department of Electrical and Electronic Engineering, BRAC University, and released openly under the Apache-2.0 license. The Support page lists every way to help, from citing the tools to a small monthly donation.

Support this work