Next Article in Journal
Suppressing Gate-Induced Drain Leakage with an Asymmetric Gate Design in HiPco CNT FETs
Next Article in Special Issue
Interference-Enhanced Absorption in Miniaturized Graphene Plasmonic Terahertz Detectors via Substrate-Defined Fabry−Pérot Cavities
Previous Article in Journal
Green Synthesis of Gold Nanoparticles with Good Photothermal Properties and Antibacterial Activity from Black Corncob Extract
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Models for Predicting Key Performance Characteristics of High-Temperature THz Quantum Cascade Lasers

by
Mihailo Stojković
1,
Novak Stanojević
1,*,
Aleksandar Milićević
2,
Nikola Vuković
1,3,*,
Dušan Topalović
2,
Milan Ignjatović
1,
Aleksandar Demić
4,
Dragan Indjin
4 and
Jelena Radovanović
1,3
1
School of Electrical Engineering, University of Belgrade, Bulevar kralja Aleksandra 73, 11120 Belgrade, Serbia
2
Vinča Institute of Nuclear Sciences, National Institute of The Republic of Serbia, University of Belgrade, Mike Petrovića Alasa 12-14, 11351 Vinča, PO Box 522, 11001 Belgrade, Serbia
3
Center for Light-Based Research and Technologies COHERENCE, Mike Petrovića Alasa 12-14, 11001 Belgrade, Serbia
4
School of Electronic and Electrical Engineering, University of Leeds, Woodhouse Lane, Leeds LS2 9JT, UK
*
Authors to whom correspondence should be addressed.
Nanomaterials 2026, 16(11), 651; https://doi.org/10.3390/nano16110651
Submission received: 24 April 2026 / Revised: 12 May 2026 / Accepted: 20 May 2026 / Published: 22 May 2026
(This article belongs to the Special Issue TERA-MIR Photonics, Materials and Devices)

Abstract

In this work, we applied Random Forest (RF), Extreme Gradient Boosting (XGBoost), and Artificial Neural Networks (ANN) to predict key performance characteristics of quantum cascade lasers (QCLs), including material gain, current density, and emission frequency. By developing a machine learning-based surrogate modeling framework that replaces computationally expensive simulations of QCLs, we enable orders-of-magnitude-faster evaluation and optimization of a high-dimensional configuration space. The training dataset was generated using a numerical simulator based on the density-matrix transport model. By combining physics simulations with machine learning, we achieved reliable predictions of device characteristics, with standardized RMSE values ranging from 0.21 to 0.55 for RF, 0.16 to 0.51 for XGBoost, and 0.04 to 0.22 for the ANN model, demonstrating the superior predictive performance of the ANN across all investigated performance characteristics. The ANN was subsequently used to analyze the full configuration space defined by possible layer thicknesses and electric fields. Approximately 44 million configurations were evaluated in about five minutes, achieving a speedup of approximately 90,000 times over the numerical simulator for a single configuration. This approach allowed the identification of designs with improved material gain and facilitated the efficient optimization of key parameters while maintaining high prediction reliability.

1. Introduction

Terahertz quantum cascade lasers (THz QCLs) [1,2] emit radiation in the far-infrared spectral region, a range that has long been difficult to access. This capability has boosted interest in their applications, such as medical diagnostics, chemical sensing, and imaging technologies [3,4,5,6,7,8,9,10]. To date, THz QCL emission has been demonstrated over a broad frequency range, from 1.2 THz [11,12] up to 6.03 THz [13] in pulsed mode, and from 1.2 THz [11,12] up to 5.71 THz [13] in continuous-wave (CW) mode. Additionally, device operation has been reported at temperatures as high as 261 K under pulsed conditions [14], while CW operation has reached 129 K [15]. In terms of performance, maximum output powers of 312 mW in CW mode [16] and 2.4 W in pulsed mode [17] have been achieved.
One of the most common active region designs is the Longitudinal Optical (LO) phonon-based design [18], known for its superior high-temperature performance. THz QCLs operated below 200 K in pulsed mode [19], until a new record of 210 K was achieved [20] using a high-barrier (x = 0.25) two-well LO-phonon design. Recently, alternative design concepts that shift the operation of LO-phonon structures by utilizing radiative transitions further from the GaAs LO-phonon resonance energy of 36 meV have emerged [21,22]. This approach has enabled significantly better high-temperature performance, with operation reported above 250 K [14,23].
This work centers on the recently demonstrated high-temperature LO phonon THz QCL that achieved pulsed operation at 261 K [14]. Its active region contains only two quantum wells, with barriers featuring an increased Al mole fraction (x = 0.35) compared to standard THz QCLs. The LO-phonon extraction energy is set at 48.5 meV, which is significantly higher than the 36 meV LO-phonon resonance. Electron–LO-phonon scattering is a key factor at high temperatures, particularly in the 10–70 meV range, peaking at 36 meV in GaAs [22]. The primary limitation for high-temperature operation is the non-radiative nature of LO-phonon scattering, which diminishes the population inversion between lasing states (typically 8–20 meV). Moreover, it has previously been reported that THz QCLs are sensitive to background doping, interdiffusion, and layer-thickness fluctuations, which can significantly affect the robustness of high-temperature QCL designs [24,25].
The design of new QCL structures is crucial for improving performance and expanding operational limits, which drives the development of advanced computational optimization methods. Various computational techniques have been used to optimize the large design space of QCLs. Genetic algorithms (GAs) have been employed to increase the wall-plug efficiency of mid-infrared QCLs [26] and to fine-tune THz QCL transition frequencies across multi-terahertz ranges [27,28,29,30,31]. Simulated annealing has maintained transition energies around 50 meV in triple-step quantum wells [32] and optimized superstructure gratings for nonequidistant frequencies [33]. Inverse spectral theory has been used to maximize gain in quantum well lasers [34] and to optimize the active region of 12 μm QCLs [35]. Machine learning (ML) has been applied to detect defects during fabrication [36,37,38] and to design nanostructures in nanophotonics [39,40]. For QCLs, ML has been used to accelerate modal-gain calculations [41], predict resonant-mode features and emission spectra [42,43], and identify relevant wavefunctions [44]. Recently, an inverse-forward network approach helped predict active region designs and related metrics such as energy differences and LO lifetimes, with errors between 2% and 15% [45], and a ML framework was developed to forecast and optimize QCL designs based on a figure of merit involving threshold gain and lasing transition traits, enabling quick exploration of large design spaces with errors below 15% [46]. Automated wavefunction detection has enabled rapid characterization of key electronic states and performance predictions for interband cascade lasers, greatly reducing the manual analysis of band-structure simulations [47]. For quantum cascade lasers, automated state classification has helped create large, labeled datasets for supervised learning [48], while inverse neural network models have been used to directly map target device metrics to structural parameters, facilitating efficient exploration of complex heterostructure design spaces [49].
Different computational techniques have been successfully applied to the predictive simulation of complex heterostructures such as superlattices and intersubband devices, such as Nonequilibrium Green’s Functions (NEGF), Boltzmann-Bloch, hybrid NEGF and Boltzmann Equation Solvers [50,51,52,53,54,55].
In this work, we use the density matrix (DM) approach [56,57,58,59,60], a computationally efficient quantum transport framework that incorporates coherence effects and accurately describes resonant tunneling across the injection barrier. Due to these capabilities, the DM model is particularly well-suited for the extensive optimization of THz QCL active-region designs.
The DM model is used to calculate transport characteristics, including how material gain, current density, and emission frequency depend on the applied bias. To build the training dataset for ML, we start with the reference high-temperature THz QCL that achieved pulsed operation at 261 K [14]. Variations in each layer’s thickness are introduced, up to ±40% of the nominal value, while the electric field is swept from 17.5 to 27.5 kV/cm. The transport characteristics calculated by the DM for these designs form the dataset used in this study. The trained models are then tested on a separate subset of the dataset to evaluate their ability to predict unseen QCL designs.
To make these predictions, ML techniques are employed, using algorithms capable of identifying patterns in data and generating predictions without explicit manual programming [61]. The primary objective of this work is not merely to compare ML algorithms, but to develop an accurate and computationally efficient surrogate modeling framework capable of approximating density-matrix simulations during large-scale exploration of the QCL configuration space. To achieve this, Random Forest (RF), XGBoost, and Artificial Neural Networks (ANNs) were employed as representative nonlinear predictive models suitable for high-dimensional physical systems. RF and XGBoost were chosen as robust ensemble learning methods capable of capturing nonlinear parameter interactions with good generalization performance, while ANNs were included for their flexibility in approximating highly nonlinear mappings between structural parameters, electric bias, and transport characteristics in QCL heterostructures. The suitability of nonlinear models is further supported by the weak to moderate linear correlations observed between input and output variables, as discussed in Section 3.1.
The trained ANN is employed across the entire configuration space to evaluate how reliably and efficiently it can explore and predict the performance of QCL designs. By screening approximately 44 million configurations, this method enables quick identification of structures with improved material gain and effective filtering of designs based on predicted material gain, current density, and emission frequency.

2. Materials and Methods

2.1. Starting QCL Design and Data Set

As the initial design for our study, we examine the record-high temperature LO-phonon THz QCL operating at 261 K and emitting at 4 THz, which uses Al0.35Ga0.65As barriers with an Al molar fraction of x = 0.35 [14]. Efficient depopulation of the lower laser level (LLL) is achieved through longitudinal optical phonon scattering into the injector lower level (ILL), which is 48 meV below the LLL at the resonant bias. The layer thickness sequence, starting from the injection barrier, is 2.88/7.45/1.76/(3.0 + 3.0 + 9.0) nm, with Al0.35Ga0.65As barriers highlighted in bold, and the middle section of the last quantum well, doped to 1.5 × 10 17 cm−3, underlined. Figure 1 shows the conduction-band potential profile of the 261 K record LO-phonon THz QCL, along with the squared wavefunctions.
As QCLs are unipolar devices whose optoelectronic performance depends on the layer thicknesses and the applied bias, the dataset was generated by independently varying each layer thickness up to ±40% of its nominal value, with a step size of 0.7 nm and a thickness variation range from −2.8 nm to +2.1 nm. Simultaneously, the applied electric field is varied from 17.5 to 27.5 kV/cm in 0.5 kV/cm increments.
The statistical analysis was conducted on a dataset of 62,250 samples. Each sample is defined by six layer width parameters, external electric field strength, material gain, frequency, and current density. The first layer width parameter corresponds to the injection barrier, the second to the first well layer, and the third to the second barrier layer. The fourth, fifth, and sixth layer-width parameters all correspond to different sections of the second well layer; however, this layer is divided into three parts because only layer 5 is doped at a concentration of 1.5 × 1017 cm−3.
The combinations of layer thicknesses and electric fields define a comprehensive set of QCL designs, for which the DM model calculates the material gain, current density, and emission frequency, forming the training data for our machine-learning framework.

2.2. Calculating QCL Transport Characteristics Using the Density Matrix Model

Electron transport in THz QCL structures is modeled using the DM formalism [50,51], which enables calculation of key transport quantities, including the material gain g ( K ) , current density J ( K ) , and emission frequency f ( K ) , as functions of the applied electric bias K . The computational method used to determine these quantities is outlined below. For a specific lattice temperature and bias value K corresponding to the device terminal voltage, the Schrödinger–Poisson system is solved self-consistently along with the kinetic balance equations under the equithermal subband approximation, yielding the electronic subband structure and the electron temperature [62]. Using this solution, the DM framework calculates the frequency-dependent gain spectrum g ( f ) and the current density J . The peak of the gain spectrum g ( f ) is considered the unsaturated material gain g , while the frequency at this peak defines the emission frequency f . This process is repeated across the entire range of electric bias values K   at a fixed lattice temperature.
From the bias-dependent calculations, the unsaturated material gain is obtained as g ( K ) , while the corresponding current density is determined as J ( K ) . The maximum of g ( K ) marks the resonant tunneling condition, whereas the peak of J ( K ) identifies the onset of negative differential resistance (NDR), beyond which lasing typically terminates abruptly. Consequently, QCLs generally operate over the bias range extending from the threshold field, where the material gain equals the threshold value, up to the NDR point, which sets the maximum achievable current density.
The outlined procedure is illustrated for the record high-temperature LO-phonon THz QCL [14]. Figure 2 shows the frequency-dependent material gain g ( f ) calculated at several bias values. For each bias, the peak of g ( f ) corresponds to the lasing mode, and tracking these maxima across bias yields the gain–bias characteristic g ( K ) . The corresponding current density values extracted at each bias define J ( K ) . The inset of Figure 2 displays the dependence of the emission frequency on bias, f ( K ) . The shift in the gain spectra toward higher frequencies with increasing bias arises from the Stark effect.
Figure 3 summarizes the bias dependence of the material gain g ( K ) and current density J ( K ) . The calculated material gain increases with electric field and reaches 20 cm−1 at approximately 19 kV/cm, becoming comparable to typical waveguide losses and indicating the onset of lasing conditions. The two maxima in the current density originate from two different resonant transport conditions in the QCL structure. The first peak at lower electric fields corresponds to ILL–LLL alignment, where efficient carrier transport occurs without significant population inversion. The second peak at higher fields corresponds to ILL–upper laser level (ULL) alignment, and in this regime population inversion between the ULL and LLL is achieved, producing significant material gain and the regime relevant for QCL operation.

2.3. Machine Learning Models

In this study, we use RF [63], XGBoost [64], and ANN [65] to predict material gain, emission frequency, and current density. The models were trained with different layer widths and external electric field strengths as input variables, allowing them to forecast the desired outputs. Although these models are based on different theoretical foundations and computational frameworks, they often play similar predictive roles across various fields, including energy systems modeling, materials science, climate analysis, and industrial optimization.
RF reduces variance through ensemble averaging, and XGBoost enhances predictive performance via gradient-boosted regularization, while ANN architectures use neural representation learning to model complex nonlinear relationships. The most suitable model depends on data characteristics, interpretability needs, available computational resources, and specific application goals. RF is an ensemble method that builds multiple decision trees, each trained on a random subset of data and features, with the overall prediction derived from averaging all trees’ outputs. By combining weak learners into one ensemble, this approach reduces overfitting and boosts the model’s ability to generalize to new data. Conversely, XGBoost employs the gradient boosting framework, sequentially constructing trees that focus on correcting the errors of previous ones. It uses regularization techniques to prevent over-complexity, thereby increasing accuracy and robustness. Additionally, it leverages parallel processing, efficient memory use, and optimized handling of missing data, making it highly scalable for large datasets. ANNs operate under a different paradigm, inspired by biological neurons. They consist of layers of interconnected nodes that transform input data through nonlinear activation functions. In this study, the ANN model used a multilayer perceptron architecture, a type of ANN in which all nodes are fully connected and organized in multiple layers. During training, ANNs update connection weights via backpropagation to minimize prediction errors. They excel at capturing highly nonlinear relationships and learning deep hierarchical representations, making them suitable for tasks like image classification, time-series forecasting, and modeling complex physical phenomena. However, ANNs require large datasets, long training times, and careful hyperparameter tuning to reach optimal performance.
In this paper, all models were developed in Python 3.11. RF and XGBoost were run within the Jupyter Notebook environment, while the ANN model was run in the built-in Python virtual environment (venv). The overall workflow of the proposed ML framework, from data acquisition and preprocessing to model training and prediction, is summarized in Figure A1 in Appendix A.

3. Results and Discussion

3.1. Data Analysis, Feature Distributions and Correlations

The statistical analysis was conducted on a dataset of 62,250 samples, and the distributions of all variables are shown in Figure 4 using box plots.
The six-layer width parameters showed distinct distribution patterns across the samples. The mean layer widths ranged from 19.61 Å for layer 3 to 91.59 Å for layer 6. Layer 2, with a mean thickness of 78.05 Å and a standard deviation of 14.47 Å, demonstrated moderate variability, positioned between the tightly controlled thinner barrier layers. Layers 1 and 3 had relatively low dispersion (standard deviations of 5.63 Å and 3.50 Å, respectively), indicating tighter control over their thicknesses, as expected for barrier layers. In contrast, layers 4, 5, and 6 exhibited substantially higher variability, with standard deviations exceeding 15 Å, suggesting increased structural flexibility or design diversity in these regions. The interquartile ranges further confirmed that layers 4 and 5 have nearly identical thickness distributions, implying coordinated structural tuning.
The external electric field strength had a mean value of 22.43 kV/cm with a narrow spread (standard deviation 3.03 kV/cm). The range extended from 17.5 kV/cm to 27.5 kV/cm, indicating that the applied field was varied within a limited operational range. The box plot confirmed the uniformity of the field distribution. The material gain exhibited a broad, asymmetric distribution, with a mean of 6.48 cm−1 and a relatively large standard deviation of 19.93 cm−1. Material gain values ranged from −89.31 cm−1 to 103.09 cm−1, indicating the coexistence of absorptive and amplifying regimes in the dataset. The high variability and the presence of outliers (4.64%) suggest a strong dependence on multiple structural parameters. The interquartile range extended from −4.12 cm−1 to 22.51 cm−1, indicating that most samples achieved moderate gain. The emission frequency values were concentrated within a relatively narrow range, from 1.04 THz to 4.96 THz, with a mean of 2.91 THz and a standard deviation of 1.13 THz. The approximately symmetric distribution suggests stable spectral operation governed primarily by the quantum well structure and layer composition. The current density exhibited the broadest dynamic range, ranging from 11.75 A/cm2 to nearly 11,940 A/cm2, with a mean of 1399 A/cm2 and a large standard deviation of 1509 A/cm2. Outliers accounted for 6.48% of the samples, indicating the presence of extreme cases or nonlinear behavior under specific structural and field conditions. The box plot confirmed a highly skewed distribution, demonstrating that while most configurations produce moderate current densities, a small subset exhibits exceptionally high conduction.
Figure 5, Figure 6 and Figure 7 illustrate the distributions of material gain, emission frequency, and current density for a random subset of 1000 samples, selected for visual clarity and to prevent overcrowding. In each figure, green points represent individual sampled values, emphasizing the variability within the dataset. Figure 5 shows material gain, with the dashed blue line indicating the mean of 6.48 cm−1 across the entire dataset, demonstrating that most samples cluster around this overall mean. However, individual points still cover a broad range of values, reflecting the impact of structural variability and other inherent factors.
Figure 6 shows the emission frequency distribution, with the overall dataset mean of 2.91 THz marked by the blue dashed line.
Figure 7 depicts current density, with a mean of 1399 A/cm2 across all samples (blue dashed line). The distribution exhibits greater spread and a few extreme values, indicating that while most configurations yield moderate currents, some reach exceptionally high levels.
The Pearson correlation coefficient is commonly used in exploratory data analysis to identify potential dependencies between features and target variables, providing insight into which variables may directly influence each other [66]. Figure 8 presents the Pearson correlation heatmap for all input parameters and target variables. The heatmap highlights the strength and direction of linear relationships, with red denoting positive correlations and blue denoting negative correlations. The correlation matrix for the considered dataset reveals generally weak linear relationships among most features and targets, which can be summarized as follows:
  • Material gain shows a weak negative correlation with layer width 5 (r = −0.21), while correlations with other layers are very weak (r ≤ 0.2). The negative correlation between the material gain and the thickness of the doped central region of the second well layer (layer width 5) is explained by increased ionized impurity scattering. Although the doping concentration is kept constant, increasing the thickness of the doped region increases the total sheet doping and extends the spatial overlap between the dopants and the lower laser level wavefunction. This enhances ionized impurity scattering, broadens the intersubband transition linewidth, and increases effective dephasing. Together, these effects reduce the coherent polarization and steady-state gain, explaining the observed negative correlation between material gain and doped-region thickness across the varied structures.
  • Frequency is very weakly correlated with all input parameters, and shows the largest correlation with layer width 5 (r = −0.13). Increasing the thickness of the doped region in the second well affects the laser transition frequency by modifying the local potential profile and the spatial distribution of the electron wavefunctions. This changes the energies of the lower and upper laser levels, shifting the intersubband transition energy.
  • Current density exhibits moderate correlations with layer widths 1 and 5 (r = −0.40 and 0.58, respectively), a weak correlation with layer width 3 (r = −0.25), and very weak correlations with the other layer widths. The current density increases with the thickness of the doped region in the second well (layer width 5) because a thicker doped layer provides a higher carrier sheet density, thereby enhancing injection into the upper laser level. In contrast, increasing the thickness of the barrier layers (layer widths 1 and 3), and particularly the injection barrier (layer width 1), reduces the current by lowering the tunneling probability between adjacent wells. Thicker barriers reduce wavefunction overlap, thereby limiting carrier transport through the cascade and decreasing the overall current.
While some layer widths have a moderate influence on current density, the absolute values of the Pearson correlation coefficients do not exceed 0.6, with the maximum observed value being 0.58. This indicates that linear models would capture only a small fraction of the observed variability. Overall, these low-to-moderate correlation values suggest that linear dependencies are generally insufficient to fully describe the dataset’s behavior. This clearly justifies the use of nonlinear ML models (RF, XGBoost, and ANN) to predict material gain, emission frequency, and current density. By employing these approaches, predictive accuracy can be significantly improved compared to linear models, which are inherently limited by the low correlations observed.

3.2. Machine Learning Models for Predicting Material Gain, Emission Frequency, and Current Density

RF, XGBoost, and ANN models were employed to predict three output parameters of QCL structures: material gain, emission frequency, and current density. The dataset contained 62,250 samples, which were randomly split into a training subset of 43,575 samples (70%), a validation subset of 9337 samples (15%) for hyperparameter tuning, and a test subset of 9337 samples (15%) for final model assessment. Kolmogorov–Smirnov two-sample statistical tests confirmed that the training, validation, and test subsets were drawn from statistically equivalent distributions (p > 0.05 for all features), demonstrating the absence of sampling bias during dataset splitting. Hyperparameter tuning was carried out using different optimization strategies according to the learning algorithm. For the Random Forest and XGBoost models, a random search was performed over a predefined hyperparameter space, with 2000 randomly sampled configurations evaluated for each model. The search space included key model parameters such as tree depth, number of estimators, learning rate (for XGBoost), subsampling ratios, and regularization parameters. For the ANN model, Bayesian optimization was used to efficiently explore the continuous hyperparameter space, focusing on both architectural parameters (number of hidden layers and neurons) and optimization parameters (learning rate, batch size, and weight decay). After hyperparameter tuning, the final models were trained with the best parameters for each learning algorithm, and their generalization performance was assessed on both the training and test datasets.
For material gain prediction, the optimal RF model was configured with 250 estimators, a maximum tree depth of 27, a minimum sample split of 2, a minimum of 1 sample per leaf, a feature sampling ratio of 0.9, and bootstrap enabled. This setup yielded Root Mean Square Error (RMSE) values of 2.75 cm−1 on the training set and 7.19 cm−1 on the test set. The top-performing XGBoost regressor, optimized with a learning rate of 0.08, a maximum depth of 13, 140 estimators, a gamma of 0.3, and a minimum child weight of 5, achieved RMSE values of 1.55 cm−1 on the training data and 6.07 cm−1 on the test data. The optimal ANN model was trained for 150 epochs and consisted of four hidden layers with 64, 128, 128, and 256 neurons, respectively. The network was trained using the Adam optimizer with a learning rate of 6.59 × 10−4, weight decay of 4.40 × 10−6, and a batch size of 64. ReLU activation functions were applied in the hidden layers, while a linear activation function was used in the output layer. This model achieved the lowest test RMSE of 1.13 cm−1, outperforming the tree-based models. These results are summarized in Table 1.
To further evaluate the predictive performance of the developed models, the distribution of relative prediction errors was analyzed. Figure 9 shows the violin-box plot analysis of the relative prediction errors, highlighting clear differences in the stability and robustness of the evaluated approaches. The ANN model exhibits the narrowest interquartile range with a median relative error of approximately 0.55%, indicating that most predictions were closely aligned with the reference values. In contrast, the RF and XGB models show negative median errors of approximately −5.88% and −3.36%, respectively, demonstrating a systematic tendency towards underprediction. Therefore, the ANN model achieved the most accurate and stable performance, with a median error below 1%, which is considered highly satisfactory for this regression problem.
Additionally, the standardized RMSE relative to the standard deviation of the target variable (SRMSE) was 0.36 for RF, 0.30 for XGBoost, and 0.06 for the ANN model. These results confirm that all models achieve good predictive accuracy (SRMSE < 0.4), with the ANN model demonstrating significantly better performance (SRMSE < 0.2).
For emission frequency prediction, the RF model was configured with 250 estimators, a maximum depth of 27, a minimum sample split of 2, a minimum of 1 sample per leaf, and a feature sampling ratio of 0.9. This setup resulted in RMSE values of 0.23 THz on the training set and 0.62 THz on the test set. The best-performing XGBoost regressor, optimized with a learning rate of 0.1, a maximum depth of 12, 130 estimators, and a minimum child weight of 5, achieved RMSE values of 0.27 THz on the training data and 0.58 THz on the test data. For emission frequency prediction, the best-performing ANN configuration was achieved after 150 training epochs and comprised four hidden layers with 32, 256, 256, and 16 neurons, respectively. The training procedure used the Adam optimizer with a learning rate of 9.58 × 10−4, weight decay of 7.622 × 10−6, and a batch size of 32. ReLU activation was applied in the hidden layers, while a linear activation function was used in the output layer. The resulting model achieved a test RMSE of 0.25 THz, outperforming all tree-based methods. The corresponding RMSE values are presented in Table 2.
The performance of the models for emission frequency prediction is further examined through the error distribution shown in Figure 10. All three models have median errors close to zero, indicating no strong systematic bias. However, differences are more apparent in terms of dispersion, where the ANN model shows a noticeably tighter interquartile range than the RF and XGBoost models, reflecting greater consistency across samples. Despite this overall stability, all models show extreme deviations in the error tails, with values exceeding 300%, which is attributed to the sensitivity of the relative error metric to small reference frequencies. The ANN model offers the most balanced performance, combining lower RMSE with improved error stability for emission frequency prediction.
The corresponding SRMSE values were 0.55 for RF, 0.51 for XGBoost, and 0.22 for ANN. While all models exhibit acceptable predictive performance, the ANN model clearly outperforms the tree-based approaches. As SRMSE values below 0.40 are generally considered solid indicators of predictive accuracy, these results demonstrate that the ANN model provides reliable and precise emission frequency predictions.
For current density prediction, the RF model employed 250 estimators, a maximum depth of 27, and a feature sampling ratio of 0.9, achieving RMSE values of 118.8 A·cm−2 on the training set and 320.8 A·cm−2 on the test set. The best-performing XGBoost regressor, tuned with a learning rate of 0.15, a maximum depth of 12, 170 estimators, gamma of 0.2, and a minimum child weight of 4, reached RMSE values of 52.2 A·cm−2 for the training data and 247.1 A·cm−2 for the test set. The optimal ANN model for current density prediction is composed of four hidden layers with 32, 256, 128, and 32 neurons, respectively. The model was trained using the Adam optimizer with a learning rate of 1.16 × 10−3, a weight decay of 1.99 × 10−4, and a batch size of 32. ReLU activation functions were applied in the hidden layers, while a linear activation function was used in the output layer. This model achieved the most accurate test predictions, with an RMSE of 55.0 A·cm−2, outperforming both tree-based models. These results are summarized in Table 3.
In addition to RMSE-based evaluation, the distribution of relative prediction errors in Figure 11 highlights notable differences in model stability. Although all models have relatively low median errors close to zero, their distributions differ significantly in spread and asymmetry. The ANN model has the most compact interquartile range and greater robustness, while RF and XGBoost show wider dispersion and stronger skewness in the error distribution. The RF model, in particular, exhibits a highly skewed distribution, where extreme outliers compress the main body of the violin plot, making the central distribution appear less pronounced. These results confirm that the ANN model provides the most stable and accurate predictions for current density among the evaluated approaches.
SRMSE values across the current-density range were 0.21 for RF, 0.16 for XGBoost, and 0.04 for ANN, confirming that all models provided accurate predictions, with the ANN model delivering the most precise estimates.

3.3. ANN Performance on the Entire Configuration Space

The results in the previous section show that the ANN outperformed both RF and XGB in predicting material gain, current density, and emission frequency on the test subset. In this section, the performance of the ANN is further evaluated across the entire configuration space. Its ability to deliver reliable results is demonstrated by significantly reduced computational time compared to the numerical solver used to generate the training dataset for the ML models.
The mean absolute percentage error (MAPE) between the ANN predictions and the numerical solver results is used as a metric to assess the model’s reliability. For comparison, the MAPE values obtained for the ANN on the test subset for material gain, current density, and emission frequency, presented in the previous section, are summarized in Table 4.
Simulating a single configuration with the numerical solver takes about 20 s. In comparison, the ANN model can generate roughly 250,000 configurations in the same time. Using this method, an algorithm was created to explore the configuration space and identify the 500 best structures that meet a specific criterion.
The construction of the configuration space involved varying each layer’s width by up to ±40% of the nominal value in steps of 2.825 Å (monolayer width), and adjusting the electric field from 17.5 kV/cm to 27.5 kV/cm in 0.5 kV/cm increments. Additionally, because the last three layers (4, 5, and 6) represent the second well layer, only variations resulting in a total width within ±40% of the nominal width of this well layer were considered. The variation parameters for each feature are listed in Table 5.
With this number of combinations for each feature, the total number of configurations in the configuration space was 9 × 22 × 5 × 2106 × 21 = 43,783,740, roughly 44 × 106 configurations. Each configuration was evaluated by each ANN to predict the respective value. The criteria for selecting the best 500 structures were a current density between 1000 A·cm−2 and 3000 A·cm−2 and maximum material gain.
The entire process of generating all possible combinations, running them through the networks, and saving the best 500 configurations out of approximately 44·106 took 314.4 s. In comparison, simulating the entire dataset (62,250 configurations) took 11.24 h. This provides an approximately 130 times faster way to explore the full configuration space than simulating the complete dataset, and about 90,000 times faster to estimate a single configuration using an ANN than the simulator.
Algorithmically, due to the large number of configurations, it is impossible to keep all of them in memory during the sweep, so a method was developed to process configurations in batches. In this way, only 1,000,000 configurations are processed per batch, resulting in a constant space complexity.
To further validate the accuracy of the ANN across the entire configuration space, the numerical solver was run on the 500 best configurations. The MAPE between the ANN predictions and the corresponding numerical results was calculated for all three output variables and is shown in Table 6.
The parameters of the five configurations with the highest predicted material gain are listed in Table 7, while Table 8 shows the ANN predictions and the corresponding numerical simulator results for material gain, emission frequency, and current density.
It can be observed that in all designs shown in Table 7, both the injection barrier and the second barrier (layers 1 and 3) are generally lowered compared to the initial design, while the widths of the well layers (layers 2 and 4 + 5 + 6) are increased relative to the original configuration. Thinner barrier layers may result in enhanced carrier injection into the upper laser state, which may contribute to increased optical gain. In addition, wider well regions can modify the energy spacing and wavefunction overlap between the relevant subbands, potentially improving the optical transition strength, suggesting that the ANN optimization process captures physically relevant dependencies present in the DM generated dataset.
As shown in Table 8, the predicted values of material gain and emission frequency closely match the results from the numerical simulator. While the predicted current density values show slightly larger deviations, they generally stay within a ±15% relative error range.
For comparison, the values obtained from the numerical simulator for the initial structure corresponding to the design with a record operating temperature of 261 K, which served as the starting point for generating the varied configurations and the entire configuration space, are 64.23 cm−1 for material gain, 2591.12 A·cm−2 for current density, and 3.685 THz for the emission frequency, all at an electric field of 22.5 kV·cm−1.
By training the ANN and applying it to the configuration space, we could reliably identify configurations with higher material gain than the initial design. Additionally, the predicted results for all configurations can now be filtered to optimize, maximize, or select any of the quantities predicted by the ANN, such as material gain, current density, and emission frequency. Since the entire configuration space of approximately 44 million structures has been evaluated using the ANN, this approach allows for an unprecedented speed in searching and analyzing configurations—roughly 90,000 times faster than the simulator—while maintaining a high level of prediction reliability.

4. Conclusions

In this work, RF, XGBoost, and ANN were applied to predict the key performance characteristics of THz QCLs, namely material gain, current density, and emission frequency. The models were trained using a dataset generated with a numerical simulator based on the density-matrix transport model, enabling the development of a surrogate modeling framework for rapid evaluation of QCL structures.
The obtained results demonstrated that all investigated ML models achieved reliable predictive performance for material gain, emission frequency, and current density, while the ANN model consistently demonstrated the best overall accuracy. For material gain prediction, the SRMSE values were 0.36 for RF, 0.30 for XGBoost, and 0.06 for ANN. For emission frequency prediction, the corresponding SRMSE values were 0.55 for RF, 0.51 for XGBoost, and 0.22 for ANN, indicating acceptable predictive capability. For current density prediction, the SRMSE values were 0.21 for RF, 0.16 for XGBoost, and 0.04 for ANN. Overall, the ANN model achieved the highest predictive reliability across all investigated performance characteristics.
The trained ANN model was subsequently applied to the full high-dimensional configuration space defined by the considered layer thicknesses and electric fields. Approximately 44 million configurations were evaluated in about five minutes, corresponding to a speedup of roughly 90,000 times compared to the numerical simulator for a single configuration. Analysis of the 500 configurations with the highest predicted material gain resulted in MAPE values of 2.27% for material gain, 4.42% for emission frequency, and 18.9% for current density, confirming that the ANN provides reliable estimates across the explored design space.
The presented approach enables efficient exploration and optimization of QCL configurations while significantly reducing computational cost. In particular, the developed surrogate model allows for rapid identification of structures with improved material gain and provides a practical framework for accelerating the design and optimization of high-temperature THz QCLs.
The proposed framework is limited by the parameter ranges and device structures included in the training dataset, meaning that prediction reliability may decrease for configurations outside the explored domain. In particular, the model has been trained and validated only within the considered quantum-well thicknesses and bias field ranges used in the dataset generation, and its extrapolation to significantly different QCL architectures has not been assessed. Future work may include extending the approach to broader QCL architectures.

Author Contributions

M.S.: writing—reviewing and editing; conceptualization; methodology; software; visualization; data curation. N.S.: writing—original draft preparation; conceptualization; methodology; visualization. A.M.: writing—original draft preparation; conceptualization; methodology; software; visualization. N.V.: writing—reviewing and editing; conceptualization; methodology; supervision; funding acquisition. D.T.: conceptualization; methodology. M.I.: conceptualization. A.D.: writing—reviewing and editing; conceptualization; methodology; software. D.I.: supervision; funding acquisition. J.R.: supervision; funding acquisition. All authors reviewed the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financially supported by the Science Fund of the Republic of Serbia, Grant 10504, “Ultra-short pulsations from TERAhertz quantum cascade laser using passive mode-LOCKing with graphene saturable absorber”—TERALOCK, Ministry of Science, Technological Development and Innovation of the Republic of Serbia under contract numbers 451-03-34/2026-03/200103 and 451-03-33/2026-03/200017 and the COST Action CA21159 PhoBioS.

Data Availability Statement

Data underlying the results presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial Neural Networks
CWContinuous Wave
DMDensity Matrix
GAsGenetic algorithms
ILLInjection Laser Level
LLLLower Laser Level
LOLongitudinal Optical
MAPEMean Absolute Percentage Error
MLMachine Learning
NDRNegative Differential Resistance
NEGFNonequilibrium Green’s Function
QCLQuantum Cascade Lasers
RFRandom Forest
RMSERoot Mean Square Error
SRMSEStandardized Root Mean Square Error
THzTerahertz
XGBoostExtreme Gradient Boosting

Appendix A

Figure A1 shows the overall workflow used in this study. The process begins with data acquisition and preprocessing, including feature preparation and splitting the dataset into training, validation, and test subsets. Hyperparameter optimization was performed for all machine learning models, and the final models were trained and validated using the resulting optimal configurations. The trained models were then used to predict material gain, emission frequency, and current density, and their performance was evaluated using statistical error metrics. The best-performing machine learning model was further applied to rapidly predict QCL characteristics across a large number of structural configurations, enabling efficient exploration of the configuration space.
Figure A1. A schematic diagram summarizing the machine learning processes—from data acquisition and preprocessing to model training and prediction.
Figure A1. A schematic diagram summarizing the machine learning processes—from data acquisition and preprocessing to model training and prediction.
Nanomaterials 16 00651 g0a1

References

  1. Faist, J.; Capasso, F.; Sivco, D.L.; Sirtori, C.; Hutchinson, A.L.; Cho, A.Y. Quantum cascade laser. Science 1994, 264, 553–556. [Google Scholar] [CrossRef]
  2. Köhler, R.; Tredicucci, A.; Beltram, F.; Beere, H.E.; Linfield, E.H.; Davies, A.G.; Ritchie, D.A.; Iotti, R.C.; Rossi, F. Terahertz semiconductor-heterostructure laser. Nature 2002, 417, 156–159. [Google Scholar] [CrossRef] [PubMed]
  3. Gmachl, C.; Capasso, F.; Sivco, D.L.; Cho, A.Y. Recent progress in quantum cascade lasers and applications. Rep. Prog. Phys. 2001, 64, 1533–1601. [Google Scholar] [CrossRef]
  4. Wysocki, G.; Lewicki, R.; Curl, R.F.; Tittel, F.K.; Diehl, L.; Capasso, F.; Troccoli, M.; Höfler, G.; Bour, D.; Corzine, S.; et al. Widely tunable mode-hop-free external cavity quantum cascade lasers for high-resolution spectroscopy and chemical sensing. Appl. Phys. B 2008, 92, 305–311. [Google Scholar] [CrossRef]
  5. McManus, J.B.; Shorter, J.H.; Nelson, D.D.; Zahniser, M.S.; Glenn, D.E.; McGovern, R.M. Pulsed quantum cascade laser instrument with compact design for rapid, high-sensitivity measurements of trace gases in air. Appl. Phys. B 2008, 92, 387–392. [Google Scholar] [CrossRef]
  6. Dean, P.; Valavanis, A.; Keeley, J.; Bertling, K.; Lim, Y.; Alhathlool, R.; Burnett, A.; Li, L.; Khanna, S.; Indjin, D.; et al. Terahertz imaging using quantum cascade lasers—A review of systems and applications. J. Phys. D Appl. Phys. 2014, 47, 374008. [Google Scholar] [CrossRef]
  7. Dean, P.; Mitrofanov, O.; Keeley, J.; Kundu, I.; Li, L.; Linfield, E.H.; Davies, A.G. Apertureless near-field terahertz imaging using the self-mixing effect in a quantum cascade laser. Appl. Phys. Lett. 2016, 108, 091113. [Google Scholar] [CrossRef]
  8. Rakić, A.D.; Taimre, T.; Bertling, K.; Lim, Y.L.; Dean, P.; Indjin, D.; Ikonić, Z.; Harrison, P.; Valavanis, A.; Khanna, S.P.; et al. Swept-frequency feedback interferometry using terahertz frequency quantum cascade lasers: A method for imaging and materials analysis. Opt. Express 2013, 21, 22194–22205. [Google Scholar] [CrossRef]
  9. Lim, Y.L.; Taimre, T.; Bertling, K.; Dean, P.; Indjin, D.; Valavanis, A.; Khanna, S.P.; Lachab, M.; Schaider, H.; Prow, T.W.; et al. High-contrast coherent terahertz imaging of porcine tissue via swept-frequency feedback interferometry. Biomed. Opt. Express 2014, 5, 3981–3989. [Google Scholar] [CrossRef]
  10. Vitiello, M.S.; De Natale, P. Terahertz quantum cascade lasers as enabling quantum technology. Adv. Quantum Technol. 2022, 5, 2100082. [Google Scholar] [CrossRef]
  11. Walther, C.; Fischer, M.; Scalari, G.; Terazzi, R.; Hoyler, N.; Faist, J. Quantum cascade lasers operating from 1.2 to 1.6 THz. Appl. Phys. Lett. 2007, 91, 131122. [Google Scholar] [CrossRef]
  12. Scalari, G.; Walther, C.; Fischer, M.; Terazzi, R.; Beere, H.; Ritchie, D.; Faist, J. THz and sub-THz quantum cascade lasers. Laser Photonics Rev. 2009, 3, 45–66. [Google Scholar] [CrossRef]
  13. Shahili, M.; Addamane, S.J.; Kim, A.D.; Curwen, C.A.; Kawamura, J.H.; Williams, B.S. Continuous-wave GaAs/AlGaAs quantum cascade laser at 5.7 THz. Nanophotonics 2024, 13, 1735–1743. [Google Scholar] [CrossRef]
  14. Khalatpour, A.; Tam, M.C.; Addamane, S.J.; Reno, J.; Wasilewski, Z.; Hu, Q. Enhanced operating temperature in terahertz quantum cascade lasers based on direct phonon depopulation. Appl. Phys. Lett. 2023, 122, 161101. [Google Scholar] [CrossRef]
  15. Wienold, M.; Röben, B.; Schrottke, L.; Sharma, R.; Tahraoui, A.; Biermann, K.; Grahn, H.T. High-temperature continuous-wave operation of terahertz quantum-cascade lasers with metal–metal waveguides and third-order distributed feedback. Opt. Express 2014, 22, 3334–3348. [Google Scholar] [CrossRef]
  16. Li, L.; Chen, L.; Freeman, J.; Salih, M.; Dean, P.; Davies, A.G.; Linfield, E.H. Multi-watt high-power THz frequency quantum cascade lasers. Electron. Lett. 2017, 53, 799–800. [Google Scholar] [CrossRef]
  17. Li, W.; Li, Y.; Ma, Y.; Xu, Y.; Liu, J.; Zhuo, N.; Lu, Q.; Wang, L.; Zhang, J.; Zhai, S.; et al. Continuous-wave terahertz quantum cascade laser based on a hybrid bound-to-bound quantum design. Front. Photonics 2022, 3, 1071879. [Google Scholar] [CrossRef]
  18. Williams, B.S. Terahertz quantum-cascade lasers. Nat. Photonics 2007, 1, 517–525. [Google Scholar] [CrossRef]
  19. Fathololoumi, S.; Dupont, E.; Chan, C.W.I.; Wasilewski, Z.R.; Laframboise, S.R.; Ban, D.; Mátyás, A.; Jirauschek, C.; Hu, Q.; Liu, H.C. Terahertz quantum cascade lasers operating up to 200 K with optimized oscillator strength and improved injection tunneling. Opt. Express 2012, 20, 3866–3876. [Google Scholar] [CrossRef] [PubMed]
  20. Bosco, L.; Franckié, M.; Scalari, G.; Beck, M.; Wacker, A.; Faist, J. Thermoelectrically cooled THz quantum cascade laser operating up to 210 K. Appl. Phys. Lett. 2019, 115, 010601. [Google Scholar] [CrossRef]
  21. Demić, A.; Ikonić, Z.; Dean, P.; Indjin, D. Dual resonance phonon–photon–phonon terahertz quantum-cascade laser: Physics of the electron transport and temperature performance optimization. Opt. Express 2020, 28, 38788–38812. [Google Scholar] [CrossRef]
  22. Demić, A.; Ikonić, Z.; Dean, P.; Indjin, D. Prospects of temperature performance enhancement through higher resonant phonon transition designs in GaAs-based terahertz quantum-cascade lasers. New J. Phys. 2022, 24, 033047. [Google Scholar] [CrossRef]
  23. Khalatpour, A.; Paulsen, A.K.; Deimert, C.; Wasilewski, Z.R.; Hu, Q. High-power portable terahertz laser systems. Nat. Photonics 2021, 15, 16–20. [Google Scholar] [CrossRef]
  24. Stanojević, N.; Demić, A.; Vuković, N.; Dean, P.; Ikonić, Z.; Indjin, D.; Radovanović, J. Effects of background doping, interdiffusion and layer thickness fluctuation on the transport characteristics of THz quantum cascade lasers. Sci. Rep. 2024, 14, 5641. [Google Scholar] [CrossRef]
  25. Lander Gower, N.; Piperno, S.; Albo, A. The effect of doping in split-well direct-phonon THz quantum-cascade laser structures. Photonics 2021, 8, 195. [Google Scholar] [CrossRef]
  26. Bismuto, A.; Terazzi, R.; Hinkov, B.; Beck, M.; Faist, J. Fully automatized quantum cascade laser design by genetic optimization. Appl. Phys. Lett. 2012, 101, 021103. [Google Scholar] [CrossRef]
  27. Waldmueller, I.; Wanke, M.C.; Lerttamrab, M.; Allen, D.G.; Chow, W.W. Inverse-quantum-engineering: A new methodology for designing quantum cascade lasers. IEEE J. Quantum Electron. 2010, 46, 1414–1421. [Google Scholar] [CrossRef]
  28. Dupont, E.; Fathololoumi, S.; Wasilewski, Z.R.; Aers, G.; Laframboise, S.R.; Lindskog, M.; Razavipour, S.G.; Wacker, A.; Ban, D.; Liu, H.C. A phonon scattering assisted injection and extraction based terahertz quantum cascade laser. J. Appl. Phys. 2012, 111, 073111. [Google Scholar] [CrossRef]
  29. Arafin, M.T.; Islam, N.; Roy, S.; Islam, S. Performance optimization for terahertz quantum cascade laser at higher temperature using genetic algorithm. Opt. Quantum Electron. 2012, 44, 701–712. [Google Scholar] [CrossRef]
  30. Gajić, A.; Radovanović, J.; Milanović, V.; Indjin, D.; Ikonić, Z. Genetic algorithm applied to the optimization of quantum cascade lasers with second harmonic generation. J. Appl. Phys. 2014, 115, 053712. [Google Scholar] [CrossRef]
  31. Mueller, D.; Triplett, G. Development of a multi-objective evolutionary algorithm for strain-enhanced quantum cascade lasers. Photonics 2016, 3, 44. [Google Scholar] [CrossRef]
  32. Mirčetić, A.; Indjin, D.; Ikonić, Z.; Harrison, P.; Milanović, V.; Kelsall, R.W. Towards automated design of quantum cascade lasers. J. Appl. Phys. 2005, 97, 084506. [Google Scholar] [CrossRef]
  33. Villa, N.; Strübi, G.; Gresch, T.; Butet, J.; Blaser, S.; Müller, A. Quantum cascade lasers with discrete and non-equidistant extended tuning tailored by simulated annealing. Opt. Express 2019, 27, 26701–26712. [Google Scholar] [CrossRef]
  34. Tomić, S.; Tadić, M.; Milanović, V.; Ikonić, Z. The optimization of optical gain in the intersubband quantum well laser. J. Appl. Phys. 2000, 87, 7965–7972. [Google Scholar] [CrossRef]
  35. Ko, Y.H.; Yu, J.S. Design optimization of quantum cascade laser structures at λ ≈ 11–12 μm. Phys. Status Solidi a 2010, 207, 2190–2194. [Google Scholar] [CrossRef]
  36. Mehta, K.; Raju, S.S.; Xiao, M.; Wang, B.; Zhang, Y.; Wong, H.Y. Improvement of TCAD-augmented machine learning using autoencoder for semiconductor variation identification and inverse design. IEEE Access 2020, 8, 143519–143529. [Google Scholar] [CrossRef]
  37. López de la Rosa, F.; Sánchez-Reolid, R.; Gómez-Sirvent, J.L.; Morales, R.; Fernández-Caballero, A. A review on machine and deep learning for semiconductor defect classification in scanning electron microscope images. Appl. Sci. 2021, 11, 9508. [Google Scholar] [CrossRef]
  38. Wang, Z.; Li, L.; Leon, R.C.; Yang, J.; Shi, J.; van der Laan, T.; Usman, M. Improving semiconductor device modeling for electronic design automation by machine learning techniques. IEEE Trans. Electron Devices 2023, 71, 263–271. [Google Scholar] [CrossRef]
  39. Malkiel, I.; Mrejen, M.; Wolf, L.; Suchowski, H. Machine learning for nanophotonics. MRS Bull. 2020, 45, 221–229. [Google Scholar] [CrossRef]
  40. Liu, Z.; Zhu, D.; Raju, L.; Cai, W. Tackling photonic inverse design with machine learning. Adv. Sci. 2021, 8, 2002923. [Google Scholar] [CrossRef]
  41. Tankiz, S.; Celebi, F.; Yildirim, R. Computer-aided design model for a quantum-cascade laser. IET Circuits Devices Syst. 2011, 5, 143–149. [Google Scholar] [CrossRef]
  42. Tang, P.; Chi, X.; Chen, B.; Wu, C. Predictions of resonant mode characteristics for terahertz quantum cascade lasers with distributed feedback utilizing machine learning. Opt. Express 2021, 29, 15309–15321. [Google Scholar] [CrossRef] [PubMed]
  43. Limbacher, B.; Schoenhuber, S.; Kainz, M.A.; Bachelard, N.; Andrews, A.M.; Detz, H.; Strasser, G.; Darmo, J.; Unterrainer, K. Deep learning control of THz QCLs. Opt. Express 2021, 29, 23611–23624. [Google Scholar] [CrossRef]
  44. Suri, S.; Mao, Y.; Kirch, J.D.; Knipfer, B.; Yu, Z.; Botez, D.; Mawst, L.J. Machine-learning-based quantum cascade laser design. In Proceedings of the IEEE Photonics Conference, Vancouver, BC, Canada, 18–21 October 2021. [Google Scholar]
  45. Hu, Y.; Suri, S.; Kirch, J.D.; Knipfer, B.; Jacobs, S.; Nair, S.K.; Zhou, Z.; Yu, Z.; Botez, D.; Mawst, L.J. Active-region design of mid-infrared quantum cascade lasers via machine learning. In Proceedings of the IEEE Photonics Conference, Orlando, FL, USA, 12–16 November 2023. [Google Scholar]
  46. Correa Hernandez, A.; Gmachl, C.F. A machine learning framework for quantum cascade laser design. APL Mach. Learn. 2024, 2, 036111. [Google Scholar] [CrossRef]
  47. Wang, K.; Yang, C.; Liu, R.; Du, A.-T.; Cao, C.-F.; Yang, J.; Wu, J.-C.; Huang, H.; Gong, Q. Automated wavefunction identification and performance prediction for interband cascade lasers using neural networks. J. Phys. D Appl. Phys. 2025, 58, 195105. [Google Scholar] [CrossRef]
  48. Hu, Y.; Suri, S.; Kirch, J.; Knipfer, B.; Jacobs, S.; Nair, S.K.; Zhou, Z.; Yu, Z.; Botez, D.; Mawst, L.J. Large-Scale Data Generation for Quantum-Cascade-Laser Active-Region Design with Automated Wavefunction Identification. Appl. Phys. Lett. 2024, 124, 241103. [Google Scholar] [CrossRef]
  49. Hu, Y.; Suri, S.; Kirch, J.; Knipfer, B.; Jacobs, S.; Yu, Z.; Botez, D.; Mawst, L.J. Enhancing Quantum Cascade Laser Active Region Design through Inverse Neural Networks: A Machine Learning Approach to Metric-Based Structure Generation. AIP Adv. 2024, 14, 105033. [Google Scholar] [CrossRef]
  50. Pereira, M.F. Analytical Expressions for Numerical Characterization of Semiconductors per Comparison with Luminescence. Materials 2017, 11, 2. [Google Scholar] [CrossRef]
  51. Schmielau, T.; Pereira, M.F. Momentum Dependent Scattering Matrix Elements in Quantum Cascade Laser Transport. Microelectron. J. 2009, 40, 869–871. [Google Scholar] [CrossRef]
  52. Apostolakis, A.; Pereira, M.F. Superlattice nonlinearities for Gigahertz-Terahertz generation in harmonic multipliers. Nanophotonics 2020, 9, 3941–3952. [Google Scholar] [CrossRef]
  53. Pereira, M.F.; Anfertev, V.A.; Zubelli, J.P.; Vaks, V.L. Terahertz generation by gigahertz multiplication in superlattices. J. Nanophoton. 2017, 11, 046022. [Google Scholar] [CrossRef]
  54. Pereira, M.F.; Anfertev, V.; Shevchenko, Y.; Vaks, V. Giant controllable gigahertz to terahertz nonlinearities in superlattices. Sci. Rep. 2020, 10, 15950. [Google Scholar] [CrossRef]
  55. Vaks, V.; Anfertev, V.; Chernyaeva, M.; Domracheva, E.; Yablokov, A.; Maslennikova, A.; Zhelesnyak, A.; Baranov, A.; Schevchenko, Y.; Pereira, M.F. Sensing nitriles with THz spectroscopy of urine vapours from cancers patients subject to chemotherapy. Sci. Rep. 2022, 12, 18117. [Google Scholar] [CrossRef] [PubMed]
  56. Demić, A.; Grier, A.; Ikonić, Z.; Valavanis, A.; Evans, C.A.; Mohandas, R.; Li, L.; Linfield, E.H.; Davies, A.G.; Indjin, D. Infinite-period density-matrix model for terahertz-frequency quantum cascade lasers. IEEE Trans. Terahertz Sci. Technol. 2017, 7, 368–377. [Google Scholar] [CrossRef]
  57. Demić, A.; Ikonić, Z.; Kelsall, R.W.; Indjin, D. Density matrix superoperator for periodic quantum systems and its application to quantum cascade laser structures. AIP Adv. 2019, 9, 095019. [Google Scholar] [CrossRef]
  58. Lindskog, M.; Wolf, J.M.; Trinite, V.; Liverini, V.; Faist, J.; Maisons, G.; Carras, M.; Aidam, R.; Ostendorf, R.; Wacker, A. Comparative analysis of quantum cascade laser modeling based on density matrices and non-equilibrium Green’s functions. Appl. Phys. Lett. 2014, 105, 103106. [Google Scholar] [CrossRef]
  59. Soleimanikahnoj, S.; Jonasson, O.; Karimi, F.; Knezevic, I. Numerically efficient density-matrix technique for modeling electronic transport in mid-infrared quantum cascade lasers. J. Comput. Electron. 2021, 20, 280–309. [Google Scholar] [CrossRef]
  60. Burnett, B.A.; Pan, A.; Chui, C.O.; Williams, B.S. Robust density matrix simulation of terahertz quantum cascade lasers. IEEE Trans. Terahertz Sci. Technol. 2018, 8, 492–501. [Google Scholar] [CrossRef]
  61. Cherni, A.; Zeiri, N.; Yahyaoui, N.; Baser, P.; Said, M.; Saadaoui, S.; Murshed, M.N. Machine learning algorithms for predicting the photoionization cross section of CdS/ZnSe core/shell spherical quantum dots surrounded by dielectric matrices. Results Phys. 2025, 71, 108186. [Google Scholar] [CrossRef]
  62. Jovanović, V.; Indjin, D.; Vukmirović, N.; Ikonić, Z.; Harrison, P.; Linfield, E.H.; Page, H.; Marcadet, X.; Sirtori, C.; Worrall, C.; et al. Mechanisms of dynamic range limitations in GaAs/AlGaAs quantum-cascade lasers: Influence of injector doping. Appl. Phys. Lett. 2005, 86, 211117. [Google Scholar] [CrossRef]
  63. Wekalao, J.; Mehaney, A.; Bin-Jumah, M.; Alarifi, N.S.; Abukhadra, M.R.; Elsayed, H.A.; Rajakannu, A.; Vijayalakshmi, K. A high-sensitivity terahertz SPR biosensor with machine learning optimization for colorectal cancer detection. Mater. Sci. Semicond. Process. 2026, 201, 110064. [Google Scholar] [CrossRef]
  64. Milicevic, A.; Marković, Z.; Belošević, S.; Erić, M.; Žarković, M.; Marinković, A. Influence of fuel and operation mode on air pollutants emission from a pulverized coal-fired power plant: Field experiments and machine learning predictions. Therm. Sci. Eng. Prog. 2025, 57, 103151. [Google Scholar] [CrossRef]
  65. Topalović, D.B.; Davidović, M.D.; Jovanović, M.; Bartonova, A.; Ristovski, Z.; Jovašević-Stojanović, M. In search of an optimal in-field calibration method of low-cost gas sensors for ambient air pollutants: Comparison of linear, multilinear and artificial neural network approaches. Atmos. Environ. 2019, 213, 640–658. [Google Scholar] [CrossRef]
  66. Milicevic, A.; Belošević, S.; Tomanović, I.; Crnomarković, N.; Deng, L.; Che, D. Numerical simulation-driven machine learning and particle swarm optimization of burner fuel distribution for cleaner combustion in a thermal power plant. Eng. Appl. Artif. Intell. 2026, 172, 114359. [Google Scholar] [CrossRef]
Figure 1. 261 K record high-temperature LO-phonon THz QCL [14].
Figure 1. 261 K record high-temperature LO-phonon THz QCL [14].
Nanomaterials 16 00651 g001
Figure 2. Material gain dependence on emission frequency at different electric biases. The inset of the figure shows the emission frequencies of the peaks of material gain versus the electric bias.
Figure 2. Material gain dependence on emission frequency at different electric biases. The inset of the figure shows the emission frequencies of the peaks of material gain versus the electric bias.
Nanomaterials 16 00651 g002
Figure 3. Material gain and current density dependence on electric bias.
Figure 3. Material gain and current density dependence on electric bias.
Nanomaterials 16 00651 g003
Figure 4. Box plots of layer widths, field strength, material gain, emission frequency, and current density.
Figure 4. Box plots of layer widths, field strength, material gain, emission frequency, and current density.
Nanomaterials 16 00651 g004
Figure 5. Distribution of material gain with the overall mean indicated.
Figure 5. Distribution of material gain with the overall mean indicated.
Nanomaterials 16 00651 g005
Figure 6. Distribution of emission frequencies with the overall mean indicated.
Figure 6. Distribution of emission frequencies with the overall mean indicated.
Nanomaterials 16 00651 g006
Figure 7. Distribution of current density with the overall mean indicated.
Figure 7. Distribution of current density with the overall mean indicated.
Nanomaterials 16 00651 g007
Figure 8. Heatmap showing Pearson correlation between input parameters and target variables.
Figure 8. Heatmap showing Pearson correlation between input parameters and target variables.
Nanomaterials 16 00651 g008
Figure 9. Distribution of relative prediction errors for ML models in material gain prediction.
Figure 9. Distribution of relative prediction errors for ML models in material gain prediction.
Nanomaterials 16 00651 g009
Figure 10. Distribution of relative prediction errors for ML models in emission frequency prediction.
Figure 10. Distribution of relative prediction errors for ML models in emission frequency prediction.
Nanomaterials 16 00651 g010
Figure 11. Distribution of relative prediction errors for ML models in current density prediction.
Figure 11. Distribution of relative prediction errors for ML models in current density prediction.
Nanomaterials 16 00651 g011
Table 1. RMSE performance of the models in predicting material gain.
Table 1. RMSE performance of the models in predicting material gain.
Training Data [cm−1]Test Data [cm−1]
Random forest2.757.19
XGBoost1.556.07
ANN0.941.13
Table 2. RMSE values for model predictions of emission frequency.
Table 2. RMSE values for model predictions of emission frequency.
Training Data [THz]Test Data [THz]
Random forest0.230.62
XGBoost0.270.58
ANN0.190.25
Table 3. Performance of different models in terms of RMSE for current density.
Table 3. Performance of different models in terms of RMSE for current density.
Training Data [A⋅cm−2]Test Data [A⋅cm−2]
Random forest118.8320.8
XGBoost52.2247.1
ANN47.955.0
Table 4. The mean absolute percentage error between the predicted and actual values from the test dataset for each output characteristic.
Table 4. The mean absolute percentage error between the predicted and actual values from the test dataset for each output characteristic.
Material Gain [%]Emission Frequency [%]Current Density [%]
10.555.314.24
Table 5. Minimal value, maximal value, step, and the number of variations generated for every input feature used in the configuration space sweep.
Table 5. Minimal value, maximal value, step, and the number of variations generated for every input feature used in the configuration space sweep.
FeatureMinimal ValueMaximal ValueStepNumber of Combinations
Layer width 117.28 Å39.88 Å2.825 Å9
Layer width 244.7 Å104.025 Å2.825 Å22
Layer width 310.56 Å21.86 Å2.825 Å5
Layer width 418.0 Å40.6 Å2.825 Å2106
Layer width 518.0 Å40.6 Å2.825 Å
Layer width 654.0 Å124.625 Å2.825 Å
Electric field17.5 kV/cm27.5 kV/cm0.5 kV/cm21
Table 6. The mean absolute percentage error of predicted values compared to actual values from the 500 best configurations for each output value.
Table 6. The mean absolute percentage error of predicted values compared to actual values from the 500 best configurations for each output value.
Material Gain [%]Emission Frequency [%]Current Density [%]
2.274.4218.9
Table 7. Structure parameters of the top 5 configurations with the highest gain, predicted by the ANN, as well as the structure parameters for the initial record high temperature design.
Table 7. Structure parameters of the top 5 configurations with the highest gain, predicted by the ANN, as well as the structure parameters for the initial record high temperature design.
IndexLayer 1 [Å]Layer 2 [Å]Layer 3 [Å]Layer 4 [Å]Layer 5 [Å]Layer 6 [Å]Electric Field [kV/cm]
125.75578.613.3851820.825116.1524
225.75578.613.38520.82520.825113.32524
328.5881.42513.3851818124.62521
425.75581.42513.3851818121.822
525.75584.2513.3851820.825124.62520
Initial 261 K design28.874.517.630.030.090.022.5
Table 8. Predicted and actual parameters of the top 5 configurations with the highest gain, as predicted by the ANN, along with the parameters for the initial record high temperature design.
Table 8. Predicted and actual parameters of the top 5 configurations with the highest gain, as predicted by the ANN, along with the parameters for the initial record high temperature design.
IndexPredicted Gain [cm−1]Actual Gain [cm−1]Predicted Frequency [THz]Actual Frequency [THz]Predicted Current [A⋅cm−2]Actual Current [A⋅cm−2]
186.9489.734.224.432984.652426.12
286.3689.224.234.432995.862448.40
386.1692.363.874.112526.741860.54
486.0188.233.783.952887.732301.16
585.9988.723.523.632891.242252.85
Initial 261 K designActual Gain [cm−1]Actual Frequency [THz]Actual Current [Acm−2]
64.233.6852591.12
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Stojković, M.; Stanojević, N.; Milićević, A.; Vuković, N.; Topalović, D.; Ignjatović, M.; Demić, A.; Indjin, D.; Radovanović, J. Machine Learning Models for Predicting Key Performance Characteristics of High-Temperature THz Quantum Cascade Lasers. Nanomaterials 2026, 16, 651. https://doi.org/10.3390/nano16110651

AMA Style

Stojković M, Stanojević N, Milićević A, Vuković N, Topalović D, Ignjatović M, Demić A, Indjin D, Radovanović J. Machine Learning Models for Predicting Key Performance Characteristics of High-Temperature THz Quantum Cascade Lasers. Nanomaterials. 2026; 16(11):651. https://doi.org/10.3390/nano16110651

Chicago/Turabian Style

Stojković, Mihailo, Novak Stanojević, Aleksandar Milićević, Nikola Vuković, Dušan Topalović, Milan Ignjatović, Aleksandar Demić, Dragan Indjin, and Jelena Radovanović. 2026. "Machine Learning Models for Predicting Key Performance Characteristics of High-Temperature THz Quantum Cascade Lasers" Nanomaterials 16, no. 11: 651. https://doi.org/10.3390/nano16110651

APA Style

Stojković, M., Stanojević, N., Milićević, A., Vuković, N., Topalović, D., Ignjatović, M., Demić, A., Indjin, D., & Radovanović, J. (2026). Machine Learning Models for Predicting Key Performance Characteristics of High-Temperature THz Quantum Cascade Lasers. Nanomaterials, 16(11), 651. https://doi.org/10.3390/nano16110651

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop