Introduction

Metals play a crucial role in electronic and thermoelectric devices due to their excellent electrical and thermal conductivity. Metals such as aluminum, copper, and gold are commonly used for contact and interconnects due to their excellent electrical conductivity, low resistance, and ease of fabrication1,2. Reducing materials to two-dimensional (2D) structures can lead to exotic properties distinct from their bulk counterparts, such as graphene3, transition metal dichalcogenides4, and MXenes5. It is interesting that there are 2D metals with an intrinsic energy gap around the Fermi levels, such as 2D 2H MX2 (M = Nb, Ta; X = S, Se Te)6,7. Such properties are different from conventional metals and can be applied to filter high-energy electrons for cold electron injection7. Therefore, these materials are named as cold metals and were proposed to realize steep slope switching7. When these materials are used as the metal contact of the Schottky diode, an ideality factor as small as 0.17 is achieved8. Giant NDR can also be obtained with promising on-state current using cold metals8,9,10. 2D cold metals, while exhibiting exotic properties, tend to degrade upon exposure to the environment11. Moreover, the study of cold metals has thus far been limited to a select few 2D materials and their electronic properties. A pertinent question that arises is whether three-dimensional (3D) cold metals exist in nature.

Metals are one of the components of thermoelectric devices, which convert heat directly into electricity or vice versa through the Seebeck effect12,13. However, metals usually have high thermal conductivity, which limits their use in thermoelectric devices due to their low thermoelectric efficiency. Metal alloys can be applied to improve thermoelectric performance14. Different from conventional metals, cold metals are similar to heavily-doped semiconductors. It has been shown that thermoelectric properties can be effectively improved in doped semiconductors15,16. Therefore, cold metals may have greater potential in thermoelectric devices.

In this work, we performed a comprehensive search for bulk cold metals and developed a fully automated search algorithm by scanning the material database. A database search reveals that thousands of metallic materials have an energy gap around the Fermi level. To meet device applications, the energy difference between the Fermi level and energy gap edge should be within 0.5 eV, and 252 kinds of cold metals are screened. The electronic and thermoelectric properties of four typical cold metals are investigated by the first-principles calculations. It is shown that these cold metals are dynamically stable and have excellent thermoelectric and electronic properties. The Power factor (PF) of CoSi can reach 10 mW m−1 K−2 at 700 K. The figure-of-merit zT of Sr5Pb3F can reach 0.6 at 1000 K. Except for the good thermoelectric properties, steep slope field effect transistors (FETs) with a 3D cold metal source are investigated and show promising device performance of sub-60 mV decade−1 switching over four decades and on-state over 103 μA μm−1.

Results

Cold metal Screening

In recent years, high-throughput screening has been widely applied in material research and has been an important method for studying new materials17,18,19,20,21,22. We systematically searched for 3D cold metals based on the materials project (MP) database with 133,693 materials23. Two selection criteria based on known properties have to be satisfied to identify 3D cold metals: (1) the metallic materials should have an energy gap around the Fermi level within a reasonable energy region; (2) the materials have been experimentally fabricated before. The screening process is schematically shown in Fig. 1a. We first identified 11,789 stable metallic materials from the database. The key difference between cold metals and normal metals is the energy gap above or below the Fermi level, which can effectively filter high-energy carriers. In addition, the band edge of the energy gap is an essential factor. If the energy gap is far from the Fermi level, the properties of cold metals are closer to normal metals. Therefore, we identify those cold metals with an energy difference of 50 meV to 500 meV between the energy gap edge and the Fermi level. For the p-type/n-type cold metal with a gap above/below the Fermi level which is similar to the p-doped/n-doped semiconductor, we use ECD/EVD to describe the energy difference as shown in Fig. 1b, c. There are also np-type cold metals with a gap above the Fermi level and another gap below the Fermi level as shown in Fig. 1d. Those ferromagnetic cold metals are classified in Supplementary Fig. 2. The ECD and EVD cannot be obtained directly from the MP database. We analyzed the band structure provided by the MP database and got the energy gap edge to calculate the ECD and EVD. To confirm that screened materials are harmless and not hypothetical, we select those materials without radioactive elements and occurring in the Inorganic Crystal Structure Database (ICSD). At last, 252 kinds of cold metal are obtained.

Fig. 1: Flow chart and Schematic representation of the density of states (DOS) of cold metal.
figure 1

a Flow chart of material screening for cold metals. Schematic band structures of b p-type, c n-type, and d np-type cold metals. P-type and n-type cold metals can be used to realize n-type and p-type steep slope transistors. While, np-type cold metal can be applied in both n-type and p-type devices.

We analyzed the elemental composition of these cold metals in a periodic table as shown in Supplementary Fig. 1. These cold metals have a total of 68 elements. The Ir element in transition metal, Eu, Yb in lanthanide elements, and F, Cl in halogens appear more frequently in cold metals. At the same time, there is a high abundance of oxygenated compounds, which should be the focus of further research due to the possible compatibility with the complementary metal oxide semiconductor (CMOS) process. We classify these cold metals by several species, crystal system, and the energy difference between the energy gap edge and the Fermi level in Supplementary Fig. 1. There are 115 kinds of p-type cold metals as listed in Supplementary Table 1. Supplementary Table 2 lists 56 kinds of n-type cold metals. 81 kinds of cold metals not only have an energy gap above the Fermi level but also have an energy gap below the Fermi level (Supplementary Table 3). We selected 10 kinds of materials from each of the three types of cold metals and calculated their conductance and work function as shown in Fig. 2, by first-principles calculations, using the Vienna ab initio simulation package (VASP)24,25. Details of these 30 cold metals, such as atomistic structures, space groups, and band structures, are included in Supplementary Table 4. The conductance is calculated by the semi-classical Boltzmann theory with the relaxation time approximation using BoltzTrap2 code26. The electrical conductivity is linearly determined by the constant relaxation time within the relaxation time approximation, given by26:

$$\sigma \left({\rm{\mu }}{\rm{;}}T\right)={q}^{2}{\tau }_{0}\int \int {\mathop{\sum }\limits_{b}}{v}_{b,k}\otimes {v}_{b,k}\delta \left({\rm{\epsilon }}-{{\rm{\epsilon }}}_{b,k}\right)\left(-\frac{\partial {f}^{\left(0\right)}\left({\rm{\epsilon }}{\rm{;}}{\rm{\mu }},T\right)}{\partial {\rm{\epsilon }}}\right)\frac{{dk}}{8{{\rm{\pi }}}^{3}}d{\rm{\epsilon }}$$
(1)

Where \({v}_{b,k}\) is the group velocities of electrons of the band index \(b\), \({f}^{\left(0\right)}\) is the Fermi distribution function. To estimate the conductance of these cold metals, we choose a relaxation time τ = 30 fs, which is an estimated value according to the normal metals such as Cu and Au27,28. The conductance of these cold metals is shown in Fig. 2a, b, c. All these cold metals have conductance smaller than 10 × 106 S m−1, which is lower than conventional metals due to the band gap near the Fermi level. The estimated value is an evaluation of the conductance of cold metals. The more precise conductance needs to consider electron-phonon coupling and further calculation. ZrRuSb, RhS2, and Tl2WCl6 have the largest conductance among each kind of cold metal in Fig. 2a–c. Work function is important for optimizing contact resistance between metal and semiconductor for device applications. To identify the promising materials, the band alignments of these cold metals and typical semiconductors are shown in Fig. 2d. It can be found that the work function ranges from −4.92 eV to −2.98 eV, from −6.44 eV to −2.69 eV, and from −6.46 eV to −3.29 eV for n-type, p-type, and np-type cold metals, respectively. Therefore, it is possible to realize Ohmic contact by using cold metal contacts for both n-type and p-type transistors. For example, ZrRuSb with high conductance has a work function of −3.6 eV, which is larger than the conduction band edges of Si and monolayer MoS2 in Fig. 2d. Therefore, such a material can be applied to realize low contact resistance in n-type transistors.

Fig. 2: ECD/VD and work function of cold metals.
figure 2

a Conductance vs ECD for p-type cold metals. b Conductance vs EVD for n-type cold metals. c Conductance vs ECD and EVD for np-type cold metals. d Band alignments for different types of cold metals and typical semiconductors. The dashed lines indicate the Fermi levels. The blue and white areas represent allowed and forbidden bands, respectively.

Electronic and thermoelectric properties

In particular, we studied the electronic and thermoelectric properties of four typical cold metal materials by first-principles calculations. These materials include ZrRuSb (F—43 m), RbCu4S3 (P4/mmm), CoSi(P213), and Sr5Pb3F (I4/mcm), as shown in Fig. 3a. The structures are confirmed and consistent with the experiment results29,30,31,32. The four materials have typical band structures of cold metals with a band gap around the Fermi level in Fig. 3b–e. It is noted that Sr5Pb3F is ferromagnetic with spin-polarized states around the Fermi level. The phonon spectra of these materials are shown in Fig. 3b–e. There is no imaginary frequency in the phonon spectrum, which indicates that these materials are dynamically stable. The projected band structure and DOS were calculated and the results are shown in Supplementary Fig. 3.

Fig. 3: Crystal structures, band structures, density of states (DOS), and phonon spectra of four kinds of cold metals.
figure 3

a Crystal structures of four typical cold metals: ZrRuSb, RbCu4S3, CoSi, and Sr5Pb3F. Band structures, DOS, and phonon spectra: b ZrRuSb, c RbCu4S3, d CoSi, and e Sr5Pb3F. The Fermi levels are set to zero. There is a band gap in the conduction band (ECG) or valence band (EVG) of these materials.

Considering the band structure of cold metals, cold metals are similar to heavily-doped semiconductors. In semiconductors, such as silicon and germanium, all valence electrons participate in covalent bonding, resulting in the presence of an energy gap that must be overcome to enable the movement of charge carriers. N-type semiconductors are achieved through the utilization of dopants such as phosphorus or arsenic, which possess five valence electrons, one more than the host semiconductor material (e.g., silicon or germanium). Conversely, p-type semiconductors are created by introducing elements like boron or gallium, which have three valence electrons. These dopants introduce “holes” within the crystal lattice, facilitating the absorption of electrons from neighboring atoms and giving rise to mobile positive charge carriers.

In contrast, cold metals naturally exhibit a higher density of mobile carriers due to the absence or excess of valence electrons. For instance, certain ternary semi-heusler compounds, such as ABX (A = Ti, Zr, Hf, V, Nb; B = Fe, Co, Ir, Ni, Pt; X = Sn, Sb), featuring 18 valence electrons, demonstrate semiconductor behavior33,34. Conversely, compounds with 17 valence electrons, including ZrRuSb, TiIrSn, TiCoSn, and TiFeSb, behave as cold metals, characterized by a band gap above the Fermi level resulting from the absence of valence electrons. Similarly, the compound TiNiSb, possessing 19 valence electrons, functions as a cold metal with a band gap below the Fermi level. Analogous considerations can be extended to other cold metals.

We also perform the hybrid functional calculation to evaluate the band structures of 30 kinds of cold metals. The band structures calculated by HSE06 are shown in Supplementary Fig. 4 to Supplementary Fig. 8. For those materials with f electrons, the DFT calculation with simple pseudopotential may not be accurate35,36. Specifically, our HSE06 calculations for f-electron materials, such as EuF2 and EuF3, reveal them to be semiconductors, contrary to the cold metal classification obtained from simple PBE calculations. In contrast, most d-electron materials exhibit consistent cold metal properties. However, when examining np-type cold metals with isolated bands around the Fermi energy, HSE06 calculations often yield dissimilar results compared to PBE calculations. Notably, the primary advantage of HSE06 calculations lies in accurately determining the band gap of semiconductors. It is worth noting that the HSE06 method may introduce slight inaccuracies around the Fermi level, and tends to overestimate the magnetic moments of transition metals37. These inaccuracies can potentially influence the classification of a material as a metal or a semiconductor. Consequently, given the burgeoning interest in cold metals, further research is critical to confirm their properties.

To get more accurate electronic and thermoelectric transport properties, we calculated the relaxation time of four cold metal materials with density functional perturbation theory (DFPT) and maximally localized Wannier functions (MLWFs) by EPW code in Quantum ESPRESSO38,39. The lattice thermal conductivity is calculated by phono3py40,41. Conductance, thermal conductance, Seebeck coefficient, figure-of-merit zT, and power factor (PF) of cold metals are compared with those of Cu, Co, and Ru in Fig. 4, which are used in the CMOS technology. We use the relaxation time of Cu, Co, and Ru in ref. 28 to evaluate the above properties28. All four cold metal materials are compounds and have an energy gap around the Fermi level. So, it is reasonable to observe that the conductance of these cold metals is smaller than that of traditional contact metals in Fig. 4a. CoSi has the largest conductance among the four cold metals. The thermal conductance of these cold metals is also smaller than those of traditional contact metals in Fig. 4b, which is beneficial for higher thermoelectric efficiency42. It is interesting that with the evaluation value of τ = 30 fs, ZrRuSb has a conductance as large as 107 S m−1. However, after considering the electron-phonon coupling to get the relaxation time, the conductance of ZrRuSb descends to 2 × 106 S m−1. The change of the conductance indicates that the relaxation time is significant to evaluate the electronic and thermoelectric transport properties and the conductance calculated above is just an estimated value. In semiconductors, the Seebeck coefficient’s absolute value usually reaches the maximum as the Fermi level is around the conduction band minimum (CBM) or valence band maximum (VBM) and then decreases as the increase of the energy difference between the Fermi level and CBM/VBM43. Cold metals can be viewed as highly doped n-type or p-type semiconductors and therefore have a larger Seebeck coefficient than conventional metals in Fig. 4c. Seebeck coefficients of all cold metals are larger than those of normal metals. While, cold materials of Sr5Pb3F have more significant Seebeck coefficients over 30 μV K−1 at room temperature and 80 μV K−1 at 1000 K as shown in Fig. 4c. The high Seeback coefficients of cold metals result in larger zT than conventional metals by several orders of magnitude, as shown in Fig. 4e. The zT of Sr5Pb3F can reach 0.6 at 1000 K. Because of the high thermal conductance, metals may not get higher zT than semiconductors. However, benefit from the high conductance, metals have a larger power factor than semiconductors. CoSi has a large power factor of nearly 10 mW m−1 K−2) at 700 K as shown in Fig. 4d. Therefore, cold metals have more promising thermoelectric properties than normal metals and have an excellent potential for improving power dissipation in integrated circuits. Specifically, we studied the possibility of modulating the electronic properties of ZrRuSb by doping or changing the composition. It is found that the energy difference between the band gap edge and the Fermi level can be decreased in Zr8Ru8Sb7Te, Zr8Ru9Sb7, Zr8Ru9SbbTe (see Supplementary Fig. 9), which is 0.42 eV, 0.40 eV and 0.33 eV, respectively. Our current approach involves electronic band structure and phonon spectrum calculations exclusively at 0 K. Temperature-dependent calculations offer a valuable avenue for achieving greater accuracy in determining the electronic and thermoelectric properties of cold metals.

Fig. 4: Thermoelectric properties of cold metals and normal metals.
figure 4

a Conductance, b Thermal conductance, c Seebeck coefficient, d Power factor, e zT, of cold metals and normal metals. Normal metals such as Co, Cu, and Ru have larger conductance. While, cold metals have lower thermal conductance and more significant Seebeck coefficients, zTs, and Power factor.

Cold metal for filtering high-energy carriers

Except for the thermoelectric properties, cold metals have already been proposed to filter high-energy carriers for steep switching because of the intrinsic band gap around the Fermi level. We first illustrate the mechanism of cold metal for injecting cold electrons. Figure 5a, b compares device structures of conventional metal oxide semiconductor field effect transistors (MOSFETs) and FETs with a cold metal contact. In conventional MOSFETs, electrons are injected from normal metals with a constant density of states (DOS) around the Fermi level as shown in Fig. 5c. Subthreshold swing (SS) can be derived as (kBT/q) × ln10 and cannot be less than 60 mV decade−1 at room temperature due to the Boltzmann distribution, where kBT is the thermal energy and q is the elemental charge. As the decreasing of temperature, the injected carrier distribution function is changed as shown in Fig. 5c. The slope of carrier distribution gets smaller as the temperature decreases from 300 K to 100 K and SS is effectively improved. When p-type graphene is applied as the injection source, the distribution of electrons gets super-exponential due to the linear DOS as shown in Fig. 5d. The slope of the distribution gets smaller, which corresponds to the decrease of the SS limit. So, graphene works as a cold source (CS) to inject cold electrons44,45. However, the Dirac source of graphene still has a finite slope of carrier distribution with an SS limit of 37 mV decade−1. A more effective way to reduce SS is to induce an energy gap above the Fermi level46, as plotted in Fig. 5e. The slope can be zero by using such a gapped source, which is the same as conventional MOSFETs at zero temperature. So, such a gapped source can more effectively filter high-energy electrons and achieve steeper switching. A gapped cold source can be realized using a p-type semiconductor44,46, or isolated electronic states47, which have to be doped. A much simpler device structure is to directly replace the metal contact with cold metals, as shown in Fig. 5b. For the materials we have calculated, ZrRuSb has an energy gap above the Fermi level and can be applied in n-type cold source field effect transistors (CSFETs). RbCu4S3 and Sr5Pb3F also have an energy gap above the Fermi level and can be used in n-type CSFETs. While CoSi has a gap below the Fermi level and can be used in p-type CSFETs. These cold metals are 3D materials and can be directly used as an injection source in FETs to achieve steep slope switching.

Fig. 5: Schematic device structure and switching mechanism of FET with a cold metal contact.
figure 5

Schematic device structures of a conventional FET and b FET with a cold metal contact. The injected current density J(E) from c normal metal, d Dirac semimetal, and e cold metal, which is determined by the source DOS and the Fermi distribution function f(E) and given by \(J\left(E\right)\propto {DOS}(E)\times f(E)\). c The subthreshold swing is corresponding to the slope of \(J\left(E\right)\) and can be decreased by lowering the temperature in a FET using normal metal. d The slope of the injected current density is suppressed by the Dirac point. e SS can be further decreased by using a cold metal source with an energy gap above the Fermi level. There is an abrupt change in the injected current density, which is similar to the case at zero temperature.

Cold source transistors with a cold metal contact

At last, we studied the transport properties of CSFETs with a cold metal contact and particularly applied ZrRuSb as the injection source in monolayer MoS2 transistors to realize steep slope switching. The atomistic contact between the cold metal of ZrRuSb and monolayer MoS2 is shown in Fig. 6a, which is calculated by first-principles quantum transport simulations as implemented in Nanodcal software48. The interfacial structure is optimized by density functional theory (DFT) calculations and the energies of the interfacial structure plotted as the function of the physical separation are shown in Supplementary Fig. 10. Here, an edge contact covalently bonding with ML-MoS2 is considered due to high orbital overlap49. Figure 6a shows the projected local density of states (PLDOS) of the system calculated along the transport direction, which can demonstrate the band alignment of the heterostructure. The contact between ZrRuSb and intrinsic ML-MoS2 is a Schottky type and the barrier height is about 0.7 eV. In order to reduce the contact resistance and realize cold electron injection, ML-MoS2 has to be doped to n-type. As the increasing of the doping density, electrons can transport from ZrRuSb to the conduction band of ML-MoS2 as indicated by the transmission around the Fermi energy of the cold metal in Fig. 6a. Because there is an energy gap above the Fermi level of ZrRuSb, those electrons in the energy region are filtered and cold electron injection is realized. The contact resistance is decreased to 13 Ω·μm as doping density reaches 5.67 × 1013 cm−2 in Fig. 6b, which is close to the contact resistance between Cu and MoS2.

Fig. 6: Transport properties of the ZrRuSb-MoS2 heterojunction.
figure 6

a LDOS and transmissions of the ZrRuSb-MoS2 heterojunction with intrinsic MoS2 and n-type MoS2. The Schottky barrier height between ZrRuSb and MoS2 can be reduced by increasing the doping density of MoS2. b Resistance vs MoS2 doping concentration of the ZrRuSb-MoS2 heterojunction. c The device structure of MoS2 CSFET with a ZrRuSb contact. d Transfer characteristics of MoS2 FETs and CSFETs. e SS as a function of ID. The I60 of this work at which SS reaches 60 mV decade−1 is larger than 1 μA μm−1, which can be improved by modulating the ECD.

The ID-VG curve of CSFET with ZrRuSb as the injection source at the ballistic transport limit can be simulated by using the transmission and the top-of-barrier model of MOSFET50. The transfer characteristic of ML-MoS2 can be well calculated as benchmarking with the literature as shown in Supplementary Fig. 11. The device structure of CSFET is shown in Fig. 6c, comprising a gate oxide layer equivalent to 1 nm of SiO2 and 10 nm gate length. The only difference between MOSFET and the proposed CSFET is replacing the conventional metal contact with cold metal. Figure 6d compares the ID-VG curves of the two devices by fixing the off-state current at 100 pA μm−1 to meet the requirements of the International Roadmap for Devices and Systems (IRDS) 2021 for high-density (HD)51. The on-state current at VG = VD = 0.5 V is about 1.4 × 103 μA μm−1 in CSFETs, which is much larger than 2.6 × 102 μA μm−1 in MOSFET. To reach the same on-state current, VG has to be increased to 0.89 V in MOSFET. Therefore, the supply voltage is greatly decreased and power consumption can be significantly improved in CSFETs. With the obtained transmission, we can study the impact of the band gap edge of ZrRuSb on the device performance of CSFETs by shifting the Fermi level energy. It is found the switching properties can be improved as the energy difference ECD between the band gap edge and the Fermi level is decreased. SS can be smaller than 20 mV decade−1 over four decades at ECD = 0.2 eV in Fig. 6d. Figure 6e shows SS as a function of ID of CSFETs compared with other steep slope devices45,52,53,54,55. The current I60 at which SS reaches 60 mV decade−1 is about 1 μA μm−1 in this work, larger than those of tunneling filed effect transistors (TFETs)55 and negative capacitance filed effect transistors (NCFETs)52,54. The I60 of this work is smaller than that of Dirac source field effect transistors (DSFETs) because the ECD of ZrRuSb is 0.42 eV which is too large to realize high I60 for CSFETs. The I60 of MoS2 FETs with a ZrRuSb source contact can be further increased to be over 10 μA μm−1 at ECD = 0.2 eV.

Discussion

Theoretical exploration of cold metals is central to this study, yet the synthesis of these materials and the realization of device fabrication are pivotal for practical application. Achieving a single crystal phase in material synthesis is crucial to maintaining cold metal properties at room temperature. Given that cold metals are multicomponent compounds, ensuring compatibility with the semiconductor is essential during device fabrication. To optimize the performance of CSFETs with a cold metal electrode, achieving low contact resistance between the cold metals and the semiconductor is paramount. In the realm of 2D transistors, several methods such van der Waals contacts56 and an yttrium-doping-induced phase-transition57 have been developed to reduce contact resistance. These methods can be adapted for achieving low contact resistance between cold metals and MoS2, thereby further enhancing CSFET performance.

In conclusion, 3D bulk cold metals are explored for electronic and thermoelectric devices. We performed a systematical material screening for 3D cold metals and found 252 kinds of bulk materials with an energy gap around the Fermi level. Detailed electronic and thermoelectric properties of cold metals are calculated by first-principles simulations. Cold metals have a much larger power factor and figure-of-merit than normal metals. The largest estimated zT can reach 0.6 at 1000 K. Besides, these materials have a great potential to replace conventional metal contact materials in transistors to realize sub-60 mV decade−1 switching. These cold metals can effectively filter high-energy electrons as a cold electron injection source. Therefore, these materials are beneficial for reducing power dissipation in integrated circuits. We also show that cold metals can be applied as the injection source of MoS2 FETs to achieve sub-60 mV decade−1 switching over four decades and on-state current over 103 μA μm−1. Our work paves the way to realize steep slope and thermoelectric devices by using 3D cold metal contacts for low-power applications.

Methods

Density functional theory calculations

First principles calculations were performed using Vienna ab initio simulation package (VASP), in which the core-valence interaction is described by the projector-augmented-wave method58. The exchange-correlation function is treated by the Perdew-Burke-Ernzerh generalized gradient approximation59,60. The cutoff energy for plane-wave expansion was set as 520 eV. Monkhorst-Pack k-point meshes were used for sampling the Brillouin zone with a 6 × 6 × 6 grid for structure relaxations and 9 × 9 × 9 grid for self-consistent calculations. The structure relaxation was calculated until the residual force was less than 0.01 eV Å−1. We calculated a 2 × 2 × 2 supercell of ZrRuSb and changed one atom to simulate the doping. The cutoff energy for plane-wave expansion was set as 500 eV for structure relaxations and 450 eV for self-consistent calculations. A 9 × 9 × 9 grid was used for the Brillouin-zone sampling. The thermoelectric properties were calculated by BoltzTraP2, which used the eigenvalues calculated by VASP with a 15 × 15 × 15 k-point mesh. The relaxation time is calculated by EPW code within Quantum ESPRESSO38,39. The work function was determined using VASP by incorporating a vacuum layer larger than 15 Å in a thin film. The vacuum energy level is confirmed by analyzing the electric potential across the thin film. The difference between the vacuum level and the Fermi level defines the work function. The band alignment can be derived by comparing the extracted work functions. For the calculation of magnetism, we set the initial magnetic moment as 1.0 for every atom.

Phonon calculations

Phonon calculations were completed using the finite displacement method implemented in phonopy61. The cutoff energy for plane-wave expansion was set as 500 eV. For the 2 × 2 × 2 supercell of these four materials, we used a 5 × 5 × 5 grid for sampling the Brillouin zone. The energy convergence criteria were set at 10−8 eV. The lattice thermal conductivity was calculated with phono3py40,41.

Contact calculations

The contact structure between ZrRuSb and MoS2 was optimized by minimizing the total energy by DFT calculations using VASP. Reasonable structure is significant for heterojunction calculation. For a smaller mismatch, we choose the (100) face of ZrRuSb to contact with MoS2. ZrRuSb has two kinds of (100) faces. One of them is Ru face and the other is Zr-Rb face. To determine the structure, we calculate several structures of the ZrRuSb and MoS2 heterojunction with different physical separations. The total energies are plotted as the function of the physical separation as shown in Supplementary Fig. 10. The Ru interface of ZrRuSb and MoS2 have the lowest value with a distance of 1.5 Å. After getting the structure with the lowest energy, we performed a relaxation with VASP to get a reasonable result to calculate the transport properties. The transport properties of the heterojunction were calculated using the Nanodcal software based on the non-equilibrium Green’s function (NEGF) method in combination with DFT48. We used a 5 × 15 × 1 grid for Brillouin-zone sampling and 100 Hartree density for the mesh cutoff. The heterojunction consists of 1.2 nm ZrRuSb and 5.9 nm MoS2. Carrier doping of MoS2 is treated by the virtual crystal approximation.