NeutrinoOsc3Flavor: CP Phase Dependence in Three-Flavor Neutrino Oscillations: A Numerical Study in Vacuum and Matter - Baktiar Wasir Farooq; Bipin Singh Koranga; Ansh Prasad; Imran Khan (2026)
We present NeutrinoOsc3Flavor, a lightweight and fully transparent computational framework for exact three flavor neutrino oscillation studies in vacuum and constant density matter. The code numerically solves the Schrodinger evolution equation in the flavor basis using explicit construction and diagonalization of the effective Hamiltonian within the PMNS formalism, including full CP Violating phase dependence. In contrast to large scale oscillation toolkits optimized for experimental simulations, NeutrinoOsc3Flavor is designed as a minimal dependency reference implementation, emphasizing analytical traceability, equation level accessibility, and cross platform portability. The framework relies solely on NumPy for numerical linear algebra and runs natively on both Linux and Windows systems without external compilation or specialized libraries. As an internal consistency and validation feature, we implement an independent analytical determination of the matter modified Hamiltonian eigenvalues using the Cardano method and demonstrate excellent agreement with numerical diagonalization. CP Phase dependence is used as a sensitive diagnostic of numerical stability and correctness of the evolution operator in both vacuum and matter. NeutrinoOsc3Flavor is intended as a verification oriented and pedagogical computational tool, suitable for theoretical cross-checks, educational use, and benchmarking of more complex neutrino oscillation software, rather than as a replacement for full experimental simulation frameworks. Here, we consider the DUNE experiments baseline length in the python implementation but in general we can implement any value of baseline length.
Keywords: hep-ph