Quantum magnetic resonance analyzer