SMS dit: Optical Bloch equations for simulating trapped-ion qubits