1 INTRODUCTION

Understanding the interaction of radiation with matter [1] is an important problem in modern physics, which attracts much interest due to the possibility of creating optoelectronic devices with adjustable characteristics. It is known that media with an inhomogeneous dielectric constant allow control of the direction and probability of spontaneous emission [2]. In particular, the probability of spontaneous emission can significantly increase for the eigenmode of a resonator [3]. In media in which the dielectric constant varies periodically in space and the Bragg diffraction of light is observed, there forms a photonic band gap where spontaneous emission can be completely suppressed [4, 5]. In recent years, attention has been drawn to studies of nanostructures designed in a special way [6] that possess a number of interesting properties; thus, lasing was obtained in metal/semiconductor resonators with three-dimensional modulation of the dielectric constant [7]. Of interest are systems featuring a complex photonic band structure [8], potentially applicable in the terahertz range.

To describe the interaction of radiation with matter, a procedure for quantization of the electromagnetic field in a homogeneous “quantization box” was developed, which makes it possible to deal with a quasi-continuous frequency spectrum instead of a continuous one. The quantization procedure involves setting the boundary conditions at the boundaries of the quantization box. Traditionally, Born–Karman periodic boundary conditions have been used [1, 9, 10]. To calculate the probability of spontaneous emission in layered structures, a method taking into account changes in the spatial structure of the electromagnetic-field modes was proposed in [11]. However, in the case of an inhomogeneous medium, the analysis of the mode structure of a field on the basis of periodic boundary conditions is not strict and self-consistent: the presence of inhomogeneities can cause significant changes in the mode structure calculated on the basis of periodic boundary conditions, which can lead to inaccurate results in the study of finite-size systems [12]. Numerical algorithms for calculating the probability of spontaneous emission on the basis of Green’s functions [13] or expansion of the field by eigenmodes or quasi-guided states [14] require significant computational resources when implemented for large three-dimensional systems and can encounter problems concerning the convergence of the results.

A strict and self-consistent procedure for the quantization of an electromagnetic field and calculation of the probability of spontaneous emission in inhomogeneous media can be implemented on the basis of the S-quantization formalism [15], in which the quantization condition is the equivalence of the amplitudes of waves incident on the structure and those of outgoing waves.

Here, we develop the S-quantization formalism for media with three-dimensional modulation of the dielectric constant.

2 QUANTIZATION OF AN ELECTROMAGNETIC FIELD

Let us consider an arbitrary structure with three-dimensional inhomogeneities. It is necessary to choose a system of coordinates within this medium. Since most structures currently fabricated have a preferred axis (the growth axis), we choose it as the z axis. Typically, the thickness of the structure along this axis (denoted here as Lz) is much smaller than the transverse dimensions of the structure in the xy plane. We assume that the characteristic transverse dimensions of the structure in this plane are Lx × Ly (see figure 1). This makes it possible to expand any variable pertaining to the field-quantization problem into a Fourier series in two dimensions. For example, an electric field can be represented as

$${\mathbf{E}}(x,y,z) = \sum\limits_{\mathbf{q}} {{\mathbf{E}}{{{(z)}}_{{\mathbf{q}}}}\exp (i{\mathbf{q}}\rho )} .$$
((1))

Here, the components of the two-dimensional vector q = (qx, qy) take on values of 2πMx,y/Lx,y, where Mx,y are integers, and vector ρ lies in the xy plane. Evidently, this transformation does not generally allow an arbitrary angle of incidence of a wave on the structure. However, one can choose rather large transverse dimensions of the structure, so that the transverse wave vector will be close to one of the vectors q, provided that the number of terms in the expansion is large enough. In particular, for waves of the optical range it is sufficient that the transverse dimensions of the structure exceed 100 μm.

figure 1

Fig. 1. Layout of the structure placed in a quantization box.

Furthermore, due to the linearity of Maxwell’s equations, any wave incident on the structure can be presented as the sum of two polarizations with either the Ex or Ey component vanishing. We note that these polarizations have nothing to do with the TE or TM polarizations, since there is no plane of incidence as such.

As will be shown in the next section, the x and y components of the electric and magnetic fields uniquely determine the solution of Maxwell’s equations, and, thus, to solve the quantization problem it is sufficient to determine the vector of Fourier coefficients for the x and y components of an electric field. It is assumed below in this section that, wherever the index q occurs in matrix notation, it runs twice the entire set of values in Fourier space, once for each of the coordinate components of the electric field.

The S-quantization procedure is based on constructing a scattering matrix, which relates the amplitudes of the waves incident on the structure to those of waves emitted by the structure. Thus,

$$\left( {\begin{array}{*{20}{c}} {E_{{\mathbf{q}}}^{{( + )}}}&{({{L}_{z}})} \\ {E_{{\mathbf{q}}}^{{( - )}}}&{(0)} \end{array}} \right) = \hat {S} \times \left( {\begin{array}{*{20}{c}} {E_{{\mathbf{q}}}^{{( + )}}}&{(0)} \\ {E_{{\mathbf{q}}}^{{( - )}}}&{({{L}_{z}})} \end{array}} \right),$$
((2))
$$\hat {S} = \left( {\begin{array}{*{20}{c}} {{{{\hat {T}}}^{{( + )}}}}&{{{{\hat {R}}}^{{( - )}}}} \\ {{{{\hat {R}}}^{{( + )}}}}&{{{{\hat {T}}}^{{( - )}}}} \end{array}} \right).$$
((3))

Here, we introduce the following designations: the superscript denotes the positive or negative direction of wave propagation along the z axis, while the matrices \(\hat {T}\) and \(\hat {R}\) describe the transmission and reflection of the Fourier components through the structure. For example, if there is only a wave propagating in the positive direction of the z axis, we can write

$$E_{{\mathbf{q}}}^{{( + )}}({{L}_{z}}) = \hat {T}_{{{\mathbf{q}}{\text{,}}{\mathbf{q'}}}}^{{( + )}}E_{{{\mathbf{q'}}}}^{{( + )}}(0).$$
((4))

The calculation of the reflection and transmission matrices is described in the next section.

The procedure of S quantization implies that we equate the eigenvalues of the scattering matrix to unity:

$${\text{||}}\hat {S} - \lambda (\omega )\hat {I}{\text{||}} = 0,$$
((5))
$$\lambda (\omega ) = 1.$$
((6))

In this way, we obtain the eigenmodes of the electromagnetic field in the structure. For each eigenvalue, we can determine the associated eigenvector, which yields the initial values of the field at the boundaries. Subsequently, using the transfer matrix method discussed in the next section, we can reconstruct the distribution of the field in the given mode at any point in the structure. Then, using the field distribution, we can calculate such values as the probability of dipole spontaneous emission and, as a consequence, the Purcell factor [12, 15].

3 CALCULATING THE REFLECTION AND TRANSMISSION COEFFICIENTS

The reflection and transmission matrices \({{\hat {R}}^{{( \pm )}}}\) and \({{\hat {T}}^{{( \pm )}}}\), entering Eq. (3), can be determined by a number of different techniques [16], usually using the finite-difference method. The disadvantage of these approaches is primarily their computational complexity, especially when working in real space. When calculations are done in reciprocal space, there may also occur divergences for some types of materials. In one-dimensional structures, it is reasonable to use the transfer matrix method [17], which is well suited for calculating the reflection and transmission coefficients and was already used in the S-quantization method for lower dimensions [12, 15, 18]. In this paper, we propose a generalized transfer matrix technique for the case of three-dimensional structures that meet the requirements listed in the previous section. In this section, we retain the convention on the index q in matrix notation, but now it runs the set of values in reciprocal space four times, as it counts the x and y components of the electric and magnetic fields.

The method is based on dividing the structure into N layers parallel to the xy plane. Let the thickness of the lth layer be dl. We assume that the dielectric constant ε inside each layer depends only on x and y

$$\varepsilon = f(x,y),$$
((7))

and expand it into a Fourier series similar to the field in Eq. (1):

$$\varepsilon (x,y) = \sum\limits_{\mathbf{q}} {{{\varepsilon }_{{\mathbf{q}}}}\exp (i{\mathbf{q}}\rho )} .$$
((8))

We note that the Fourier coefficients tend to zero as the absolute value of q increases, and it is this fact that makes it possible to replace an infinite set of Fourier components of a field with a finite one. Then, the expansion for electric displacement can be found by the convolution theorem:

$${{{\mathbf{D}}}_{{\mathbf{q}}}}(z) = \sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{{\mathbf{E}}}_{{{\mathbf{q'}}}}}(z)} .$$
((9))

Maxwell’s equations for the field inside the layer are

$$\nabla \times {\mathbf{E}} = - \frac{{i\omega }}{c}{\mathbf{H}},\quad \nabla \times {\mathbf{H}} = \frac{{i\omega }}{c}{\mathbf{D}},$$
((10))

and

$$\nabla \cdot {\mathbf{E}} = \nabla \cdot {\mathbf{H}} = 0$$
((11))

by transforming the curl of both sides of Eq. (10) and substituting Eqs. (9) and (11), we obtain a system of homogeneous second-order differential equations for the Fourier components:

$$\Delta {{{\mathbf{E}}}_{{\mathbf{q}}}}(z) + \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{{\mathbf{E}}}_{{{\mathbf{q'}}}}}(z)} = 0,$$
((12))
$$\Delta {{{\mathbf{H}}}_{{\mathbf{q}}}}(z) + \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{{\mathbf{H}}}_{{{\mathbf{q'}}}}}(z)} = 0.$$
((13))

The Laplace operator is written in the chosen Fourier representation as

$$\Delta = \left( { - q_{x}^{2}, - q_{y}^{2},\frac{{{{d}^{2}}}}{{d{{z}^{2}}}}} \right).$$
((14))

Using it in Eqs. (12) and (13), we obtain a system of equations for the electric and magnetic field components:

$$E_{{x,{\mathbf{q}}}}^{"} = {{q}^{2}}{{E}_{{x,{\mathbf{q}}}}} - \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{E}_{{x,{\mathbf{q'}}}}}} ,$$
((15))
$$E_{{y,{\mathbf{q}}}}^{"} = {{q}^{2}}{{E}_{{y,{\mathbf{q}}}}} - \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{E}_{{y,{\mathbf{q'}}}}}} ,$$
((16))
$$H_{{x,{\mathbf{q}}}}^{"} = {{q}^{2}}{{H}_{{x,{\mathbf{q}}}}} - \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{H}_{{x,{\mathbf{q'}}}}}} ,$$
((17))
$$H_{{y,{\mathbf{q}}}}^{"} = {{q}^{2}}{{H}_{{y,{\mathbf{q}}}}} - \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{H}_{{y,{\mathbf{q'}}}}}} .$$
((18))

We note that the equations for the y components are unnecessary (see below). This system is solved in the conventional way by introducing the first derivatives with respect to z as auxiliary functions. Then, the vector of unknown variables is written as

$${\mathbf{x}}(z) = ({{E}_{{x,{\mathbf{q}}}}},{{E}_{{y,{\mathbf{q}}}}},{{H}_{{x,{\mathbf{q}}}}},{{H}_{{y,{\mathbf{q}}}}},E_{{x,{\mathbf{q}}}}^{'},E_{{y,{\mathbf{q}}}}^{'},H_{{x,{\mathbf{q}}}}^{'},H_{{y,{\mathbf{q}}}}^{'}),$$
((19))

and the system of equations as

$${\mathbf{x}}{'}(z) = {\mathbf{Ax}}(z),$$
((20))
$${\mathbf{A}} = \left( {\begin{array}{*{20}{c}} 0&{{{\delta }_{{{\mathbf{q}},{\mathbf{q'}}}}}} \\ {{{q}^{2}}{{\delta }_{{{\mathbf{q}},{\mathbf{q'}}}}} - \frac{{{{\omega }^{2}}}}{{{{c}^{2}}}}{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}}&0 \end{array}} \right).$$
((21))

The coordinates of the layer boundaries are z1 = \(\sum\nolimits_{j = 1}^{l - 1} {{{d}_{j}}} \) and z2 = \(\sum\nolimits_{j = 1}^l {{{d}_{j}}} \) = z1 + dl. Then, the solution to Eq. (20) can be written as

$${\mathbf{x}}({{z}_{2}} - 0) = {{e}^{{{{d}_{l}}{\mathbf{A}}}}}{\mathbf{x}}({{z}_{1}} + 0).$$
((22))

We also have to determine the rule for the transfer of the vector of unknowns across the boundaries. Using Eq. (10), we obtain

$$E_{{x,{\mathbf{q}}}}^{'} = i{{q}_{x}}{{E}_{{z,{\mathbf{q}}}}} - i\frac{\omega }{c}{{H}_{{y,{\mathbf{q}}}}},$$
((23))
$$E_{{x,{\mathbf{q}}}}^{'} = i{{q}_{y}}{{E}_{{z,{\mathbf{q}}}}} + i\frac{\omega }{c}{{H}_{{x,{\mathbf{q}}}}},$$
((24))
$$H_{{y,{\mathbf{q}}}}^{'} = i{{q}_{x}}{{H}_{{z,{\mathbf{q}}}}} + i\frac{\omega }{c}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{E}_{{y,{\mathbf{q'}}}}}} ,$$
((25))
$$H_{{y,{\mathbf{q}}}}^{'} = i{{q}_{y}}{{H}_{{z,{\mathbf{q}}}}} - i\frac{\omega }{c}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{E}_{{x,{\mathbf{q'}}}}}} ,$$
((26))
$$\frac{\omega }{c}\sum\limits_{{\mathbf{q'}}} {{{\varepsilon }_{{{\mathbf{q}} - {\mathbf{q'}}}}}{{E}_{{z,{\mathbf{q'}}}}}} = {{q}_{x}}{{H}_{{y,{\mathbf{q}}}}} - {{q}_{y}}{{H}_{{x,{\mathbf{q}}}}},$$
((27))
$$\frac{\omega }{c}{{H}_{{z,{\mathbf{q}}}}} = {{q}_{y}}{{E}_{{x,{\mathbf{q}}}}} - {{q}_{x}}{{E}_{{y,{\mathbf{q}}}}}.$$
((28))

Evidently, we can get rid of the y components of the field altogether by expressing them via other components, and then express the derivatives via these components. Since the tangential components of the field are conserved at the boundaries between different media, the Ex,q, Ey,q, Hx,q, and Hy,q Fourier components are also conserved, so that the transfer rule for the x vector can be written as

$${\mathbf{x}}({{z}_{1}} + 0) = {\mathbf{Bx}}({{z}_{1}} - 0),$$
((29))
$${\mathbf{B}} = \left( {\begin{array}{*{20}{c}} {{{\delta }_{{{\mathbf{q}},{\mathbf{q'}}}}}}&0 \\ {\mathbf{C}}&0 \end{array}} \right).$$
((30))

Now, let us introduce the transfer matrix for the lth layer

$${{\hat {V}}_{l}} = {{e}^{{{{d}_{l}}{{{\mathbf{A}}}_{i}}}}}{{{\mathbf{B}}}_{l}},$$
((31))

and the transfer matrix for the entire structure

$$\hat {V} = \prod\limits_{l = 1}^N {{{{\hat {V}}}_{l}}} .$$
((32))

Using this matrix, we can calculate the transmission and reflection of an arbitrary wave incident at any boundary of the structure. Since one needs to know the reflection and transmission coefficients for individual coordinate and Fourier components in order to obtain the scattering matrix, let us demonstrate how these components can be determined. The wave vector of a given component is

$${{{\mathbf{k}}}_{{\mathbf{q}}}} = ({{q}_{x}},{{q}_{y}},\sqrt {{{\omega }^{2}}{\text{/}}{{c}^{2}} - {{q}^{2}}} ),$$
((33))
$${{{\mathbf{n}}}_{{\mathbf{q}}}} = {{{\mathbf{k}}}_{{\mathbf{q}}}}{\text{/}}{{k}_{{\mathbf{q}}}}.$$
((34))

Then, e.g., for the case of x polarization we have

$${{{\mathbf{E}}}_{{\mathbf{q}}}} = {{{\mathbf{e}}}_{y}} \times {{{\mathbf{n}}}_{{\mathbf{q}}}},$$
((35))
$${{{\mathbf{H}}}_{{\mathbf{q}}}} = ({{{\mathbf{e}}}_{y}} \times {{{\mathbf{n}}}_{{\mathbf{q}}}}) \times {{{\mathbf{n}}}_{{\mathbf{q}}}}.$$

These relations are sufficient to compose the x vectors corresponding to the incident, reflected, and transmitted waves, because the z dependence in free space is given by a simple exponential factor.

Let us write the components of the vector x corresponding to the Fourier component q, the positive direction of propagation, and the x polarization of the wave (the index q is omitted in these expressions):

$${{E}_{x}} = \sqrt {1 - \frac{{{{q}^{2}}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}}} ,\quad {{E}_{y}} = 0,$$
((37))
$${{H}_{x}} = \frac{{{{q}_{x}}{{q}_{y}}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}},\quad {{H}_{y}} = \frac{{q_{y}^{2}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}} - 1,$$
((38))
$$E_{x}^{'} = i\frac{\omega }{c}\left( {1 - \frac{{{{q}^{2}}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}}} \right),\quad E_{y}^{'} = 0,$$
((39))
$$\begin{gathered} H_{x}^{'} = i\frac{{{{q}_{x}}{{q}_{y}}}}{{\omega {\text{/}}c}}\sqrt {1 - \frac{{{{q}^{2}}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}}} , \\ H_{y}^{'} = i\left( {\frac{{q_{y}^{2}}}{{{{\omega }^{2}}{\text{/}}{{c}^{2}}}} - 1} \right)\sqrt {{{\omega }^{2}}{\text{/}}{{c}^{2}} - {{q}^{2}}} . \\ \end{gathered} $$
((40))

We designate this vector as \({\mathbf{1}}_{{\mathbf{q}}}^{{( + )}}\). We note that the signs of the components Ex and Ey and the derivatives \(H_{x}^{'}\) and \(H_{y}^{'}\) are reversed upon reversal of the propagation direction (the direction of decreasing z). Thus, to write the vector of unknowns \({\mathbf{R}}_{{\mathbf{q}}}^{{( + )}}\), corresponding to the column of the reflection matrix in Eq. (3), we need to multiply the components corresponding to the magnetic field and the derivative of the electric field from Eqs. (38) and (39) by Rq,x and the components of the electric field and the derivative of the magnetic field from Eqs. (37) and (40) by (–Rq,x). The vector \(\tilde {T}_{{\mathbf{q}}}^{{( + )}}\) describing the transmitted wave is obtained by simply multiplying Eqs. (37)(40) by Tq,x, because its propagation direction is the same as that of the incident wave.

To find the reflection and transmission matrices, let us formally write expressions for the transmission and reflection of a single Fourier component through the structure:

$${\mathbf{1}}_{{\mathbf{q}}}^{{( + )}} + {\mathbf{\tilde {R}}}_{{\mathbf{q}}}^{{( + )}} = \hat {V}{\mathbf{\tilde {T}}}_{{\mathbf{q}}}^{{( + )}},$$
((41))
$${\mathbf{\tilde {T}}}_{{\mathbf{q}}}^{{( - )}} = \hat {V}({\mathbf{1}}_{{\mathbf{q}}}^{{( - )}} + {\mathbf{\tilde {R}}}_{{\mathbf{q}}}^{{( - )}}).$$
((42))

Since the original vectors \({\mathbf{R}}_{{\mathbf{q}}}^{{( \pm )}}\) and \({\mathbf{T}}_{{\mathbf{q}}}^{{( \pm )}}\) in Eq. (3) have dimensions two times smaller than the new vectors \({\mathbf{\tilde {R}}}_{{\mathbf{q}}}^{{( \pm )}}\) and \({\mathbf{\tilde {T}}}_{{\mathbf{q}}}^{{( \pm )}}\), the system of Eqs. (41) and (42) is sufficient to determine them uniquely. After finding the reflection and transmission vectors for all polarizations and Fourier components, we can construct the scattering matrix and proceed to the procedure of S quantization.

4 CONCLUSIONS

We have developed a procedure for quantization of the electromagnetic field in photonic nanostructures with three-dimensional modulation of the dielectric constant. The quantization of three-dimensional structures was carried out in a quantization box with boundary conditions based on equating the amplitudes of traveling waves at opposite sides of the box (S boundary conditions), which corresponds to equating the eigenvectors of the scattering matrix (S matrix) to unity. Expressions for the complete S matrix in the three-dimensional case written in terms of the reflection and transmission matrices of the inhomogeneous structure under consideration are obtained. A method for determining the reflection and transmission matrices of arbitrary structures with three-dimensional modulation of the dielectric constant is presented. The method is based on reducing to a problem depending on two Cartesian coordinates, dividing the structure into parallel layers, and calculating individual coordinate and Fourier components. The proposed procedure for quantization of the electromagnetic field in the three-dimensional case allows the implementation of a direct and self-consistent method for calculating the spontaneous emission for an emitter placed inside three-dimensional photonic nanostructures that avoids convergence problems in solving integro-differential equations and significantly reduces the required computational resources.