ScatterWorks: A Python package for building and solving scattering network models
ScatterWorks is an open-source Python package that facilitates the flexible construction and efficient solution of scattering network models for studying non-interacting transport and wave-propagation phenomena in disordered and topological systems, featuring composable operations, sparse matrix support, and visualization utilities.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a vast, tangled web of pathways where tiny waves of energy travel, bouncing off junctions and weaving through a landscape of disorder. This is the world of network models, a powerful way physicists describe how electricity or light moves through materials that are not perfectly uniform. Instead of tracking every single atom, scientists map these systems as a series of connections and junctions. At each junction, the waves split and recombine according to specific rules, much like water flowing through a complex system of pipes and valves. This approach has become essential for understanding strange states of matter, such as those found in twisted layers of carbon atoms or materials where electrons get trapped in place by disorder. However, building these digital maps has traditionally been a laborious task, often requiring researchers to write custom code for every new shape or pattern they wanted to study. This made it difficult to compare different systems or to explore the most complex geometries where the most interesting physics often hides.
To solve this problem, a team of researchers at Delft University of Technology has created a new open-source software tool called ScatterWorks. Think of this package as a universal construction kit for these wave networks. Before this tool existed, changing the shape of a network or the way its parts were connected often meant rewriting the core logic of a simulation from scratch. ScatterWorks changes that by allowing scientists to build complex networks using simple, reusable building blocks. A researcher can start with a small, basic unit, much like a single tile, and then use the software to copy, paste, and rearrange these tiles into vast, intricate structures. The software handles the heavy lifting of connecting the pieces, ensuring that the rules for how waves scatter at every junction remain consistent, whether the network is a simple loop or a massive grid with millions of connections.
The power of this tool lies in its ability to handle two very different types of problems with equal ease. First, it can work with symbolic mathematics, allowing researchers to keep variables like reflection and transmission rates as abstract symbols rather than fixed numbers. This lets them derive exact, analytical formulas for how a system behaves, essentially solving the puzzle on paper but with the help of a computer to manage the complexity. The authors demonstrated this by building a model of a Fabry–Perot interferometer, a device where light bounces between two mirrors. Using the software, they were able to reconstruct the known mathematical formula for how light transmits through this device, proving the tool works for theoretical derivations.
Second, the package is built to handle massive numerical simulations where exact formulas are impossible to find. Here, the software assigns specific numbers to the scattering rules and calculates how waves move through a disordered landscape. The team tested this by simulating the Chalker–Coddington model, a famous network used to study the transition between insulating and conducting states in the quantum Hall effect. In these simulations, the researchers introduced random disorder and watched how the conductance, or the ability of the material to carry current, changed as they tweaked the scattering rules. The software successfully reproduced the expected behavior: at a specific critical point, the conductance peaked at a value of approximately 0.5 times the fundamental quantum unit of conductance, a result that matches decades of theoretical predictions.
What makes ScatterWorks particularly effective is its use of a specialized mathematical technique that allows it to solve these problems without running out of memory, even when the networks become enormous. By treating the connections as sparse, meaning most of the possible links are empty, the software can focus its computing power only on the active pathways. This efficiency allows researchers to study systems that are far larger than previously possible, opening the door to more precise measurements of how disorder affects transport. The package also includes visual tools that let scientists see the network they have built, hovering over nodes to check labels and connections, which is crucial for debugging complex geometries.
The results presented in the paper show that this tool is not just a convenience but a significant step forward in making network models accessible and robust. The authors have verified their code against known analytical solutions and established numerical benchmarks, ensuring that the results are reliable. By providing a unified environment where one can switch between symbolic derivation and large-scale simulation, ScatterWorks removes the barrier of technical complexity that has kept many researchers from using these powerful models. As the software continues to evolve, it promises to make the study of wave transport in disordered and topological systems a more routine and collaborative part of modern physics, allowing scientists to focus on the physics rather than the mechanics of building their models.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.