{'fraction_non_alphanumeric': 0.02577319587628866, 'fraction_numerical': 0.010309278350515464, 'mean_word_length': 4.61271676300578, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Fast calculation of the quality factor for two-dimensional photonic crystal slab nanocavities.

We developed a method that can accurately calculate the theoretical quality factor (Q) of a two-dimensional photonic crystal slab nanocavity at a very high speed. Because our method is based on a direct calculation of the out-of-slab radiation loss rate, it does not suffer from in-plane loss, and this allows us to obtain the same Q with 0.18 times less calculation volume. In addition, we can obtain the Q immediately after finishing the cavity excitation, because our method uses only a snapshot of the wavevector space distribution of the resonant mode in contrast to the conventional method, where we need to fit the electro-magnetic field with an exponential decay that requires a relatively long data set. For a width-modulated line defect cavity that has a Q of 8.5 × 10(7) we obtained the same value as with a conventional method but with 94% less computation time.