Research in the field of molecular electronics has enjoyed increasing popularity in recent years. The ultimate goal, the design of electronic devices where the basic units, such as transistors, are single molecules, promises an enormous gain in miniaturization as well as clock speed. On the theoretical side, the generic task is to calculate the current–voltage characteristics of systems consisting of a single molecule sandwiched between two semi-infinite metallic leads. In the past decade, a combination of density functional theory (DFT) with Green’s function techniques has been developed [110] by several groups and can now be considered the standard ab initio technique to tackle this task.

The basic idea of the method is as follows. Starting from the standard Kohn–Sham (KS) equation, each KS orbital is decomposed into a part that lives on the left lead (L), a part that lives on the right lead (R), and one that lives on the central region (C). With the corresponding blocks of the KS Hamiltonian, the KS equation of the complete system reads as follows

$$ \left( {\begin{array}{*{20}c} {H_{\text{LL}} } & {H_{\text{LC}} } & 0 \\ {H_{\text{CL} }} & {H_{\text{CC}} } & {H_{\text{CR}} } \\ 0 & {H_{\text{RC}} } & {H_{\text{RR}} } \\ \end{array} } \right)\left( {\begin{array}{*{20}c} {\phi_{\text{L}}^{{\left({\text {KS} }\right)}} } \\ {\phi_{\text{C}}^{{\left({\text {KS}} \right)}} } \\ {\phi_{\text{R}}^{{\left({\text {KS}} \right)}} } \\ \end{array} } \right) = \varepsilon \left( {\begin{array}{*{20}c} {\phi_{\text{L}}^{{\left({\text {KS}} \right)}} } \\ {\phi_{\text{C}}^{{\left( {\text{KS}} \right)}} } \\ {\phi_{\text{R}}^{{\left( {\text{KS}} \right)}} } \\ \end{array} } \right) $$
(1)

where the direct interaction between the right and left lead has been neglected. Introducing the KS Green’s functions, G L and G R, of the semi-infinite leads,

$$ (E - H_{\text{LL}} ) \, G_{\text{L}} (E) = {\mathbf{1}}$$
(2)
$$ (E - H_{\text{RR}} ) \, G_{\text{R}} (E) = {\mathbf{1}}, $$
(3)

the equation for the central part of each KS orbital can be written as follows:

$$ (H_{\text{CC}} +H_{\text{CL}} G_{\text{L}} (E)H_{\text{LC}} + H_{\text{CR}} G_{\text{R}} (E)H_{\text{RC}} ) \, \phi_{\text{C}}^{{\left({\text {KS}} \right)}} = E \, \phi_{\text{C}}^{{\left({\text {KS}} \right)}} . $$
(4)

In this equation, the non-Hermitian operators

$$ \Upsigma_{\text{L}} = H_{\text{CL}} \, G_{\text{L}} (E) \, H_{\text{LC}} $$
(5)
$$ \Upsigma_{\text{R}} = H_{\text{CR}} \, G_{\text{R}} (E) \, H_{\text{RC}} $$
(6)

act as sources or drains for the electrons in the central part, thus representing the coupling of the central part to the leads. In the simplest approximation, H LL and H RR can be modeled by a diagonal matrix of the bulk metallic leads proportional to its local density of states. Once ΣL and ΣR have been calculated, the transmission function is obtained from

$$ T(E) = \text{trace}(\Upgamma_{\text{L}} G(E)\Upgamma_{\text{R}} G(E)^{\dag } ), $$
(7)

where G(E) is the KS Green’s function of the complete system, and ГL and ГR are the non-Hermitian parts of the above self-energies:

$$ \Upgamma_{\text{L}} = - i(\Upsigma_{\text{L}} - \Upsigma_{\text{L}}^{\dag } ) $$
(8)
$$ \Upgamma_{\text{R}} = - i(\Upsigma_{\text{R}} - \Upsigma_{\text{R}}^{\dag } ) . $$
(9)

Once the transmission function is known, the current–voltage characteristics follow from the Landauer formula

$$ I(V) = (2e/h)\int {\text{d}E \, T\left( {E,V} \right) \, \left[ {f\left( {E,\mu_{ + } } \right) - f\left( {E,\mu_{ - } } \right)} \right]} $$
(10)

where f is the Fermi–Dirac distribution referring to the chemical potentials, μ+ and μ, given by the Fermi energy ± half the applied voltage V.

Upon applying a bias to the metal–molecule–metal system, the electrons go from one metallic lead to the other via the molecular orbitals. The latter are modified by the presence of the metallic contacts, an effect that has been studied both experimentally [11] and theoretically [12]. A conducting level corresponds to a molecular orbital that is delocalized along the metal–molecule–metal system, while a non-conducting level is a localized orbital, which cannot connect both ends of the molecule attached to the metallic tips. The energy of a molecular orbital with respect to the Fermi level of the metallic leads determines at which bias this orbital begins to contribute to the current. To assess in which way a given molecule can be used in a molecular-electronic device, it is therefore essential to first understand the electronic structure of the molecule in complete detail.

Since in some cases a minor structural change of the molecule may lead to a radical change in the shape of its molecular orbitals, the transport properties can as well be strongly affected by a small change in the geometry of the molecule. Consequently, it is very important that the electronic properties of the molecular devices are calculated not only for the fully relaxed structures, but also, during the relaxation process, some atoms of the metallic tips have to be included as part of the central region. This structure, consisting of the molecule plus a few metallic atoms at each side, will be called the extended molecule. The Hamiltonian matrix appearing in Eq. 1 for this extended molecule is obtained from standard quantum chemistry calculations. In our calculations, we use the Gaussian code [13] with the basis sets 6/31++G** and LAN2DZ for the isolated and extended molecules, respectively. In the DFT calculations, we employ the B3PW91 [1417] hybrid exchange-correlation functional.

In the following, we present calculations of the current–voltage characteristics of chrysazine-type molecules (1,8-dihydroxyanthraquinone) using the formalism described above. The biological activity of this molecule is known [18] to be due to a proton transfer. In the present work, we investigate structures of the molecule with lower energy (than the proton-transferred structure), obtained by the rotation of the terminal hydrogen atoms of the molecule. These conformers, which have been found experimentally [19, 20], are expected to have rather different electronic states and hence we also expect rather different transport properties. We will first analyze in detail the electronic structure of the isolated and extended molecules and then present the transport properties.

Our calculations of the isolated chrysazine molecule reveal the existence of three stable conformers as shown in Fig. 1. Starting from the relaxed planar structure (a), we change the dihedral angle of one of the H atoms and, keeping the dihedral angle fixed, we relax all the other atoms and determine the ground-state energy. Then we rotate the H atom further and, keeping again the dihedral angle fixed, relax all the other atoms, etc. This produces the potential energy surface plotted in Fig. 2 from structure (a) to structure (b). Then, starting from structure (b), we change the dihedral angle of the second H atom, always determining the relaxed ground-state energy for fixed dihedral angle. This leads to the second part of the potential energy surface in Fig. 2, from structure (b) to structure (c). The barrier between the two stable structures (a) and (b) is 0.72 eV while between the structures (b) and (c) it is 0.76 eV. Structures where a hydrogen is fully transferred to the quinone group are much higher in energy and do not show a local minimum in the potential energy surface.

Fig. 1
figure 1

Stable chrysazine conformers found within density functional theory. Structure a has the lowest energy; the relative energy differences for b and c are 0.55 and 1.20 eV, respectively

Fig. 2
figure 2

Potential energy surface resulting from the free sequential rotation of the terminal hydrogen atoms of the chrysazine molecule. a, b and c correspond to the stable structures shown in Fig. 1

Figure 3 shows the molecular orbitals of the isolated chrysazine molecule. The highest occupied molecular orbitals (HOMO) of the three stable structures (a), (b) and (c) differ significantly from each other. In the case of structure (c), the HOMO is a σ orbital, while for the structures (a) and (b) the HOMO is a π-type orbital. The charge distributions are drastically different in (a) and (b): The orbital is located at the two lateral rings in the case of the (a) conformer, while in (b) it is localized on that ring where the H has not been rotated with respect to structure (a). The lowest unoccupied molecular orbitals (LUMO) of these conformers, on the other hand, do not show strong differences.

Fig. 3
figure 3

HOMO (upper panel) and LUMO (lower panel) for the structures (a), (b) and (c). The HOMO of a and b is π type, while the one of c is σ type. The HOMO is delocalized in the outer rings for the structure (a), while for the structure (b) it is localized in one of the rings. The redistribution of this orbital is associated with the rotation of the terminal hydrogen atoms. The LUMO orbitals are largely independent of the rotation of the terminal hydrogen atoms

To guarantee that no direct interaction between the terminal hydrogen atoms and the metallic tips takes place, we used linear spacers to link the chrysazine molecule to the metallic leads (M–S–C≡C–chrysazine–C≡C–S–M). In this paper, we study two different ways to connect the molecule to the spacers (shown in Fig. 4). Clearly, one would expect that the conductance depends considerably on how the molecule is connected to the leads [21, 22]. On the left panels of this figure, the connection between the metallic tips and the chrysazine molecule is asymmetric and therefore there are two non-equivalent structures (b) and (b′) where only one hydrogen atom has been rotated. In the case of the symmetric connection (right-hand panels), there are only three stable conformers.

Fig. 4
figure 4

Stable extended chrysazine conformers found within density functional theory. The atom marked as H′ represents the hydrogen that regulates the distribution of HOMO and LUMO (see Fig. 5)

The DFT results show that for both types of connection, the lowest energy state corresponds to the conformer where both hydrogen atoms point to the central oxygen (isomers (a) in Fig. 4). The total energy of the asymmetric structure (a) is only 0.07 eV higher than the energy of the symmetric structure (a). The asymmetric structures (b) and (b′) shown in Fig. 4 are 0.58 and 0.71 eV, while the asymmetric structure (c) is 1.25 eV higher in energy with respect to the asymmetric structure (a). For the symmetric case, the relative energy of structure (b) is 0.72 eV, while (c) is 1.34 eV higher in energy with respect to the symmetric structure (a).

Given the symmetry of the extended molecule, we observe that the location of the HOMO is regulated by the position of the hydrogen marked in Fig. 4 as H′. For the extended asymmetric structure, we find that not only the HOMO, but the LUMO orbitals as well are synchronized with the position of the atom H′ (see Fig. 5), that is, the rotation of H′ in structure (a) controls the redistribution of the HOMO and the LUMO from one side of the molecule to the opposite side (see HOMO and LUMO orbitals for (b) in Fig. 5). Likewise, when in the structure (b′) the second hydrogen atom is rotated toward the asymmetric structure (c), the HOMO and LUMO orbitals shift their densities to the opposite side of the molecule. The HOMO of the symmetric structure (a) is reasonably delocalized, while for the symmetric structure (b), this orbital localizes, similar to the asymmetric structure (b), on one side of the molecule. The rotation of the second hydrogen atom, from structure (b) to structure (c), for these systems delocalizes the HOMO orbital along the whole molecule. None of the LUMO orbitals of the symmetric structures are affected by the rotation of the terminal hydrogen atoms.

Fig. 5
figure 5

HOMO and LUMO for the extended structures (a), (b), (b′) and (c). In the asymmetric structures (b) and (c), the HOMOs are localized in a region of the molecule diagonally opposite to the HOMOs of (a) and (b′). Likewise, the LUMOs of the asymmetric structure (b) and (c) are localized diagonally opposite to the LUMOs of (a) and (b′). Since in b and c the hydrogen H′ points to the opposite direction compared with (a) and (b′), the redistribution of these orbitals is associated with the rotation of H′

The observed correlation between the rotation of the hydrogen atoms and the distribution of the HOMO and LUMO orbital density is a first indication that the transport properties for these systems will be significantly different. In Fig. 6, this correlation is shown for the conformer (a), both for the asymmetric and the symmetric connections. The energy axis is centered to the Fermi energy of bulk gold. The plots in this figure illustrate the transmission function (TF) and the density of states (DOS) for the ground-state asymmetric (left) and symmetric (right) structures in correlation with the frontier molecular orbitals and their eigenvalues (horizontal lines on the left). From these plots, it is clear that a peak in the TF, that is to say, an open transmission channel, corresponds to one delocalized molecular orbital. When such orbitals are well localized, for instance at one end of the system, they do not contribute to the TF. For example, LUMO and LUMO + 1 orbitals, both for the asymmetric and symmetric structures (a), do not contribute to the TF, whereas LUMO + 2 is sufficiently delocalized to open a transport channel. Degenerate or sufficiently close eigenvalues may contribute to a single transmission channel.

Fig. 6
figure 6

Transmission function (red) and density of states (blue) together with the corresponding frontier molecular orbitals for the extended structures (a) of Fig. 4. The Kohn–Sham eigenvalues of the extended systems are shown on the left in lilac

Furthermore, within the energy window of ±2 eV shown in Fig. 6, the TF for the symmetric structure (a) is considerably larger (note the logarithmic scale!) than for the asymmetric structure (a). This fact is an immediate consequence of the degree of localization of the corresponding orbitals. The energy difference between orbitals also plays an important role: The closer the two orbital energies, the higher will be the mixing of these orbitals as they contribute to an open transmission channel. In the symmetric case, the energy difference between the two lowest depicted occupied orbitals (HOMO − 1 and HOMO − 2) is 0.36 eV, while for the asymmetric structure this difference is 0.53 eV. Therefore, the lower depicted orbital, which is more delocalized in the symmetric case, will contribute in this case strongly to the TF.

Figures 7 and 8 show the transmission functions and the I–V characteristics, respectively, of the asymmetrically connected structures (a), (b), (b’), (c) (left panels) and the symmetrically connected structures (a), (b), (c) (right panels). In a window of energies between −2 and +2 eV, the asymmetric structures (upper left panel of Fig. 7) have very small transmission functions: Only the peak just above −2 eV for structure (b′) and the peak just above +2 eV for structure (c) lead to a weak conductance. Remembering that by Eq. 10, in the zero-temperature limit, the current I(V) is given by integrating the TF from −V/2 to +V/2, we can immediately deduce from the left panels of Fig. 7 that the onset of the current should be just below 4 V for structure (b′) and just above 4 V for structure (c). This is exactly what Fig. 8 shows. A significant increase of the current through the asymmetrically connected structures is found only for structures (a) and (c), if the voltage is above 6 V. This increase in the current is a consequence of the additional conduction channels visible in the lower left panel of Fig. 7.

Fig. 7
figure 7

Transmission functions for the extended structures shown in Fig. 4; a in blue, b red, b′ green, and c pink. The upper panels show the transmission functions for the asymmetric (left) and symmetric (right) structures within the energy window ± 2 eV. The lower panels show the same transmission functions in the larger energy window ± 4 eV

Fig. 8
figure 8

Current–voltage characteristics for the extended structures (a), (b), (b′) and (c)

For the symmetrically connected structures, the onset of the current (see Fig. 8, right panel) is found at a much lower bias (2 V) than for the asymmetric structures. This follows immediately from the strong conduction through the occupied orbitals visible just below −1 eV in the right-hand panels of Fig. 7. This result demonstrates clearly that if the geometry of the molecular junction is not known experimentally, it is possible to assign the conformer present in the junction by its transmission properties. The onset of the current, appearing at 4 V for the asymmetric structures versus 2 V for the symmetric ones, clearly shows in which geometry the chrysazine molecule is connected to the leads.

The I–V characteristics of the symmetrically connected conformers show an additional peculiarity, which is highly interesting: within a bias range from 3.5 to 4.2 V, the I–V curves of the structures (b) and (c) are constant and nearly identical, while structure (a), within the same bias window, shows a constant current nearly twice as large. This suggests the use of chrysazine as a molecular optical switch: if an isomerization from structure (a) to structure (b) or (c) can be achieved by a suitable laser pulse, this will lead to a well-defined jump in the current if the device is operated at a voltage between 3.5 and 4.2 V.

In summary, our results reveal that the various isomers of chrysazine and their possible connections to the leads have significantly different transport properties. This allows one to assign experimental I–V characteristics to specific conformers and furthermore suggests that chrysazine may be used as a molecular optical switch.