Figure 21: High 𝑄 cavity mode release and capture process. A shows the confined cavity with both barriers activated with an index of 3.3. B shows the opening of the inside cavity by index switching to 𝑛 = 3 . 4 . With the second cavity’s outside barrier closed, C, the energy accumulates and is then trapped by closing the inner barrier of the second cavity in D.