Decoherence refers to the loss of quantum coherence in a system, which is particularly pertinent in the field of quantum computing and quantum sensors. At the nanoscale, quantum systems are susceptible to interactions with their environment, resulting in the loss of superposition states and entanglement, which are essential for quantum information processing.