Correction to: Nature Photonics https://doi.org/10.1038/s41566-021-00860-5, published online 12 August 2021.

In the version of this article initially published, in Fig. 1d, the red rectangle indicating buried heterostructure gain region appeared in the center of the wave guide rather than at the far left. This red bar now been shifted left. Additionally, in the last sentence of the Discussion, a typo (“Fano-Perot”) has now been fixed to correctly read “Fabry-Perot type BIC.”

The original article has been corrected in the online version of the paper.