Anfonwch hwn fel neges destun: Optical Bloch equations for simulating trapped-ion qubits