Skip to content

A GPU-Native Atom-Resolved Framework for Moiré Analysis of Twisted Bilayer Graphene

Seongin Kim, Yong-Gak Kim, Sungho Choi, Jinyeong Wang, Sangyun Lee

cond-mat.mes-hall

Abstract

Atom-resolved modeling of twisted bilayer graphene (TBG) becomes increasingly demanding as the twist angle decreases and the characteristic moiré length scale grows. We develop a GPU-native computational framework for atom-resolved structural analysis of rigid TBG using NVIDIA Warp, coupled to NVIDIA Omniverse for interactive visualization. Atomic coordinates are generated and updated directly on the GPU, and local interlayer displacements are reduced modulo the graphene primitive lattice to classify AA-, AB-, and BA-like stacking environments. Bond-connected AA-like sites are grouped into individual domains, from which representative AA centers are identified. The moiré length is characterized using the minimum and mean distances, Lmin⁡L_{\min} and LaveL_{\mathrm{ave}}, between a representative central AA domain and its six lattice-neighbor AA domains. Over the investigated twist-angle range 0.5∘≤θ≤3.0∘0.5^\circ \leq θ\leq 3.0^\circ, the calculated moiré lengths follow the analytical geometric relation Lm=a/[2sin⁡(θ/2)]L_{\mathrm{m}}=a/[2\sin(θ/2)], with maximum absolute relative errors of 5.00\% for Lmin⁡L_{\min} and 2.06\% for LaveL_{\mathrm{ave}}. GPU performance is evaluated using an identical NVIDIA Warp implementation on CPU and GPU backends. For a system containing 1,778,700 atoms in both layers, the core calculation latency decreases from 52.718 ms on a single-threaded Warp CPU backend to 0.2706 ms on an NVIDIA RTX 5090 GPU, corresponding to a speedup of 194.8×\times. The benchmark excludes initialization, heatmap generation, user-interface updates, and rendering. The framework provides a scalable structural-analysis layer for large atom-resolved moiré systems and establishes a basis for future coupling to electronic-structure calculations.

Create a lesson