Dirac billiard solver

Version 1.0.4 (6.37 KB) by Jiale
The function computes the eigenstates and eigenvalues of a Dirac billiard (DB) with abitrary shape and of arbitrary potentials.
7 Downloads
Updated 10 Jul 2025

View License

The function computes the eigenstates and eigenvalues of a Dirac billiard (DB) with abitrary shape and of arbitrary potentials.
For details about the method, please consult jiale.sun@epfl.ch. The detail of the method is published on https://journals.aps.org/prb/abstract/10.1103/PhysRevB.111.165412
We appreciate your reference to this article if it is used for academic purpose!

Cite As

Jiale (2026). Dirac billiard solver (https://ch.mathworks.com/matlabcentral/fileexchange/180475-dirac-billiard-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.4

Fixed a bug that leads to when Nx not equal to Ny the code would not function well.

1.0.3

Updated reference article

1.0.2

Added an legacy version implemented in the paper.

1.0.1

Fixed a bug for multi-connected (two or more holes) billiard. The psedoinverse has to be taken for left matrix instead of right.

1.0.0