We investigate the optical and coherence properties of spin defects in wide band-gap semiconductors to understand qubits and quantum sensors: Validation focuses on free-energy surfaces of point defects in three-dimensional crystals and electronic properties of spin defects, as well as material strain fields.