Theoretical Analysis of Integrated Nanophotonic Q‐Switched Laser Based on Gain and Saturable Absorption by Two‐Dimensional Materials | Synapse