Introduction

High-temperature superconductors have always been a hot topic in the field of condensed matter physics. Theoretical predictions and experimental studies of several typical binary hydride superconductors indicate that hydrides are potential room-temperature superconductors. For example, in SiH4, experimental observations of metallization and theoretical predictions of superconductivity are one of the earlier studies on hydride superconductors1,2. In hydrides containing H2 unit, the superconducting transition temperature (Tc) can reach over 100 K3,4,5. In H3S, high-temperature superconductivity exceeding 200 K was theoretically predicted6 and experimentally observed7 for the first time. In LaH10 containing clathrate H atom structure, near room temperature superconductivity has been theoretically predicted8,9 and experimentally confirmed10,11. And in CeH9, the diamagnetism characteristic of the Meissner effect and a sharp drop of the resistance to near zero have been further confirmed12. These milestone researches have spurred a significant amount of theoretical and experimental research on binary hydride superconductors13,14,15,16,17,18,19,20,21,22,23,24. Furthermore, exploring more high-temperature superconductivity under low pressure, on the one hand, many in-depth works have been carried out. For example, for the binary hydride LaH10, the structural phase transition from high symmetrical \(Fm\bar{3}m\) to low symmetrical C2/m can further reduce the stability pressure to 135 GPa25. On the other hand, the research scope needs to be expanded. Multinary hydrides provide a broader research space for finding high-temperature superconductors and offer more potential for discovering room-temperature superconductors26. Currently, researchers have shifted their focus to the study of ternary hydrides.

Currently, ternary hydrides can be considered as doping in already synthesized binary hydrides. It may be possible to reduce the pressure required for hydride stability or enhance the Tc by introducing additional elements. Based on this idea, numerous theoretical calculations have focused on doping high-Tc binary hydrides to form ternary hydrides, including three types of nonmetal-nonmetal-hydrogen, metal-metal-hydrogen, and metal-nonmetal-hydrogen. For nonmetal-nonmetal-hydrogen-like, most theoretical studies were based on the H3S system for doping other elements27,28,29,30. In some of these ternary hydrides, the Tc can be optimized and increased. However, few successful experimental verifications have been reported. For metal-metal-hydrogen system, researchers have designed novel ternary hydrides based on prototype structures of CaH6, CeH9, and LaH10. These designs aim to optimize superconducting properties through interactions and doping effects between elements. Significant progress has been made in experimental research on metal-metal-hydrogen systems. For example, ternary alloy hydrides such as (La, Y)H6 (Tc = 237 K at 176 GPa)31, (La, Y)H10 (Tc = 253 K at 183 GPa)31, (La, Ce)H9 (Tc = 173 K at 110 GPa)32,33, (Y, Ce)H9 (Tc = 140 K at 120 GPa)34, and (La, Ce)H10 (Tc = 175 K at 155 GPa)35 have been synthesized, further enriching the family of high-temperature superconductors. For metal-nonmetal-hydrogen ternary system, which has attracted much attention, numerous structures have been theoretically designed to explore the stability below 100 GPa, such as clathrate LaBH836,37 and molecular crystal MB2H8 (M = K, Rb, and Cs)38,39 and MC2H8 (M = Na, K, Mg, Al, and Ga)40. Theoretical predictions suggest that the metal-nonmetal-hydrogen ternary system can achieve higher Tc below 100 GPa, even as low as a few dozen GPa, but there is a lack of relevant experimental verification. Metal-nitrogen-hydrogen is another recently highly anticipated metal-nonmetal-hydrogen system, such as Lu-N-H. However, the superconductivity of Lu-N-H is highly questionable. The absence of the near ambient-pressure room-temperature superconductivity of Lu-N-H has been well supported by experiments41 and high-throughput theoretical calculations42. But, superconducting phases are allowed at high pressures although the critical temperatures are far below the room temperature, such as the experimental studies43 and the theoretical predictions42. Additionally, in the MN2H8 (M = Al, Mg, Ga, Zn, Cd, and Hg) system, it was predicted that there would be ambient or low-pressure superconductivity44. This indicates that compounds composed of nitrogen and hydrogen may exhibit unusual physical properties under high pressure. The existence or absence of superconductivity in metal nitrogen hydrides is worth further exploration.

Transition metal nitrides (TMNs) are interstitial compounds that can accommodate other elements into their lattices. The crystal structure, dynamical properties, and superconductivity of TMNs such as TiN, ZrN, HfN, and NbN have been widely reported in numerous studies45,46,47,48,49,50,51. However, research on the hydrides based on TMNs is still quite lacking; especially their superconductivity needs further exploration and confirmation. Among TMNs, ZrN has rich properties such as structural phase transition under pressure, superhardness, and superconductivity49,51,52,53,54. In this study, therefore, we have selected ZrN as the precursor material to explore the crystal structures, electronic characteristics, and possible superconductivity of Zr-N-H ternary hydrides and further synthesized the Zr-N-H ternary hydrides at megabar pressure. We predicted two novel Zr-N-H ternary hydrides of P63/mmc-ZrNH2 with Tc in 15–17 K and \(F\bar{4}3m\)-ZrNH with Tc in 36–40 K, respectively, and the obtained Tc values of the two kinds of Zr-N-H systems based on the resistance measurements are consistent with the theoretical results.

Results and Discussion

Theoretical prediction

In order to focus on the research scope, we fixed the Zr:N ratio at 1:1, which means that the form of Zr-N-H ternary hydride is ZrNHx. Then, we used particle swarm optimization algorithm to search for the low-enthalpy structures of ZrNHx (x = 1, 2, 3, 4) in the pressure range of 100–150 GPa and predicted the superconducting parameters of stable structures within the framework of electron-phonon coupling (EPC) theory. For each chemical ratio (each hydrogen content), we chose the structure with the lowest enthalpy to calculate the total energy, and then compared it with the energies of ZrN and hydrogen to obtain the enthalpy of formation. As shown in Fig. 1, the enthalpy of formation of ZrNHx relative to ZrN and H at a pressure of 140 GPa is presented in convex hull form, where the C2/c structure of H255 and the CsCl-type structure of ZrN56 were adopted. We found two Zr-N-H ternary hydrides are thermodynamically stable, namely ZrNH2 with P63/mmc space-group and ZrNH with \(F\bar{4}3m\) space-group. Neither of these structures is considered a high H content system. Cmcm-ZrNH3 and P-4m2-ZrNH4 with relatively high hydrogen content are thermodynamically metastable, 0.016 eV/atom and 0.055 eV/atom above the hull energy, respectively.

Fig. 1: Phase diagram.
Fig. 1: Phase diagram.
Full size image

Convex hull diagram for the Zr-N-H system with respect to ZrN and H at 140 GPa.

For thermodynamically stable phases of Zr-N-H, Fig. 2 shows the crystal structures of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH. It is found that hydrogen element exists in the form of quasi H2 molecules in P63/mmc-ZrNH2, while hydrogen element exists in the atom-like form, bonding with Zr atoms in \(F\bar{4}3m\)-ZrNH. As shown in Fig. 2, in \(F\bar{4}3m\)-ZrNH, Zr and N maintain the NaCl-type structural characteristics of ZrN52, and the H atoms occupy the tetrahedral interstices. In P63/mmc-ZrNH2, the structural characteristics of Zr and N are different from both NaCl-type ZrN and CsCl-type ZrN. The coordination number of N to Zr becomes 5, and the quasi H2 molecules formed by H atoms are arranged along the c-axis direction. Figure 2a, b shows the volume, lattice parameters, and bonding lengths in two hydrides as a function of pressure. As the pressure changes, these crystal parameters show continuity. As expected, the volume decreases significantly with increasing pressure. Except for the H-H bond length in quasi H2 molecules, other bond lengths, such as Zr-N and Zr-H, decrease with increasing pressure, but the H-H bond length remains almost unchanged. For P63/mmc-ZrNH2, Zr atom is at Wyckoff 2c site, N atom is at Wyckoff 2d site, while H atom is at Wyckoff 4e site. At 150 GPa, the lattice parameters of P63/mmc-ZrNH2 are a = b = 3.465 Å and c = 4.125 Å. The H-H bond length dH−H in quasi H2 molecule is 0.885 Å, and the distance dZr−N between Zr and N is 2.000 Å or 2.062 Å. With regard to \(F\bar{4}3m\)-ZrNH, Zr atom is at Wyckoff 4b site, N atom is at Wyckoff 4a site, while H atom is at Wyckoff 4c site. At 145 GPa, the lattice parameters of \(F\bar{4}3m\)-ZrNH are a = b = c = 4.246 Å. The bond lengths of dZr−H and dZr−N are 1.839 Å and 2.123 Å, respectively. To further understand the structural characteristics of these two ternary hydrides, we have also presented the calculated X-ray diffraction patterns of P63/mmc-ZrNH2 (Fig. 1c) and \(F\bar{4}3m\)-ZrNH (Fig. 1d), respectively.

Fig. 2: Crystal structural parameters of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH.
Fig. 2: Crystal structural parameters of P63/mmc-ZrNH2 and 
                        
                          
                        
                        $$F\bar{4}3m$$
                        
                          F
                          
                            
                              4
                            
                            ¯
                          
                          3
                          m
                        
                      -ZrNH.
Full size image

a Volume of hydrides of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH as a function of pressure. Inset: The crystal structures of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH viewed from different directions. Green, silver, and pink balls represent Zr, N, and H atoms, respectively. b Lattice parameters of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH as a function of pressure, including lattice constants (a, b, c), bonding lengths between Zr and N (dZr−N), between Zr and H (dZr−H), and between H and H (dH−H). c, d are the calculated X-ray diffraction patterns of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH, respectively.

Within the considered pressure range, we selected typical pressure points and calculated the band structure along high-symmetrical k-point paths and density of states (DOS), including total and projected on elements. Figure 3a, b shows the electronic structures P63/mmc-ZrNH2 at 150 GPa and \(F\bar{4}3m\)-ZrNH at 145 GPa, respectively. From the band structures, both P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH exhibit the obvious metallic characteristics under pressure. Two bands cross the Fermi level in P63/mmc-ZrNH2 at 150 GPa, while seven bands cross the Fermi level in \(F\bar{4}3m\)-ZrNH at 145 GPa, forming the complex Fermi surfaces. The electronic DOS at the Fermi level indicates that \(F\bar{4}3m\)-ZrNH has a higher total DOS value than P63/mmc-ZrNH2, the former is about 0.173 states/eV/atom, while the latter is about 0.095 states/eV/atom. The values of DOS at the Fermi level are comparable with other hydrides containing H2 molecules4 and SH36, but less than those of several metal superhydrides such as LaH108 and TbH1017. From the perspective of electronic DOS, Zr has the greatest contribution to the electronic DOS at the Fermi level, followed by H, and N has the smallest contribution.

Fig. 3: Electronic structures of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH.
Fig. 3: Electronic structures of P63/mmc-ZrNH2 and 
                        
                          
                        
                        $$F\bar{4}3m$$
                        
                          F
                          
                            
                              4
                            
                            ¯
                          
                          3
                          m
                        
                      -ZrNH.
Full size image

Band structure along high-symmetrical k-point paths and density of states (DOS) including total and projected on elements. a and b are corresponding to P63/mmc-ZrNH2 at 150 GPa and \(F\bar{4}3m\)-ZrNH at 145 GPa, respectively.

Choosing the same pressure, we have calculated phonon dispersion, phonon density of states (PhDOS), and Eliashberg spectra function α2F(ω) to understand the superconductivity of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH. Figure 3 shows the results P63/mmc-ZrNH2 at 150 GPa and \(F\bar{4}3m\)-ZrNH at 145 GPa. The absence of phonon imaginary frequencies proves that these two hydrides satisfy the dynamic stability. Neglecting the small differences in pressure, the presence of quasi H2 molecules in P63/mmc-ZrNH2 leads to higher phonon vibration frequencies as shown in Fig. 4a and d. Combining phonon spectra with the PhDOS projected on atoms, we find that, in P63/mmc-ZrNH2, the vibration modes contributing in the frequency range of 1850–2560 cm−1 mainly result from H-H stretching vibration in H2 units, the phonon frequency in the range of 1200–1550 cm−1 comes from the attraction of N atoms to H2 molecules, or the coupling vibration between H2-H2, and the vibration frequencies of N and Zr are concentrated in the range of 600–900 cm−1 and below 400 cm−1, respectively. The Raman active mode (Ag and B3g) and infrared active mode (B2u, Au, and B3u) at the Brillouin zone center are labeled for P63/mmc-ZrNH2, and the Raman active mode (A1) and Raman + infrared active mode (T1 and T2) at the Brillouin zone center are also labeled for \(F\bar{4}3m\)-ZrNH. The attraction of Zr to H atom in \(F\bar{4}3m\)-ZrNH is stronger than that of N to H2 molecules in P63/mmc-ZrNH2, resulting in a slight increase in the vibration frequency of H in \(F\bar{4}3m\)-ZrNH. Similarly, N also experiences a slight decrease in frequency due to the relatively big Zr-N distance in \(F\bar{4}3m\)-ZrNH. As a result, phonon bandwidths are relatively smaller in \(F\bar{4}3m\)-ZrNH than those of P63/mmc-ZrNH2.

Fig. 4: Phonon structures and superconducting parameters of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH.
Fig. 4: Phonon structures and superconducting parameters of P63/mmc-ZrNH2 and 
                        
                          
                        
                        $$F\bar{4}3m$$
                        
                          F
                          
                            
                              4
                            
                            ¯
                          
                          3
                          m
                        
                      -ZrNH.
Full size image

Phonon spectra, phonon density of states (PhDOS) projected on atoms, Eliashberg spectral function α2F(ω), and electron-phonon coupling integral λ(ω). ac correspond to P63/mmc-ZrNH2 at 150 GPa, and (df) correspond to \(F\bar{4}3m\)-ZrNH at 145 GPa. The Raman active mode (Ag and B3g) and infrared active mode (B2u, Au, and B3u) at the Brillouin zone center are labeled for P63/mmc-ZrNH2, and the Raman active mode (A1) and Raman + infrared active mode (T1 and T2) at the Brillouin zone center are also labeled for \(F\bar{4}3m\)-ZrNH.

Although there is a wider phonon frequency range in P63/mmc-ZrNH2, there is a stronger PhDOS (Fig. 4b, e) and Eliashberg spectra function (Fig. 4c, f) in \(F\bar{4}3m\)-ZrNH. Hence, a larger EPC constant is obtained in \(F\bar{4}3m\)-ZrNH, as shown in Fig. 4c, f. The total EPC constants are 0.95 for P63/mmc-ZrNH2 at 150 GPa and 1.32 for \(F\bar{4}3m\)-ZrNH at 145 GPa, respectively. The logarithmic average of phonon frequency (\({\omega }_{\log }\)) is 327.6 K and 384.7 K in P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH, respectively. Neither of these structures is considered a high H content system, so when we used the Allen-Dynes-corrected McMillan eq.57 to calculate the superconducting transition temperature, we took 0.15 for the Coulomb pseudopotential μ. Combining the calculated λ and \({\omega }_{\log }\) with μ = 0.15, we can obtain that the Tc is 17.1 K for P63/mmc-ZrNH2 at 150 GPa and 36.1 K for \(F\bar{4}3m\)-ZrNH at 145 GPa, respectively. Although H’s contribution to the total EPC is relatively small in these two ternary hydrides, \(F\bar{4}3m\)-ZrNH leads to a stronger \({\omega }_{\log }\) than P63/mmc-ZrNH2, which further increases Tc in Zr-N-H system.

To understand the superconductivity of these two Zr-N-H hydrides, we have calculated the Tc of ZrN under high pressure. We found that the theoretically predicted Tc = 3.9 K of ZrN at 145 GPa is obviously different from the superconducting transition temperatures of Zr-N-H. The presence of quasi H2 molecules has a positive effect on enhancing the superconductivity of hydrides3,4,5,58, which is why P63/mmc-ZrNH2 exhibits slightly stronger superconductivity than ZrN. \(F\bar{4}3m\)-ZrNH has higher Tc than P63/mmc-ZrNH2, implying that the approximate quasi H atomic form further enhances the superconductivity of hydrides, which has been further confirmed in other cage hydrides8,9,13,14,15,16,17,18,59,60. Due to the relatively small contribution of hydrogen to the DOS value at the Fermi level, these two Zr-N-H hydrides exhibit the lower superconducting transition temperature lower than H3S and LaH10.

Expanding to other pressures within the range of 100–150 GPa, we observed the variation of superconducting parameters of P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH with pressure and summarized in Table 1. Figure 5 also shows the superconducting transition temperature of these two hydrides as a function of pressure. We can further observe that the Tc’s of the two hydrides are different from that of ZrN throughout the entire pressure range, and the Tc’s of the two hydrides are also significantly different. Although the Tc of the two hydrides fluctuates slightly with pressure changes, they are basically maintained at the same level. The Tc of ZrNH2 is in the range of 15–17 K within the considered pressure range, while the Tc of ZrNH varies in the range of 36–40 K with pressure changes. As shown in Table 1, \(F\bar{4}3m\)-ZrNH has stronger electron-phonon interactions than P63/mmc-ZrNH2, but the EPC strengths of these two hydrides are still at a moderate level, lower than those of hydrides with high Tc6,13,14,15,16,17.

Table 1 Calculated superconducting parameters
Fig. 5: Pressure dependence on Tc for ZrN, P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH.
Fig. 5: Pressure dependence on Tc for ZrN, P63/mmc-ZrNH2 and 
                        
                          
                        
                        $$F\bar{4}3m$$
                        
                          F
                          
                            
                              4
                            
                            ¯
                          
                          3
                          m
                        
                      -ZrNH.
Full size image

Theoretical predictions and experimental results are represented by hollow and solid symbols, respectively.

Experimental preparation and measurement

Based on the theoretical prediction of the superconductivity of Zr-N-H ternary hydrides, we have attempted the experimental synthesis at high pressures and laser heating conditions. ZrN with NaCl-type structure was pressed into small pieces and loaded together with ammonia borane (NH3BH3) into diamond anvil cell (DAC). NH3BH3 was selected as the hydrogen source due to its decomposition reaction upon heating11. Due to the enormous challenges of high-pressure experiments, we only demonstrate the superconductivity of predicted hydrides based on the electrical transport measurements through the realization of the zero-resistance state. We started the experiments at pressures from 30  GPa on because of the existence of pressure for the pressed sample in the sample chamber between the small-size diamond anvils. To study the conductivity behavior of the ternary hydride Zr-N-H, we prepared two kinds of samples of ZrN and Zr-N-H, namely, without and with H produced by NH3BH3.

We first observed the conductivity of ZrN under pressure without hydrogen source. ZrN was compressed to 145 GPa. The inset of Fig. 6a shows an optical microscope image of the sample ZrN placed on an insulating c-BN cushion with four Pt wires. Figure 6a displays the temperature dependence on the resistance of the sample ZrN from 2 to 300 K at pressures up to 145 GPa. At a pressure of 104 GPa, the resistance at normal state shows the metallic behavior with a decreasing resistance as the temperature decreases. However, when the pressure reaches 114 GPa, the resistance at normal state of ZrN exhibits the non-metallic behavior with increasing resistance as the temperature decreases. As the pressure further increases, the non-metallic behavior of the resistance at normal state is gradually suppressed. The sudden change in the resistance at normal state of ZrN around 110 GPa may be attributed to a phase transition of the sample. Figure 6b is an enlarged view of the low-temperature region of Fig. 6a, showing a temperature range from 0 to 10 K. It can be seen that the Tc of ZrN is relatively low ~5 K over a pressure range from 104 to 145 GPa, which is comparable with the predicted result of 3.9 K at 145 GPa. The Tc values of ZrN at high pressures are lower than 10.7 K at ambient pressure52, and its underlying mechanism is still unclear. One possible reason is that the crystal structure of ZrN has been changed under pressure, which needs to be further explored in future study.

Fig. 6: The resistance measurements.
Fig. 6: The resistance measurements.
Full size image

a Temperature dependence on the electrical resistance of ZrN at different pressures. The inset shows a microscopic image of ZrN sample in the DAC. b A local close-up of (a) in the temperature range of 0–10 K. c Temperature dependence on the electrical resistance of Zr-N-H at different pressures, corresponding to the first heating process. The inset shows a microscopic image of Zr-N-H (the first heating process) sample in the DAC. d A local close-up of (c) in the temperature range of 0–20 K. e Temperature dependence on the electrical resistance of Zr-N-H at different pressures, respectively corresponding to the second and third heating processes. The inset shows a microscopic image of Zr-N-H (the third heating process) sample in the DAC. f A local close-up of (e) in the temperature range of 0–50 K.

In the second set of experiments, ZrN and NH3BH3 were placed in the DAC. As shown in Fig. 6c, the Zr-N-H samples were synthesized by the laser heating at temperature of about 1600 K and at pressure of about 100 GPa. The temperature dependence of the resistance was then measured in the pressure range of 100–151 GPa. After laser heating, the resistance of the sample exhibits the metallic behavior. The results at 100 GPa and 130 GPa are missing in the high-temperature region due to a lack of counting during the cooling process in the cryostat. However, this does not affect the determination of the superconducting transition temperature in the low-temperature region. As the pressure increases, the resistance of the sample gradually decreases. Generally, the resistivity is related to carrier concentration and mobility. Under pressure, the mobility usually decreases, so the decrease in resistivity under pressure is mainly due to the increase in the carrier concentration. The inset of Fig. 6c shows a picture of Zr-N-H sample in DAC. The bright areas are c-BN, while the dark areas are Pt electrodes. Due to the fact that the samples shown in Figs. 6a, 5c were measured in different DACs, a comparison of the normal state resistance is needed. Figure 6d shows an enlarged view of the low-temperature region of Fig. 6c, highlighting the superconducting transition temperature of the sample after laser heating. At 100 GPa, the Tc is 13 K, which is obviously different from the 5 K of ZrN shown in Fig. 6b, indicating that ZrN reacted with hydrogen to form a ternary hydride. After the reaction at 100 GPa is completed, the resistance drop of Zr-N-H is relatively sharp with a narrow superconducting transition width, likely due to quasi-hydrostatic pressure in the sample chamber as NH3BH3 releases hydrogen. As the pressure increases, the superconducting transition width of Zr-N-H gradually increases due to pressure gradients in the sample chamber. It is clear from Fig. 6d that as the pressure increases, the superconducting transition temperature increases as well. When the pressure reaches 151 GPa, it appears to be approaching an upper limit.

At a pressure of 151 GPa, we conducted the second laser heating experiment, which lasted longer than the first run. After heating, we performed electrical transport measurements and obtained the resistance-temperature behavior, as shown in the purple line in Fig. 6e. From the resistance curve, it can be seen that the resistance at the normal state of the sample still exhibits metallic behavior. However, comparing with the resistance value at normal state after the first laser heating, the resistance value at the normal state is almost doubled after the second heating. The positive normal resistance changes indicate that the sample undergoes some changes. In addition, the temperature at which the resistance value changed changes significantly after the second heating. According to Fig. 6d, the Tc at 151 GPa is ~15 K. However, Fig. 6f shows that the temperature at which the resistance drops sharply after the second heating is ~33 K. These changes suggest that the sample undergoes some changes, resulting in changes in the resistance at the normal state and the temperature at which the resistance changes. However, since the zero resistance state is not achieved, it cannot be entirely determined if this is a superconducting feature. Therefore, we continued to perform the third heating experiment on the sample.

In the third heating experiment, we increased the laser power and heating time to ensure full reaction of the sample. After heating, we found that the pressure in the sample chamber decreased. Observed through an optical microscope, as shown in Fig. 6e, we found the circular cracks and damage on the surface of the diamond, which was the cause of the pressure drop in the sample chamber. The inset still shows that the structure of the sample chamber is consistent with Fig. 6c, indicating that the diamond cracks did not affect the sample and electrode, only changing the pressure. Then, the electrical transport measurements were carried out, and the blue curve in Fig. 6e shows the measurement results. Before the transport measurements, we examined the pressure and found it to be 142 GPa. The resistance at the normal state after the third heating still shows metallic behavior, with a decrease in resistance as the temperature is decreased. Comparing with the first and second heating runs, the resistance at the normal state decreases significantly, ~0.1 Ω, as shown in Fig. 6e. In addition to the changes in the resistance at the normal state, the transition temperature also changes. It increases from 33 K in the second heating to 38–39 K in the third heating, and as shown in Fig. 6f. Most importantly, the zero resistance has been achieved at this time. The appearance of the zero-resistance state indicates that a complete superconducting channel has been formed in the synthesized sample. As the pressure increases further, the superconducting transition temperature gradually decreases, which is different from the trend obtained during the second heating run. Especially, the temperature at which the zero-resistance was reached is higher than the transition temperature during the second heating run, so we believe this is a new type of hydrogen-bearing compound. The superconducting transition temperature is highed this time, compared to those of the ternary hydride observed during the second heating run. We thus speculate that a different ternary hydride phase has been formed at the complete heating conditions.

From these experimental efforts of sample synthesis as well as the electrical transport measurements, we are able to compare the experimentally and theoretically obtained Tc results along their evolution with pressure for ZrN and Zr-N-H in Fig. 5. Visibly, the change of Tc with pressure indicates that there are three superconducting systems. The one with the lowest Tc is ZrN. Within the pressure range from 100 to 150 GPa, the measured Tc of ZrN remains nearly constant at around 5 K (theoretically predicted  ~4 K). The first laser heating process resulted in the generation of the second superconducting system. As shown in Fig. 5, the Tc of the second superconducting system was characterized to about 13 K at 100 GPa and gradually increased with increasing pressure, reaching about 15 K at 151 GPa. The Tc of the second superconducting system is evidently different from that of the first superconducting system (ZrN), which implies the generation of Zr-N-H ternary hydride. By comparing with theoretical results, we suggest that the second superconducting system is P63/mmc-ZrNH2.

The third heating process resulted in the formation of the third superconducting system. The Tc of the third superconducting system was characterized to about 39 K at 142 GPa. As the pressure increased, Tc of the third superconducting system decreased to about 33 K at 147 GPa. As shown in Fig. 5, the Tc of the third superconducting system is significantly higher than that of the second superconducting system. The results indicate that a ternary hydride differing from P63/mmc-ZrNH2 generates. Combining with the theoretical and experimental results, we can point out that the third superconducting system is \(F\bar{4}3m\)-ZrNH. Thus, we have obtained the consistent results from both the experimental and experimental aspects. The Zr-N-H ternary hydride superconductors are theoretically predicted and experimentally realized. The superconducting transition temperature near 40 K at 142 GPa is also significantly higher than those of other nitrides, such as 25.5 K for electron-doped layered HfN at ambient pressure47 and 30 K for CuN at ambient pressure61.

Conclusions

In summary, based on the particle swarm optimization method and the first-principles calculations, we have obtained two stable Zr-N-H hydrides in the pressure range of 100–150 GPa, namely P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH. The former is a system containing H2 quasi-molecules, while the latter contains H elements in the form of atoms. And both P63/mmc-ZrNH2 and \(F\bar{4}3m\)-ZrNH have been predicted as superconductors. As the pressure changes, the two Zr-N-H hydrides exhibit significantly different superconducting transition temperatures. The Tc of P63/mmc-ZrNH2 is approximately in the range of 15–17 K, while the Tc of \(F\bar{4}3m\)-ZrNH is approximately in the range of 36–40 K, both of which are significantly higher than the 4–5 K of ZrN. Furthermore, we have also successfully synthesized Zr-N-H ternary hydrides under high-pressure and laser-heating conditions. Utilizing ZrN as a precursor and introducing a hydrogen source, we have fabricated two Zr-N-H superconducting systems. The obtained resistance-temperature dependence proves superconductivity in Zr-N-H ternary hydrides different from ZrN. Combining with theoretical predictions, we have identified that in the two experimentally synthesized superconducting systems, the ternary hydride superconductor with low Tc corresponds to the P63/mmc-ZrNH2 phase, while the ternary hydride superconductor with high Tc corresponds to the \(F\bar{4}3m\)-ZrNH phase. The maximum of Tc is about 40 K in \(F\bar{4}3m\)-ZrNH phase. Although the superconducting temperature of Zr-N-H still needs further optimization and improvement, our results demonstrate the superconductivity of Zr-N-H ternary hydrides from theoretical and experimental aspects, which provides a new paradigm for exploring the superconductivity of hydrides.

Methods

Computational details

For Zr-N-H system, we searched for the stable crystal structures by employing the CALYPSO62,63 code based on the particle swarm optimization method. The structural prediction was conducted in conjunction with the VASP code64,65. In order to study the effect of pressure on the phase transition of structures, the CALYPSO simulations were performed at pressures of 100, 130, and 150 GPa, respectively, with the unit cell sizes ranging from 1 to 4 formula cells (f.u.). After obtaining the candidates for Zr-N-H at different pressures, all calculations of structural optimizations and electronic states were carried out by using the exchange-correlation functional of generalized gradient approximation in version of Perdew-Burke-Ernzerhof66, as implemented in the QUANTUM-ESPRESSO (QE) code67,68. The cutoff energy was set as 80 Ry for wave functions. In the optimization process, convergence thresholds were set as 10−5 eV in total energy and 10−3 eV/Å in force. The k-point of the Brillouin zone was 0.02 −1 interval distribution of Monkhorst-pack for the optimization of structures, and the k-point interval of the total energy self-consistent calculation was 0.01 Å−1 or better.

For the stable and metallic phases of Zr-N-H, the phonon dispersion and the EPC were calculated to predict the possible superconductivity within the framework of density functional perturbation theory69 implemented in the QE code. The PAW-type pseudopotentials for Zr, N, and H were used in QE code. The dense k-point grid of Monkhorst-Pack of 24 × 24 × 24 and an irreducible q-point grid of 6 × 6 × 6 were used in the calculation of the electron-phonon interaction matrix element. Based on the calculated phonon frequency (ω) and the Eliashberg electron-phonon spectral function [α2F(ω)], the electron-phonon coupling constant (λ, EPC) of the hydride was calculated, which is defined by integration over the entire frequency domain of α2F(ω):

$$\lambda =2\int_{0}^{\infty }\frac{{\alpha }^{2}F(\omega )}{\omega }d\omega .$$
(1)

Then Tc was calculated by Allen-Dynes-corrected McMillan eq.57

$${T}_{{{{\rm{c}}}}}={f}_{1}{f}_{2}\frac{{\omega }_{\log }}{1.2}\exp \left[-\frac{1.04(1+\lambda )}{\lambda -{\mu }^{* }(1+0.62\lambda )}\right],$$
(2)

where the factor f1f2 is decided by the λ, μ, \({\omega }_{\log }\), and mean square frequency (\(\overline{{\omega }_{2}}\))57, and the logarithmic average of phonon frequency \({\omega }_{\log }\) is written as:

$${\omega }_{\log }=\exp \left[\frac{2}{\lambda }\int_{0}^{\infty }\frac{{\alpha }^{2}F(\omega )\log (\omega )}{\omega }\left.d\omega \right)\right].$$
(3)

Considering the relatively low hydrogen content in Zr-N-H here, we took the Coulomb pseudopotential μ = 0.15.

Material preparation and measurements

Hydrides were synthesized by using a series of symmetric DACs. The type-Ia diamonds with 80 μm culets, single beveled to 300 μm were used for all the measurements. Ammonia borane (NH3BH3) was selected as the hydrogen source due to its decomposition reaction upon heating11. NH3BH3 was purchased from Aladdin, with a purity of 97%. ZrN with NaCl-type structure was purchased from MACKLIN, with a purity of 99.9%. The sample chamber with the diameter of 50 μm was made by the T301 steel. The mixture of cubic boron nitride (c-BN) and epoxy resin was put on the one surface of the chamber to provide the insulation. The ZrN sample was pressed into 2 μm thin sheets. The sample sheet was cut with the size of ~30 × 30 × 5 μm3 and then loaded along with NH3BH3 into the chamber inside the argon glovebox. The volume ratio of ZrN to NH3BH3 was not controlled during the experiments. The added excess NH3BH3 into the sample cavity ensures that sufficient hydrogen gas can be generated to react with ZrN after the laser heating. To compare the results of possibly synthesized Zr-N-H, we loaded the ZrN sample into the sample chamber of a DAC without the use of any pressure medium. A standard four-probe method was used for the electrical transport measurements. Raman spectra of the first-order diamond edge were utilized to determine the pressure70. Raman scattering experiments were performed with the laser excitation at a wavelength of 488 nm using backscattering geometry.