Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Efficient stochastic simulation of rate equations and photon statistics
  of nanolasers   Based on a rate equation model for single-mode two-level lasers, two
algorithms for stochastically simulating the dynamics and steady-state
behaviour of micro- and nanolasers are described in detail. Both methods lead
to steady-state photon numbers and statistics characteristic of lasers, but one
of the algorithms is shown to be significantly more efficient. This algorithm,
known as Gillespie's First Reaction Method (FRM), gives up to a thousandfold
reduction in computation time compared to earlier algorithms, while also
circumventing numerical issues regarding time-increment size and ordering of
events. The FRM is used to examine intra-cavity photon distributions, and it is
found that the numerical results follow the analytics exactly. Finally, the FRM
is applied to a set of slightly altered rate equations, and it is shown that
both the analytical and numerical results exhibit features that are typically
associated with the presence of strong inter-emitter correlations in
nanolasers.

12
The categories of this paper are: nucl-th
1
The categories of this paper are: cs
7
The categories of this paper are: hep-th
37
The categories of this paper are: supr-con
30
The categories of this paper are: q-alg
9
The categories of this paper are: nlin
35
The categories of this paper are: mtrl-th
0
The categories of this paper are: hep-ph
29
The categories of this paper are: funct-an
2
The categories of this paper are: math
5
The categories of this paper are: gr-qc
36
The categories of this paper are: cmp-lg
6
The categories of this paper are: astro-ph
19
The categories of this paper are: eess
11
The categories of this paper are: hep-lat
17
The categories of this paper are: q-fin