Many modern technologies, from optical communications and artificial intelligence (AI) hardware to advanced sensors and medical imaging, depend on photonic and semiconductor devices that precisely control the interaction between light and electrons. Designing these devices, however, remains a major challenge because existing simulation tools often require researchers to choose between modeling an entire device or capturing the detailed behavior of electrons. Few can do both within the same model.