Modeling quantum noise in nanolasers using Markov chains | Synapse