Introduction

Since the discovery of graphene1, an increasing number of inorganic 2D materials with a range of physical and chemical properties have been synthesised by top-down approaches (e.g. by exfoliation of layered bulk materials)2. Due to their unique combination of extreme thinness and extended planarity, these monolayered systems should represent ideal platforms for tailoring electronic properties through in-plane strain3. However, in practice, 2D inorganic materials possess very high in-plane tensile strengths, which only allow for moderate strains (<5%)3 generating modest electronic changes4,5,6. In parallel, chemists have developed alternative bottom-up synthesis approaches based on linking arrays of molecular building blocks, to produce 2D covalent organic frameworks (2D-COFs)7,8,9. These materials are significantly more flexible than their inorganic analogues10 and allow the integration of the vast structural and electronic versatility of organic molecular chemistry9,11 within scalable and robust 2D platforms. Building on previous proposals to take advantage of these traits for applications8,12,13, we show that a particular family of 2D-COFs may provide an ideal basis for highly sensitive strain-control of electronic properties.

Kekulé bi-radicals are promising systems for organic molecular electronics14,15,16,17 and magnetism18 due to their intrinsically bi-stable electronic structure whereby two very distinct but energetically close resonant forms compete: namely, the open-shell antiferromagnetic (AFM) and the closed-shell quinoidal diamagnetic states (Fig. 1a). The different character of these two states leads to significant observable differences in the respective associated magnetic19, optical20,21 and structural22 properties. It has been shown that molecular chemical design is an effective way to induce one electronic state or the other16, where the length of the π-conjugated bridge between radical centres (e.g. a number of benzene rings19) and its conformation (e.g. dihedral angles21) are key parameters. Taking advantage of the effect of temperature on structural conformation (e.g. bond vibrations, aryl ring rotations), molecules have been synthesised in which thermal changes can induce a transition between the two kinds of electronic states23,24. Compared to the response speeds of typical electronic components, heat flow is very slow and so the thermal operation of nanoelectronic devices is difficult to envision. Moreover, such developments are currently focused on discrete molecules, thus hindering the scale-up of this bi-stable switching capacity to the device scale.

Fig. 1: Bi-radical integration in 2D-CORFs.
figure 1

a Schematic representation of the energetically close resonant valence bond forms in the ground state of Thiele’s bi-radical: the open-shell AFM (left) and the closed-shell quinoidal (right). b 2D-CORFs viewed as extended 2D analogues of bi-radical compounds, where one could potentially switch between the two electronic states via external uniaxial strain (brown arrows).

Bypassing the difficulties in manipulating individual molecules, our proposal starts with the integration of bi-radicals into 2D covalent organic radical frameworks (2D-CORFs), as schematically shown in Fig. 1. This covalent integration permits the direct manipulation of the structural conformations of bi-radicals through the application of external forces to the material while preserving their well-defined and stable positions within the 2D framework25. Moreover, 2D-CORFs can exhibit multi-radical (e.g. FM26,27,28 or AFM29) and diamagnetic quinoidal closed-shell solutions30, confirming that the electronic bi-stability from the bi-radical monomers persists in the resulting 2D materials. Recently, different examples of experimentally synthesised 2D-CORFs have been reported, exhibiting multi-radical electronic ground states with either AFM coupling31,32 or weak coupling (i.e. paramagnetism) between spins33.

Dihedral angles of aryl rings are effective conformational parameters to control the localisation/delocalisation of unpaired electrons in π-conjugated organic radicals34 (e.g. triarylmethyls, TAMs) and so determine the balance between the AFM and quinoidal states in bi-radicals18,21. As we have recently shown, compression is an effective manner to homogeneously flatten all aryl rings in 2D-CORFs to significantly increase electron delocalisation35. However, to induce local electron pairing one needs to asymmetrically flatten only some aryl rings with respect to others. Previously, we predicted that such a type of conformational manipulation in paramagnetic 2D-CORFs is possible via in-plane uniaxial strain (arrows in Fig. 1b)25,36. Numerous ways to experimentally induce significant strain in a 2D material placed on a substrate have been proposed such as (i) growing the 2D material on epitaxial substrates with a controlled lattice constant mismatch, (ii) thermal-expansion mismatch between the 2D material and its substrate and (iii) transferring the 2D material onto a flexible substrate and directly stretching, compressing or bending the substrate3,37. Herein, we show how modest in-plane stretching of 2D-CORFs could be a very promising route to externally and sensitively control the balance between both electronic configurations, and thus modulate their resulting optical, magnetic and electrical response.

In this work, we study the effect of uniaxial in-plane strain on a series of 2D-CORFs, including the recently synthesised PTMacetylenic material32, by means of density functional theory (DFT) based calculations. Our results demonstrate that uniaxial in-plane tensile strains may be used to efficiently switch between the AFM multi-radical (i.e. spin polarised or open-shell) and diamagnetic quinoidal (i.e. closed-shell) states in a reversible manner. Such control arises from the effective manipulation of aryl ring dihedral angles, although other parameters such as the structural and chemical design of each 2D-CORF also play important roles. In addition, we demonstrate that the strain-induced electronic switching is robust at finite temperatures, which is a prerequisite for its experimental viability, and thus technological applicability. Overall, our work shows that integrating bi-radical moieties into covalent 2D materials is a promising route to achieve macroscopic control over molecular-scale electronic states.

Results

2D-CORF design and characterisation

Following our previous work25,30,34,35 and other studies29 on these types of sytems, we employ the PBE0 hybrid density functional38 (which incorporates 25% of non-local Hartree Fock exchange—HFE) in order to best capture the electronic structure of 2D-CORF materials. DFT-based calculations using hybrid functionals have proven to have remarkable reliability in describing the ground states and magnetic properties of organic radicals39 and polyradicals40,41,42. The structures of all considered 2D-CORFs, which have been optimised using DFT/PBE0 calculations (see “Methods” for full details), are shown in Fig. 2. Our considered 2D-CORFs are hexagonal networks of sp2 radical carbon centres (αC) covalently linked through π-conjugated groups30. The different linkers define the range of different 2D-CORFs that we consider: (i) the experimentally synthesised32 PTMacetylenic (Fig. 2a, PTM stands for perchlorotriarylmethyl43,44), (ii) the chlorinated ring-sharing PTMrs (Fig. 2b), (iii) the ring-sharing mixed PTM_TPMrs (Fig. 2c, TPM stands for triphenylmethyl45), (iv) the ring-sharing TPMrs (Fig. 2d) and (v) the ring-sharing oxTAMrs (Fig. 2e, oxTAM stands for oxo-triarylmethyl46). PTMacetylenic (2a) has been experimentally characterised as an AFM semiconductor32. In PTMrs (2b), PTM_TPMrs (2c), TPMrs (2d) and oxTAMrs (2e), the αC centres are linked through a single aryl ring, thus significantly enhancing their electronic coupling as compared to PTMacetylenic (2a). Although such ring-sharing 2D-CORFs have not yet been experimentally reported, an analogue six-membered ring-sharing αC oligomer has been recently reported47 and shown to possess a similar electronic structure to bi-radical compounds18. In the SI (Section 3) we show that the experimentally derived nearest neighbour magnetic coupling between αC centres in this TPMrs-like oligomer is very similar to that we predict for the TPMrs 2D-CORF, thus confirming the adequacy of our computational approach.

Fig. 2: 2D-CORF characterisation.
figure 2

DFT-optimised crystal structures of a PTMacetylenic, b PTMrs, c PTM_TPMrs, d TPMrs and e oxTAMrs 2D-CORFs. Colouring: C—dark grey, H—white, Cl—green, O—red. The spatially resolved spin density for the AFM solution (spin-up: blue, spin-down: red) is shown for TPMrs (d).

The different chemical functionalisation of the aryl rings in our considered 2D-CORFs determines their dihedral angles through steric hindrance34. Thus, through the series shown in Fig. 2 from 2a to 2e, we observe increasingly planarized aryl rings (see the mean dihedral angle in Table 1): from the highly twisted conformation in PTMacetylenic to the fully planar structure of oxTAMrs, where oxygen atoms bonded between adjacent aryl rings fix them to be in-plane (see y-views in Fig. 2).

Table 1 Mean dihedral angles (degrees), the energy difference between AFM and closed-shell quinoidal (QUI) electronic solutions per αC centre (meV), the average absolute value of spin populations on αC centres in the AFM solution (\(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\)) and the associated electronic bandgaps for all considered 2D-CORFs.

All 2D-CORFs exhibit a multi-radical open-shell ground state solution which is lower in energy than the closed-shell quinoidal minimum, except for TPMrs, where both states are nearly degenerate (see EAFM − EQUI in Table 1). The open-shell solution exhibits an alternating spin-up/spin-down ordering between αC centres, as shown with the spatially resolved spin density for TPMrs in Fig. 2d. Formally, this is a partial representation based on a broken symmetry (BS) solution resulting from the limitation of the single determinantal character of DFT-based calculations. Although the spin-polarisation ordering should not be taken directly at face value, such solutions are formally linked to open-shell states of the real system such as the FM or the AFM states48,49,50,51. The degree of BS spin polarisation reflects the extent of the mixture between the open-shell and closed-shell valence bond forms. The appearance of such solutions also implies the emergence of low-lying states with non-zero net magnetisation and thus is a predictor of the existence of paramagnetism/antiferromagnetism for a particular system/condition. In order to quantify the magnitude of the AFM coupling in a periodic calculation one can assume that the magnetic system is described by a defined topology of localised spins and use the energy difference between the BS ground state solution and that of the FM state solution to map these states on to a Heisenberg model as described in the SI (see Table S2 and Section 3 in the SI)52. For simplicity, in the remainder, we will refer to BS open-shell solutions as AFM solutions, where we take the degree of spin polarisation in such solutions as an indicator of the strength of the open-shell character of the real state.

The increasing aryl ring twist angles and distance between radical centres, going from left to right through the series of 2D-CORFs in Table 1, also correlates with increasingly localised spin distributions (see values of the average of the absolute αC spin population, \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\)). We also see that increased electronic localisation (e.g. due to more twisted aryl rings) results in a higher energetic cost associated with electron pairing (see EAFM − EQUI in Table 1). For oxTAMrs we could not stabilise the localised quinoidal state which spontaneously falls into a fully delocalised semimetallic solution (see SI Fig. S2), in accordance with other fully planar 2D-CORFs (e.g. graphynes)30. The degree of electronic localisation in the AFM solution for each 2D-CORF is also reflected in the tendency for a decrease in the electronic bandgap (see Table 1) and an increase in band dispersion (see Fig. S1 in the SI) through the series of 2D-CORFs. These tendencies are also associated with the strength of the AFM coupling, which increases monotonically through the series of 2D-CORFs (see Table S2 in the SI).

As previously demonstrated for TPMrs30, the quinoidal closed-shell solution leads to a local pairing of electrons in specific aryl rings within the framework, which subsequently become more planar30. This structural response is due to the double bonds formed between the involved αC centres and the aryl rings linking them. Herein, we explore the opposite phenomenon: i.e. whether by external manipulation of certain aryl rings we may induce electron pairing. To test this idea we consider the in-plane uniaxial strain of our 2D-CORFs25,36. Our starting electronic configuration is the unstrained open-shell AFM distribution shown in Fig. 2d with an associated alternating spin density. We highlight the response of TPMrs as a reference example of the prototypical structural response of our considered 2D-CORFs to uniaxial strain (see Fig. 3a). For the relaxed TPMrs conformation (ε = 0%), all aryl rings are equally twisted (φ1 = φ2 = 33°). Upon stretching (ε = 28%), the aryl rings parallel to the strain direction are flattened (φ2 = 4°) and the remaining rings become twisted out-of-plane (φ1 = 75°). These conformational changes lead to a 12.5% reduction of the b unit cell parameter (Fig. 3a).

Fig. 3: Structural response to strain.
figure 3

ae Crystal structures of the most stretched conformations for each of the studied 2D-CORFs indicating the associated strain (ε) and in-plane Young’s modulus (YM). Atom colour key: C—dark grey, H—light grey, Cl—green, O—red. f Dihedral angle difference between the out-of-plane (φ1) and in-plane (φ2) twisted aryl rings versus uniaxial strain. g Calculated in-plane YM values for all 2D-CORFs and graphene (vertical bars) compared to experimental YM values of graphene53 and single layer MoS254 (horizontal dashed lines), where the associated range within which experimental values have been reported are indicated with coloured panels (see Table S1 in the SI for details).

These strain-induced conformational changes are likely to favour electron pairing within the flattened aryl rings (φ2 in Fig. 3a). In principle, the higher the dihedral angle difference between the two types of aryl rings (\(\left| {\varphi _1 - \varphi _2} \right|\)) the higher the probability is to induce electron pairing. TPMrs displays the most significant conformational changes, followed by PTM_TPMrs and PTMrs (Fig. 3f), which is in accordance with the degree of chlorine functionalisation in the latter two materials, making their aryl rings more rigidly fixed. For PTMacetylenic, the acetylenic linkers provide an extra degree of freedom which is not present in the other 2D-CORFs, leading to smaller changes of \(\left| {\varphi _1 - \varphi _2} \right|\) with respect to strain. For the fully planar structure of oxTAMrs, \(\left| {\varphi _1 - \varphi _2} \right|\) remains invariable, and equal to zero, throughout the range of considered strain (Fig. 3f).

The tensile strength of each material, characterised by Young’s modulus (YM), depends on the different structural degrees of freedom in each case. Figure 3g shows our calculated YM values for all 2D-CORFs in comparison with experimentally reported values for graphene53 and single layer MoS254. Here, we can see that, except for the highly rigid oxTAMrs, all 2D-CORFs have a YM that is both significantly lower than that of a typical inorganic 2D material and ~20 times smaller than that of graphene (~1000 Gpa53) helping to quantify the relative ease by which our 2D-CORFs can be strained. For the case of single-layer MoS2, different on-substrate based methods have been employed to uniaxially stretch the material by ~2.5%3. Considering the magnitude of the in-plane YM of single-layer MoS2 (see Fig. 3g), this implies that such experiments can readily apply in-plane uniaxial tensile stresses of at least 6.5 GPa. Taking TPMrs as an example, such tensile stress would induce a uniaxial strain of ~20%. In the case of more specialised experimental set-ups, graphene has been uniaxially stretched by almost 6%, showing that larger in-plane tensile stresses of up to ~60 GPa are also achievable4. We also note that the YM values of TPMrs, PTM_TPMrs, PTMrs and PTMacetylenic are all significantly smaller than that of oxTAMrs which strongly indicates that aryl ring twisting is the key factor leading to highly stretchable 2D-CORFs, rather than simply their nanoporous structure.

In order to test whether the strain-induced conformational changes depicted in Fig. 3 lead to a transition from the open-shell AFM electronic state towards the closed-shell quinoidal diamagnetic state, we have extracted \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) values throughout the full range of considered strains for the corresponding electronic solutions. Figure 4a shows the variation of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) against uniaxial strain for each studied 2D-CORF. PTMacetylenic shows a high and robust \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) value throughout stretching, which is a consequence of the strongly localised unpaired electrons in this material, which in turn, is due to the large distance between αC centres and the highly twisted aryl rings (48°). Conversely, oxTAMrs shows the lowest \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) value in the relaxed conformation. As previously mentioned, the aryl rings in oxTAMrs are fixed in-plane, and so uniaxial strain mainly induces stretching of π-π bonds along the strain direction. As a consequence, unpaired electrons in oxTAMrs become more localised, and thus \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) monotonically increases with increasing strain (Fig. 4a). In contrast, for TPMrs, PTM_TPMrs and PTMrs, uniaxially straining the relaxed structure induces a clear transition from the open-shell AFM solution to the closed-shell diamagnetic quinoidal solution, in which \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) vanishes. TPMrs, the 2D-CORF with the highest aryl ring twisting flexibility, is most prone to electron pairing and exhibits a full depletion of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) for strains between 5% to 22% (blue curve in Fig. 4a). For uniaxial strains above 25%, \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) rises again, which is a consequence of the associated αC-aryl ring bond distances reaching typical values of single carbon–carbon bonds (1.54 Å; see SI Fig. S3). In Fig. 4b–d, we show the three most representative situations, where one may clearly see the transition from the AFM open-shell solutions (see spin-density iso-surfaces in Fig. 4b, d) to the intermediate electron-paired quinoidal distribution (see highest occupied crystal orbital density in Fig. 4c). PTM_TPMrs and PTMrs also show a complete depletion of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\), which, in each case, is induced at a higher strain than for TPMrs, and is maintained for a comparatively smaller range of strains (Fig. 4a). This behaviour is due to the more localised unpaired electrons in these two materials (see Table 1), and the lower aryl ring rotational flexibility arising from chlorine functionalisation (see Fig. 3f and SI Fig. S4). We note that the overall picture we obtain from the variation of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) as a function of uniaxial strain (Fig. 4) is in agreement with that from bond length alternation (BLA) analysis (see SI Fig. S5), which is a structural indicator often used to characterise the balance between the AFM and quinoidal states in bi-radical compounds22,55.

Fig. 4: Electronic response to strain.
figure 4

a Average of the absolute spin population per αC for each studied 2D-CORF versus uniaxial strain. Estimated in-plane tensile stresses required to induce the AFM-to-quinoidal transition are indicated for TPMrs, PTM_TPMrs and PTMrs. b Spin density iso-surface (spin up: blue; spin down: red) for TPMrs when relaxed (ε = 0%). c Highest occupied crystal orbital density (black) for the semi-strained conformation of TPMrs (ε = 17%). d Spin density iso-surface for highly strained TPMrs (ε = 28.5%). e Relative energy per αC (in eV) of the ferromagnetic electronic solution (EFM) with respect to the electronic ground state (E0) at each conformation (bd) for TPMrs, PTM_TPMrs and PTMrs. For the cases when the AFM solution is the ground state these energy differences are related to the degree of magnetic coupling (see also Table S2 in the SI).

Although calculations on graphene have suggested that >15% in-plane biaxial strain could also induce AFM or quinoidal dimerised states5, other theoretical studies point to the spontaneous rupture of the material at such strains6. Thus far, due to its ultrahigh in-plane strength, only tensile strains up to ~6% have been experimentally reached in graphene before failure4. In contrast, the relatively low tensile strengths of our 2D-CORFs permit the AFM to quinoidal interconversion via experimentally achievable relatively large elastic strains.

Finally, in Fig. 4e we provide the energetic cost associated with FM polarisation of the αC unpaired electrons (e.g. via external magnetic fields) with respect to the ground state at each structural conformation for the TPMrs, PTM_TPMrs and PTMrs. This cost can be associated with the accessibility of open-shell states for a given system in a particular conformation. Here, we can see that the FM solution becomes significantly destabilised upon electron pairing, as induced in the three 2D-CORFs with uniaxial strains of ca. 17% (Fig. 4c). This extra energetic cost for closed-shell quinoidal diamagnetic ground states may be associated with the process of breaking π–π double bonds in order to generate a spin-polarised FM electronic distribution. This effect is particularly significant for PTMrs where the energetic cost to reach the FM solution is nearly three times larger for the “paired” configuration at ε = 17% as compared to the “unpaired” configuration at ε = 0%. These results highlight the potential of ring-sharing 2D-CORFs as platforms with externally controllable spintronic characteristics.

Overall, the results of Fig. 4 demonstrate that at 0 K it is possible to induce electron pairing of π-conjugated electrons in 2D-CORFs by means of external uniaxial strain. Because of the conformational character of the mechanism (i.e. aryl ring twisting) and the effect of bond vibrations on electron delocalisation34, it is expected that finite temperatures could affect the degree of external control over electron pairing. To test the robustness of our results at finite temperatures, we ran ab initio molecular dynamics simulations (AIMDS; see “Methods” for details) at 300 K for our three most promising 2D-CORFs, namely TPMrs, PTM_TPMrs and PTMrs. As shown in SI Fig. S6, the strain-induced manipulation of aryl ring twisting previously characterised at 0 K (Fig. 3) holds at 300 K, despite fluctuations in dihedral angles induced by thermal vibrations. We note that there are some conformational differences between networks (see more details in Section 2 of the SI) but the overall structural response to strain is qualitatively the same for the three tested 2D-CORFs.

To assess whether the aryl ring twist manipulation also leads to a robust control over electron pairing, we have extracted the \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) values during the AIMDS at 300 K for the three 2D-CORFs at different strains. As one can see in Fig. 5, all 2D-CORFs show non-zero \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) values in the relaxed conformation (ε = 0%; Fig. 5a, d, g). This is particularly interesting for TPMrs where the open-shell AFM solution is slightly higher in energy at 0 K with respect to the closed-shell quinoidal one (see Table 1). It thus follows that finite temperatures, through bond vibrations inducing electron localisation34, promote the open-shell AFM character (Fig. 5a). This is in good agreement with experimental variable-temperature measurements on the analogous six-membered TPMrs oligomer47. \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) is larger and more stable for PTM_TPMrs and PTMrs in the relaxed conformations (Fig. 5d, g) due to the more perpendicular chlorinated aryl rings in these networks34. For TPMrs, partial uniaxial strain (ε = 16%) leads to full electron pairing, as demonstrated with the nearly complete depletion of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\), showing only a small degree of noise due to thermal fluctuations (Fig. 5b). Such effective pairing may be understood by the almost complete flattening of the aryl rings in TPMrs parallel to the strain direction (see SI Fig. S6b). PTM_TPMrs and PTMrs (Fig. 5e, h) also display vanishing \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) values at ε = 16% (especially notable for PTM_TPMrs, Fig. 5e). However, in these cases, there is an increase of \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) noise due to thermal fluctuations, which is significantly detrimental in PTMrs. Following the behaviour at 0 K, further stretching the networks again increases the \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) values for all materials (Fig. 5c, f, i), caused by the elongation of carbon–carbon bonds.

Fig. 5: Electronic response to strain at 300 K.
figure 5

Time-resolved evolution of the αC averaged absolute spin population \(\left\langle {\left| {\mu _{{\upalpha C}}} \right|} \right\rangle\) during 3 ps of AIMDS at 300 K for 0%, 17% and 28% uniaxial strains for (ac) TPMrs, (df) PTM_TPMrs and (gi) PTMrs. The chemical sketches at the top of the figure represent the resulting dominant valence bond form for each strain.

Overall, these results confirm the robustness of our proposed mechanical control of electron pairing at finite temperatures (300 K) via strain-induced manipulation of aryl ring twisting in 2D-CORFs. The chemical functionalisation of aryl rings is found to play a key role in determining aryl ring rotational flexibility under uniaxial strain (see Fig. S6 in the SI), in line with the response of insulating 2D-CORFs36, and thus the effectiveness of electron pairing (Fig. 5). Thereby, PTM_TPMrs appears to exhibit the most robust (and so potentially measurable) transition between the open-shell AFM (Fig. 5d) and closed-shell quinoidal (Fig. 5e) electronic solutions. The behaviour of PTM_TPMrs arises from a balance between electron localisation in the relaxed structure combined with significant conformational flexibility due to the mixed chlorine/hydrogen functionalisation of its aryl rings and is a promising candidate to be experimentally pursued.

Discussion

In this work, we propose a strategy to externally control the transition between open-shell AFM and closed-shell quinoidal electronic states, which have long been studied in the field of molecular electronics14,15,16. Such states coexist in Kekulé organic bi-radicals18 and have recently been reported in atomically precise graphene nanoribbons56. Although organic chemists have proven that chemical design is a powerful tool to induce one electronic state or another16, a feasible procedure to achieve dynamic external control over electron pairing was lacking.

Here, we propose 2D-CORFs as ideal platforms to gain such control. We demonstrate that the application of uniaxial strain in 2D-CORFs allows one to effectively pair π-conjugated electrons within such otherwise open-shell multi-radical materials. The key factor for such strain-control comes through the mechanical manipulation of dihedral angles of aryl rings in these materials. Partial strain leads to a flattening of some aryl rings within the networks which, subsequently, leads to an effective electron pairing (quinoidalisation) within them. Further strain stretches the previously generated double bonds, which unpairs the electrons restoring the AFM spin distribution. Such an externally mediated electronic control mechanism is effective not only at 0 K but also at finite temperatures, as shown via AIMDS at 300 K. Our results also highlight the important role of structural and chemical design of 2D-CORFs for enhancing stran-induced electronic control. In this respect, we demonstrate that radical centres need to be close to each other to achieve electron pairing and that the chemical functionalisation of aryl rings, determining the ease with which their dihedral angles may be manipulated, is an important factor.

Ongoing improvements in the bottom-up synthesis of single/few-layer COFs with increasingly large crystalline domains will also assist the experimental realisation of our proposal57. The relatively low tensile strengths of our considered 2D-CORF materials also permit large elastic strains with experimentally accessible applied in-plane stresses, which is essential to ensure electronic control in real-world applications. Such high strains are not accessible in stiffer 2D materials, such as graphene, where similar strain-induced electronictransitions have been theoretically predicted5 but which are experimentally intractable4,6.

Overall, our proposal merges the fundamental switchability of bi-radicals19,20,21 with the structural robustness and elasticity of organic 2D materials10. Unlike the effect of strain on most inorganic 2D materials, where minimal bond stretching induces small electronic changes4,5,6, the remarkable efficiency of aryl ring twisting to induce electron pairing highlights the technological potential of rationally designed 2D organic materials.

Methods

All 2D-CORFs studied in this work were fully optimised using periodic boundary conditions via an efficient cascade methodology. Classical force-field based geometry optimisations using the General Utility Lattice Programme58 and the universal force field59 were employed to generate pre-optimised structures (both atomic positions and cell-parameters). Then a second full geometry optimisation of both atomic structure and cell parameters was performed using DFT-based calculations and the PBE60 functional with a Tier 1 light numerical atom-centred-orbital (NAO) basis set61. This was followed by a final full optimisation using the PBE016 hybrid functional (incorporating 25% HFE) with the same NAO basis set. In the SI we confirm that DFT calculations using the PBE0 functional are able to accurately to capture local magnetic coupling between αC centres in 2D-CORFs through comparison with results from experiments of a TPMrs oligomer. All DFT calculations employed a 6-6-1 gamma-centred Monkhorst Pack k-point sampling, except for the PTMacetylenic 2D-CORF which, due to its relatively large unit cell, was optimised using gamma–point sampling. Convergence criteria for these calculations were 1 × 10−5 eV for total energy and 1 × 10−2 eV/Å for the maximum residual force component per atom. We note that a Tier 1 light NAO basis set provides results of similar or higher quality to those obtained using a triple-zeta plus polarisation Gaussian type orbital basis set62. Details of how these NAO basis sets were developed are provided in ref. 63. Single point PBE0 calculations were performed on these fully optimised structures, to generate band structures and isosurface maps of spin and crystal orbital electronic densities. Atomically partitioned spin densities on αC centres (μαC) were obtained via the Hirshfeld method64. The PBE0 geometry optimisations and single point calculations were performed separately for the open-shell AFM and closed-shell quinoidal solutions for each 2D-CORF. The open-shell AFM solutions were obtained with spin unrestricted DFT calculations and by setting an alternating spin polarisation initial guess over neighbouring αC sites. The closed-shell quinoidal solutions were obtained using closed-shell restricted DFT calculations. We provide an example of an input file (including the utilised basis set specification) used for our calculations in the SI, together with the cell parameters and atomic coordinates of fully optimised geometries for all studied 2D-CORFs in their relaxed conformation (ε = 0) for the open-shell AFM electronic solution.

To mimic the externally induced uniaxial strain on each 2D-CORF, we performed a series of restricted optimisations systematically increasing one of the cell parameters while allowing the other in-plane cell parameters and atomic positions to relax. Specifically, the a(x) cell parameter was modified in steps of 0.2 Å for oxTAMrs, 1 Å for PTMrs, PTM_TPMrs, and TPMrs and 2 Å for PTMacetylenic.

The response of 2D-CORFs at finite temperatures was modelled using AIMDS. These were run for 3 ps at 300 K with fixed lattice parameters, using the Bussi–Donadio–Parrinello65 thermostat, the hybrid PBE0 functional and a light (Tier-1) NAO basis set (see above). Further information on the post-analysis of AIMDS results is provided in Section 2 of the SI. All DFT-based calculations were performed using the FHI-AIMS code63,66.