VQkit: A Unified and Extensible Framework for VASP and Quantum ESPRESSO Pre- and Post-Processing
VQkit is a Python-based computational toolkit developed to streamline the pre- and post-processing of density functional theory calculations performed using Vienna Ab initio Simulation Package (VASP) and Quantum ESPRESSO (QE). The framework employs a unified representation of lattice vectors, atomic coordinates, chemical species, and positional constraints, enabling cross-code structure conversion, geometry manipulation, crystallographic reconstruction, and code-specific input generation. Its pre-processing capabilities include symmetry-dependent reciprocal-space path generation, atomic constraints, and automated preparation of simulation inputs. The post-processing framework provides calculation convergence inspection, extraction of total energies and Fermi levels, electronic band-structure and density-of-states analysis, orbital-resolved electronic-structure processing, charge-density analysis, and evaluation of application-specific materials properties. The computational implementation is evaluated through elastic-property benchmarks for HfC, ZrC, ZrO2, Ti, and diamond, showing close agreement between VQkit and VASPKIT for VASP-based calculations, with differences observed in the corresponding QE results. By integrating cross-code interoperability, automated simulation preparation, standardized post-processing, and quantitative property evaluation within a common computational environment, VQkit reduces workflow fragmentation and facilitates consistent pre- and post-processing of first-principles calculations.