Introduction

Molecular electronics exploits bottom-up approaches to build functional and tunable devices with minimized dimensions.1 The key to this next-generation technology is the design of architecture and the control of transport in each molecular block.2 However, this is by no means facile for the small size and complex interface chemistry.3 Especially, tuning the charge carriers of the molecule is not as straightforward as in inorganic counterparts.4 In top-down Si-based semiconductors, desired p-/n-type semiconductors can be produced by doping impurities with specific valence numbers.5 In molecules, however, the charge carrier of molecular transport is accounted inherently on specific electron rich/deficient moiety.6 Previous investigations7 found that p-type molecules includes 1,4-benzenedithiol and 4,4’-diaminostilbene; n-type includes 1,4-benzenedicyanide and 1,2-di(4-pyridyl)ethylene.8 Interestingly, oxide counterpart of thiophene, where sulfur lone pairs are engaged in bonding, is electron-deficient.9 These examples (see Fig. S1) indicate a native correlation of charge carriers and bond order of non C–C bond: p-type molecules equip single bond only (e.g., C–S, C–N) while n-type ones equip bond with higher orders (e.g., O=S, C=N, C≡N). However, the bonds in the above individual cases are formed by different atoms, and the influence of bond order has not been confirmed. Therefore, a particular system needs to be designed to exclude the other influences and verify directly the correlation between bond order and p/n characteristics.

To manipulate covalent bond precisely in molecules, variable means can be employed, e.g., photonic10, mechanical11 and electric12 activations. Among them, mechanical force shows unique advantages in single-molecule scale.13,14,15,16 With the development of techniques like atomic force microscope (AFM), scanning tunnel microscope, sonochemical setups, etc., mechanical force can be applied onto specific covalent bond and steer ‘forbidden’ chemical reactions.17 This emerging field, termed as covalent mechanochemistry,18 has attracted much attention recently. On the other hand, cyclopropane and its derivatives are suitable samples for investigating bond order-related properties. For example, when force is applied onto polymers with gem-difluorocyclopropane or gem-dichlorocyclopropane (gDCC) embedded, ring-opening reaction can be triggered.19 Meanwhile electrons from the broken C–C bond can change the multiplicity of other bonds,20 so changes in electron deficiency may be expected.

Here we utilized mechanical forces to manipulate the bond order and the charge carrier of Au/cylcopropane-1,2-dithiol(CPDT)/Au junction. This molecule keeps cyclopropane backbone and has a general representativeness for a wide range of its derivatives. To observe the dynamics process of ring-opening reaction and look into the nature of molecular transport, Car-Parrinello molecular dynamics (CPMD)21 and non-equilibrium Green’s function (NEGF) investigations have been employed. The molecule can be manipulated reversibly and repeatedly between CPDT and propane-1,3-dithione (PDT), which works as a mechanical flip-flop. The nature of charge carriers is evaluated by thermopower or Seebeck coefficient S.4,22 Through ring-opening reaction, S is changed from positive to negative, which means the charge carrier is turned from p-type to n-type. Moreover, this junction excludes other influences on the nature of the charge carrier. So the polarity of this ambipolar molecule23 correlates unambiguously to the C–S bond order. Based on this, we design a binary interconnected junction that works as a multi-functional triple-state device with each of the block tunable independently.

Results

Conformational transition in single-molecule junction (SMJ)

Single-molecule structures can be modulated and switched by force-induced ring-opening/closure reactions as shown in Fig. 1. This reaction can turn bond orders and reverse the nature of charge carrier. First we validate the transformation of Au/CPDT/Au junction under external forces through CPMD simulation. The whole process of the steered molecular dynamics has been illustrated as shown in Fig. 2a–c and Movie S1. Briefly, CPDT (i.e., the closed state, structure M1) is pulled into PDT (i.e., the open state, structure M2) through transition state TS. When the gold atom is pulled away from the left electrode, the distance of C1–C3 increases from 1.55 to 2.46 Å (see Fig. S3) and the bond breaks (see Fig. S9). During the pulling process, the maximum tensile force on the gold atom (i.e., the ‘tip’) is ~3.0 nN (see Fig. S4a). Meanwhile the distance of C–S bond decreases from 1.77 to 1.64 Å, indicating an increase in bond order. (Literatures24 give a single C–S bond length of ~1.8 Å and double one of ~1.6 Å.) As there is increase in the C–S bond order, the electrons from the breaking of C1–C3 bond are paired with electrons from S atoms, so PDT shows no diradical characteristics. Interestingly, PDT can be pushed back into CPDT (see Fig. S3 and Movie S2). When the gold atom in structure M2 is pushed towards the left electrode, the distance of C1–C3 decreases. Finally, C1 and C3 rebond and C–S bonds are reduced back to single bonds, which makes structure M1. A compressive load of ~1.7 nN on the ‘tip’ (see Fig. S4b) can facilitate this ring-closure reaction. In other words, this transformation is reversible and mechanical forces can modulate the junction back and forth repeatedly. In addition, both trans- and cis-CPDT show similar reversible structural transformation (see Fig. S2 and Movies S3 and S4). Their peaks in force spectra are also alike (see Fig. S4), indicating similar reaction processes. So only trans-CPDT has been chosen for transport calculations.

Fig. 1
figure 1

Schematic illustration of mechanical-modulation and reversibility in a SMJ. Molecular structures of Au/CPDT/Au and Au/PDT/Au junction can be modulated by force-induced ring-opening/-closure reactions. The ring-opening reaction turns C–S bond into C=S bond and flips the nature of charge carrier from p-type to n-type. The ring-closure reverses the process of ring-opening reaction and flops the nature of charge carriers back to p-type. Yellow for Au; red for S; green for C. The hydrogens are removed for simplicity

Fig. 2
figure 2

Force-induced ring-opening and ring-closure reactions. The snapshots of Au/CPDT/Au junction ring-opening process are: local minimum M1 a; transition state TS b; local minimum M2 c. Au, yellow; S, orange; C, green; H, gray (rendered in PyMOL). d The FES for CV1-CV2. CV1 is the collective variable for the distance of C1–C3; CV2 is the collective variable for the distance of C1–S1. e The structural hysteresis under mechanical load extracted from force transformed FES (see Fig. S5). The arrows show the directions of conformational changes

To ensure the validity of the results, the free energy surface (FES) of reaction for trans-CPDT is calculated and plotted in Fig. 2d. Two collective variables–CV1 (distance of C1–C3) and CV2 (distance of C1–S1)—are chosen. The FES shows two local minima in (CV1, CV2) coordinates: (1.60, 1.74 Å) and (2.40, 1.64 Å), corresponding to the structures M1 and M2 in Figs. 2a,c respectively. The activation barrier is ~90 kJ/mol with no load applied, much lower than the one of Au–S dissociation reaction (~160 kJ/mol).25 It is large enough to forbid thermal activation and small enough to allow Au–S bond to survive the mechanical manipulation. The conformational hysteresis under load in Fig. 2e indicates a flip-flop triggered by mechanical force. When the load is applied, the energy barrier is reduced gradually and the reaction happens. The mechanical strength needed to induce the reaction can be calculated by Arrhenius kinetics model.19,26 At 2.0 nN, the C1–C3 bond breaks; at −1.5 nN, C1 and C3 rebond. The forces from the FES give the direct loads on carbon atoms and should be distinguished from the forces given by steered molecular dynamics (3.0 and −1.7 nN), which are the loads on the tip. A double-well system like this can work as a bi-stable flip-flop.

The results above reveal the influence of thiol groups and gold electrodes on the ring-opening reaction of cyclopropane. Isolated cyclopropane shows diradical characteristics when the ring is open, which stabilizes under mechanical load.19 When cooperated with thiols and gold electrodes, however, the ring-opening reaction results in the formation of C=S double bonds. As a result, PDT shows no diradical characteristics and can stabilize without mechanical force. Diradical may be observed near TS point during the reaction and discussions are elaborated in supporting information (see Table S1). The absence of diradical in PDT resembles the ring-opening reaction of gDCC where there is no radical in its main product.27

The forces required for ring-opening/-closure reactions are in agreement with previous investigations. For trans-gDCC, theoretical calculations20 predict a C–C breaking force of 2.5 nN and AFM experiments17 give a tip force of 2.3 nN. Generally, scanning probe microscopy (SPM) experiments28,29 give smaller loads of bond rupture compared to those from theoretical calculations.25 We believe it can be attributed to following reasons. First, the time and the route of the bond breaking reaction are both short. The theoretical predictions give the transient maximum force. Nevertheless, the SPM receives the time-averaged data and the maximum is ‘smoothed’ actually. Thus experimental and theoretical data are not equivalent to this extent. Second, the pulling process may lead to the movement of the surface atoms in the tip and the substrate. The acceleration of the atoms can further modify the load on the tip.

Ambipolarity induced by structural transition

To investigate the transport nature of the junction, nine snapshots during the ring-opening reaction are picked. Their structures and transmission eigenstates are shown along the CV1 route in Fig. S7. Significant changes can be observed in the morphology of these eigenstates, indicating different molecular orbitals are involved in transport. These snapshots are typical samplings of the ring-opening process. Their thermopowers are extracted from transmission spectra (see Fig. S8) and plotted in Fig. 3a. CV1 is taken as the measurement of conformational change of these snapshots. When CV1 increase from 1.6 to 2.1 Å, the thermopower S keeps steady near 25 μV/K. Then it drops quickly from positive to negative values when CV1 increases from 2.2 to 2.3 Å. This flip in sign of S indicates the charge carriers of the junction are turned from p-type to n-type. In n-type region, the giant thermoelectric effect and its ratio can be observed and summarized.30 Here the giant thermoelectric ratio (GTR) can be defined as the ratio of maximum value to minimum value for the thermopower S. At 2.5 Å, the thermopower reaches as large as −100 μV/K. When the distance increases further, the thermopower decreases rapidly to less than −20 μV/K. The GTR is larger than 5, enabling the mechanical force as an effective tool for enhancing the low Seebeck coefficient in unloaded molecular electronics.31 The signs of thermopower associated with the two stable conformations M1 and M2 (local minima in FES) are opposite. Therefore, the junction can be flip-flopped between p-type and n-type states by mechanical load, which means the junction exhibits ambipolarity.

Fig. 3
figure 3

Charge carriers transition and movement of energy levels in ring-opening reaction. a The thermopower changes during the CV1 (distance of C1–C3) extends from 1.6 to 2.6 Å. The junction is p-type for positive thermopower and n-type for negative one. b Schematic illustration of transmission functions for only one energy level located beneath, on, and above Fermi level which correspond to p-type, neutral, and n-type respectively; on the right, the thermopower induced by an individual level for different ΔE= −(E F ε i ) from Eq. (3). c The molecular energy level alignment during CV1 extends from 2.0 to 2.6 Å. During the process, the isosurfaces of the orbitals are slightly extended. The gray dashed lines show the Fermi level

The change of thermopower can be explained by the movement of molecular orbital level alignment during the reaction. To begin with, we will analyze the contribution of each molecular orbital to thermopower. At single-particle limit, the thermopower can be expressed as22

$$S={\frac{{\pi }^{2}{k}_{B}^{2}T}{3e}\frac{d \ {ln}[{\cal T}(E)]}{dE}|}_{{E}_{F}}$$
(1)

where T is the mean temperature of the two contacts, E is the energy, E F is the Fermi level, and \({\cal T}(E)\) is the energy-resolved transmission. Each transmission peak is induced by molecular orbital levels and can be fitted approximately with Lorentzian function,

$${\cal T}(E)=\sum _{{i}=1}^{n}\frac{{{\Gamma }}_{1}{{\Gamma }}_{2}}{{(E-{\varepsilon }_{{i}})}^{2}+\frac{{({{\Gamma }}_{1}+{{\Gamma }}_{2})}^{2}}{4}},$$
(2)

where ε i is the energy of the molecular level, and Γ1 and Γ2 are the broadenings by left and right contacts, respectively. Substituting Eq. (2) into Eq. (1), one arrives at expression of thermopower contributed from all orbitals:

$$S=-\frac{2{{\rm{\pi }}}^{2}{{k}_{{\rm{B}}}}^{2}{{\Gamma }}_{1}{{\Gamma }}_{2}T}{3e{\cal T}({E}_{{\rm{F}}})}\sum _{i=1}^{n}\frac{{E}_{{\rm{F}}}-{\varepsilon }_{i}}{{[{({E}_{{\rm{F}}}-{\varepsilon }_{i})}^{2}+\frac{{({{\Gamma }}_{1}+{{\Gamma }}_{2})}^{2}}{4}]}^{2}}$$
(3)

As illustrated in Fig. 3b, the level above the Fermi level gives negative contributions and the one beneath the Fermi level gives positive contributions. Within this approximation, S is related non-monotonically to ΔE = −(E Fε i ) and has extrema at finite ΔE.

Then we analyze movement of molecular orbital level alignment during the reaction illustrated in Fig. 3c. Before the reaction, the transport of Au/CPDT/Au junction is dominated by yellow (HOMO) and green (HOMO-1) levels. As C1–C3 distance increases gradually, the red level of CPDT moves towards the Fermi level, while the green and blue levels move away from the Fermi level. The yellow level moves up across the Fermi level at first, and then moves downwards slightly. This switch, from HOMO to LUMO, can be explained by the delocalization of electrons on π-orbitals of C–S bonds. More specifically, as the C–C bond is stretched gradually, the electrons are redistributed to the π-orbitals of C–S bonds (see Fig. 4b). For the conjugate nature and the coupling with the electrodes, these electrons are delocalized throughout the junction and the projection on the molecule is little. Finally, when CPDT transforms to PDT, transport of the junction is dominated by yellow (LUMO) and red (LUMO + 1) levels. According to Eq. (3), Au/CPDT/Au junction has positive S and is thus p-type. On the contrary, Au/PDT/Au junction has negative S and is thus n-type. Moreover, this typical model can also explain the giant thermoelectric effect in Fig. 3a. During the reaction, the red level moves down towards Fermi level. Its contribution to S will increase first and then decrease accounting on the SE relationship.

Fig. 4
figure 4

C–S bond order transition and electron distribution in ring-opening reaction. a The change of bond order and Mulliken overlap of C1–S1 as CV1 (the distance of C1–C3) increases from 1.6 to 2.6 Å. b Electron redistribution near S atom in ring-opening/-closure reaction. The solid dot is the local electron from S; the semi-hollow dot is the delocalized partial electrons from Au; the line is the bond between atoms. c The change of difference charge density in the C1–S1 bond region for 9 snapshots

Correlation of bond order and charge carrier

It is observed that the order of C–S bond has a strong correlation to the sign of charge carriers. As illustrated in Fig. 4a, the bond order of C1–S1 evolves from single to double during the ring-opening reaction. The Wiberg bond order endures a slow increase from 1.08 to 1.16 when C1–C3 length increases from 1.5 to 2.2 Å. Then it surges up to 1.86 at 2.3 Å and oscillates in a small amplitude for longer lengths. Meanwhile, the Mulliken overlap of C1–S1 turns positive values from negative ones at the same point. These changes are in excellent agreement with the reverse of the charge carrier. To understand the correlation, we follow the basic ideas of Si-based semiconductors and propose a simple model concerning bond orders. Consider an alkane backbone. Each carbon atom bonds to four other atoms, which forms a tetrahedron analogous to silicon. For thiol and thione anchoring groups, the electron distribution can be simplified by electron dot diagrams in Fig. 4b. In this scenario, atom is considered ‘neutral’ in electronic transport when each of the four directions is covalently bonded or forms lone pairs. When the thiol group anchors to Au electrode, Au donates about extra 0.5 electrons to it. Thus the thiol group is electron rich and acts as an electron donor, making the junction p-type. On the other hand, the extra electrons from Au are not enough to ‘neutralize’ thione group. So thione group is electron deficient or an electron acceptor and the junction is n-type.

During the reaction, the electron distribution is more complicated and we refer to the difference charge density around the C1–S1 bond illustrated in Fig. 4c. When C1–C3 bond breaks (from snapshot 2 to 4), the electrons redistribute to the space between C–S. However, the bond order does not increase significantly, indicating these electrons are not ‘well-bonded’. So the moiety is electron rich and the junction is p-type. At snapshot 5, the difference charge density does not change much but the bond order surges, which means the extra electrons form double bond with S orbitals. Then the moiety becomes electron deficient and the junction becomes n-type. This model can also be applied to explain the charge carriers of other Au-anchored molecules terminated with, e.g., thiol, amino, pyridyl and cyano groups (see Fig. S10). For other electrodes, the difference in the relative position of electrode Fermi level and frontier molecular orbital may influence the results.32 Our previous investigation also suggests that HOMO level of alkanedithiol will shift to different extents when thiol group anchors to Au and Ag electrodes.33 However, it is beyond the scope of this work.

Force modulating conductance of SMJ

The conductance of the junction can also be modulated by mechanical force. As shown in Fig. 5, the conductance increases as CV1 increases from 1.5 to 2.0 Å and decreases from 2.0 to 2.6 Å. The increase of conductance in 1.5–2.0 Å is associated with the stretching of bent bond in CPDT. Literally, cyclopropane has shorter but weaker C–C bond than regular alkane bonds. When cooperated with thiol, the bond length of C1–C3 is even shorter. In M1 conformation (i.e., CV1 = 1.5 Å), the maximum electron density between two carbon atoms does not correspond to the internuclear axis. When CV1 is 2.0 Å, the bent bond is stretched into ‘line’ and the orbitals are no longer ‘distorted’. In this conformation, the overlap of two orbitals is comparable to M1 conformation. On the other hand, a portion of electrons from C1–C3 bond redistribute to the π-orbital of C–S bonds. These electrons are delocalized, which pushes the molecular level and the induced transmission peak towards Fermi level (see Fig. 3 and Fig. S8). Thus the transmission with CV1 of 2.0 Å is larger than that with CV1 of 1.5 Å. After 2.0 Å, the delocalization of partial electrons could not compensate the decrease of orbital overlap in C1–C3 bond, so the transmission reduces. At ~2.5 Å, the C1–C3 bond breaks totally and the pathway changes from C1 → C3 to C1 → C2 → C3. It is obvious that the tunneling conductance will decrease because the pathway extends much longer. To conclude, the change of conductance is the result of two competing factors: the orbital overlap in C1–C3 bond and the delocalization of the redistributed electrons during the pulling process.

Fig. 5
figure 5

Relationship between the bond break and the conductance change of SMJ. a The conductance change during the distance of C1–C3 extends from 1.6 to 2.6 Å. The conductance increases from 1.6 to 2.0 Å decreases from 2.0–2.6 Å. The inset shows the changes in transmission pathway (contributions from the left eletrode). For points above the blue dashed line, the pathway is C1 → C3; for points beneath the line, the pathway is C1 → C2 → C3. b The difference charge density change from snapshot 1 to snapshot 9

A binary multi-functional molecular junction

The force-modulated ambipolarity of the SMJ enables design of multi-functional devices by interconnections. Here we show in Fig. 6, a simple example of a binary-connected molecular junction manipulated by mechanical force. A symmetric Au/CPDT&CPDT/Au junction (see Fig. 6c), where the two p-type molecules are connected by three layers of Au with one adatom on each side, is a resistor (see Fig. 6f).

Fig. 6
figure 6

Structural change and kinds of I-V curves of SMJ during the mechanical manipulation. Schematic illustration of the structural switch of unary a and binary b junction during the mechanical manipulation. ch Structures and corresponding I-V curves of the three states of binary-connected junction. Each works as a resistor, a backward diode and a tunnel diode respectively

When the CPDT&CPDT structure is pulled, one of the propane ring may open firstly. Thus the original p-p structure has now evolved into a p-n structure. As illustrated in Figs. 6d and g, the asymmetric Au/CPDT&PDT/Au junction works as a typical donor-acceptor rectifier.34 The rectification ratio is as large as ~20 at 0.8 V. To confirm the rectification, a different connecting structure has also been investigated and similar results have been observed (see Fig. S11). One may have noticed that the junction has the opposite rectification direction compared with standard p-n junctions, which makes it a backward diode.35 To explain this phenomenon, we plot the level diagrams of the molecular junction in Fig. 7a. According to the level alignment, the transport is dominated by the LUMO and LUMO + 1 of PDT and HOMO and HOMO-1 of CPDT. Under positive voltage, the bias pushes these molecular levels closer. When their energies are close enough, PDT’s HOMO and HOMO-1 donate electrons to CPDT’s LUMO and LUMO + 1 through tunneling, resulting in a high conductance. In this scenario, the p-type PDT becomes an electron donor and n-type CPDT becomes an electron acceptor. This phenomenon is analogous to Zener breakdown in inorganic semiconductors. Compared with inorganic counterparts, molecular junction has much higher tunneling current for its shorter barriers. Under negative voltage, on the contrary, the bias pulls farther these molecular levels of PDT and CPDT. So the tunneling probability decreases. Accordingly, the PDT&CPDT junction shows rectification as a backward diode.

Fig. 7
figure 7

Molecular energy level alignment for backward diode, resistor and tunnel diode effects of SMJ. Molecular energy level alignments at different voltages are shown for PDT&CPDT a, CPDT&CPDT b and PDT&PDT c junctions respectively. The arrows show the directions of electronic resonant tunneling. The color of the levels corresponds to those in Fig. 3c

When the junction is pulled further on the other side, the other CPDT will endure ring-opening reaction and it becomes an n-n structure (see Fig. 6e). This junction shows negative differential resistance (NDR) (see Fig. 6h). Unlike p-p junction where Fermi level are far from the HOMO and LUMO levels, n-n junction have both LUMO levels located near Fermi level (see Figs. 7b,c). At zero voltage, resonant tunneling is strong. When applied voltages are large, the LUMO levels will shift in opposite directions and resonant transport is reduced for the large energy gap. Similar NDR effect in single-molecule break junctions has been reported,36 where the two moieties of the molecule are connected by a non-conjugated organic bridge. To conclude, in CPDT&CPDT, PDT&CPDT and PDT&PDT structures, multi-phenomena should be modulated directly or switched repeatedly due to the change of bond order induced by mechanical loads.

Discussion

In conclusion, our study shows that ring-opening reaction can bring unique tunable features to the emerging molecular electronics. By mechanically opening and closing the ring, the type of charge carriers can be switched reversibly. To provide a clear and general insight into the transport nature, complex structural design for applied purpose is abandoned. This ambipolar SMJ reveals clearly the correlation between C–S bond order and the nature of charge carriers under mechanical load. Further work has to be done to exploit this ‘dynamic doping’ process in constructing functional blocks of molecular electronics. Through proper design, these building blocks can be organized into functional devices. A particularly attractive feature is that each block of the interconnected junction can be controlled by mechanical force independently. Thus a tunable binary junction is proposed, which can be mechanically switched to be a resistor, a p-n junction or NDR. More functions are expected in complicated molecular networks. However, the difference in single-molecule and solid-state devices should be handled carefully. Besides, the reversal of thermopower and large GTR carve more possibilities in applications like energy conversion and temperature sensing.

Methods

Structure of the SMJ

All calculations were carried out using Perdew–Burke–Ernzerhof functional.37 The structural flip-flop transition was simulated with CPMD in CPMD code. Troullier-Martins pseudopotentials38 were used for C, H and S and an 11 electron Goedecker scalar-relativistic dual-space pseudopotential for Au.39,40 Γ-point sampling with 100 Ry plane wave energy cutoff was enough for efficient convergence and was in accordance with previous report. The system was attached to Nose-Hoover thermostat to prevent undesirable heat transfer problems. A hexagonal periodic supercell with lattice vectors of 8.65 × 8.65 × 30.0 Å3 was employed. The left slab was ranged in three layers of 3 × 3 gold atoms, with the first layer fixed to bulk positions. The molecule was connected to a gold adatom on each side through a sulfur atom and attached to the electrode. For bi-molecule interconnected structure, two CPDT molecules were connected through gold layers or a gold atom. Then a hexagonal supercell of 8.65 × 8.65 × 40.0 Å3 was selected. The atoms were relaxed until forces are less than 0.02 eV/Å.

Process of mechanical load on SMJ

During the pulling process,41 the right adatom was constrained and pulled away in z axis at a steady speed of 12 Å/ps to more than 4 Å at 300 K. After relaxation, the adatom was pushed back in z axis at the same speed. The potential energy surface was calculated by metadynamics simulations.42,43 Two collective variables were selected: CV1, the distance of C1–C3 and CV2, the distance of C1–S1. Their masses were set to 20 amu, the ’s to 0.2 and Δs is 0.1. Δs || fluctuates between 0.02 and 0.04 and W between 2.5 and 21 kJ/mol. V(t) was updated every 0.005 ps. For efficient metadynamics, constraints were applied to the structure of anchoring groups and the movement of the Au ‘tip’ atom in parallel to the ‘substrate’ surface was not allowed (see Fig. S5 for details).

Transport properties of SMJ under mechanical load

The structural snapshots of pulling and pushing process were extracted for calculations of transport properties. The right electrode was added to form symmetric-electrode junction. The periodic cell was fixed in a and b lattices and allowed to relax in c direction. The atoms in both electrodes were allowed to relax to a tolerance of 0.02 eV/Å. The relaxation was implemented in Vienna ab-initio Simulation Package44 and plane wave basis set with an energy cutoff of 500 eV for all atoms. Γ-point sampling was maintained. The bond order information was calculated in natural atomic orbital basis with Gaussian program. LANL2DZ basis set was employed for Au and 6–31G* basis set was employed for C, H and S. Transport calculations were performed within density functional theory45-based NEGF approach using Atomistix ToolKit.46 Here a linear combination of atomic orbitals basis set with energy cutoff of 75 Ry was chosen. All atoms in the molecule were modeled with double-ζ plus polarization basis sets and the metal atoms were modeled with single-ζ plus polarization basis sets for both accuracy and efficiency. Self-consistency was achieved using a 4 × 4 k-point sampling in the two-dimensional Brillouin zone. Then the energy resolved transmission spectra were calculated every 0.01 eV with an 8 × 8 k-mesh.