1 Introduction

Large-scale quantum material simulation or electronic state calculation is one of the major fields in computational science with supercomputers. A central problem in this field is the generalized eigenvalue equation, in which an eigenvalue or eigenvector is the energy or the wavefunction of an electron, respectively. Although the de fact standard parallel solver library is ScaLAPACK [1], these routines show severe limitations in parallel efficiency and several scalable solvers, such as ELPA [2, 3] and EigenExa [4, 5], were developed recently. Among them, ELPA was developed in the tight collaboration between numerical researchers and material researchers in Europe. [3, 6] Such a fruitful collaboration requires the co-design approach among application, algorithm and architecture, because an optimal algorithm is dependent both on problem and architecture. For example, a ELPA paper [3] discusses the benchmark of the calculation that obtains all the eigenvalues and a small fraction (10-50 %) of eigenvectors, since such calculations are typical among electronic state calculations.

The present paper reports large-scale electronic state calculations in the context of application-algorithm-architecture co-design. The target application is organic flexible device materials, and the application study contains (i) large single problem and (ii) many small problems in data scientific research for the classification of disordered materials. These researches lead us to a potential need for purpose-specific numerical solvers for internal eigenpairs. We believe that the present paper is a seed of the collaboration between numerical researcher and material researcher with the next-generation or (pre-)exascale supercomputers.

The present paper is organized as follows; Section  2 gives a brief overview of organic material. Physical theory and related numerical method of large-scale electronic state calculation appear in Sect. 3. The calculated results appear for organic thin film in Sect. 4.1 and for organic polymer in Sect. 4.2. The potential need for purpose-specific solvers is discussed in Sect. 4.3. Section 5 is devoted to summary and future outlook.

2 Organic materials

Organic semiconductor material is the foundation of flexible devices, such as flexible displays [7], flexible solar cells [8], and human-friendly wearable electronics [9]. Unlike inorganic semiconductors such as silicon, an organic semiconductor consists of small molecules or polymers which form solids with weak van der Waals interaction. An important industrial problem is to control the disorder of the atomic structure without an increase of the fabrication cost. The electronic property is highly anisotropic and is governed by the spatial extension of the characteristic electrons called \(\pi \) electrons that lie, for example, on benzene rings. A fundamental issue is a conflicting demand on opt-electronic devices; An extended wavefuntion is preferable for conduction property, since an extended wavefunction can induce the electrical current easily. A localized wavefunction, by contrast, is preferable for optical property, since a localized wavefunction can strongly interact with light. The above conflicting demand should be a foundation of material design. Wavefunctions in disordered structures are localized, while wavefunctions in ideal crystalline (periodic) structures are extended throughout the whole system.

An investigation on these materials requires large-scale electronic state calculation in 10–100 nm scales, since complicated disordered structure is crucial for device properties. The investigation requires also a data scientific research with capacity computation, or simultaneous computation of many problems, because the real device property stem from the average among many disordered samples.

Here a crucial issue is to find a proper quantity that characterizes each disordered sample in the context of device property. In the present paper, the quantity is chosen to be participation ratio (PR) [10,11,12,13,14], the spatial extension of electronic wavefunctions, since the spatial extension of wavefunctions governs the device property. The detailed explanation of PR will be given in the next section. Later in the present paper, PR will be used as descriptor in a data scientific research for classification.

3 Theory and numerical method

Numerical foundation of electronic state calculations is explained as the basics of the co-design approach. Details of the physical theory can be found in textbooks, such as Ref. [15].

3.1 Physical origin of matrix problem

The fundamental Schrödinger-type equation, a partial differential equation in real space \(\varvec{r}\), is written for an electronic wavefunction \(\phi (\varvec{r})\) as

$$\begin{aligned} {\hat{H}} \phi (\varvec{r}) =\lambda \phi (\varvec{r}) \end{aligned}$$
(1)

with the Hamilton operator of

$$\begin{aligned} {\hat{H}} \equiv - \frac{\hbar ^2}{2m} \varDelta + V_{\mathrm{eff}}(\varvec{r}). \end{aligned}$$
(2)

Here, \(\varDelta \) is Laplacian, m is the mass of electron and \(\hbar \) is the Planck constant, a physical constant (\(\hbar \approx 1.05 ^{-34}\)Js). \(V_{\mathrm{eff}}(\varvec{r})\) is the effective potential, a scalar function. The normalization condition of

$$\begin{aligned} \int |\phi (\varvec{r})|^2 d \varvec{r} = 1 \end{aligned}$$
(3)

is imposed and stems from the fact that the sum of the weight distribution of one electron should be the unity. The function of \(n(\varvec{r}) \equiv |\phi (\varvec{r})|^2 (\ge 0)\) is the weight distribution of the electron at the point of \(\varvec{r}\). The normalization condition of Eq. (3) can be expressed as

$$\begin{aligned} \int n(\varvec{r}) d \varvec{r} =1. \end{aligned}$$
(4)

An eigenvalue of \(\lambda \) means the energy of an electron in the material and is called eigenenergy. The k-th eigenpair of \((\lambda _k, \phi _k(\varvec{r}))\) is defined for \(k=1,2,..,M\) in the order of \(\lambda _1 \le \lambda _2 \le \cdots \le \lambda _M\). Each material has a specific integer of \(k_{\mathrm{HO}}\) called highest occupied eigenenergy, and the eigenpairs for \(k=1,2,...k_{\mathrm{HO}}\) are occupied by the electrons. A para-spin material with \(N_{\mathrm{elec}}\) electrons, for example, gives the value of \(k_{\mathrm{HO}} = N_{\mathrm{elec}}/2\), if \(N_{\mathrm{elec}}\) is even. Semiconductor material has a finite energy gap between the \(k_{\mathrm{HO}}\)-th and \((k_{\mathrm{HO}}+1)\)-th eigenenergies (\(\lambda _{k_{\mathrm{HO}}+1} - \lambda _{k_{\mathrm{HO}}} >0\)).

Now we consider, as a typical case, that \(\phi (\varvec{r})\) is expressed as a linear combination of given basis functions

$$\begin{aligned} \phi (\varvec{r}) = \sum _{j}^{M} v_j \chi _j(\varvec{r}) , \end{aligned}$$
(5)

where M is the number of the basis functions \(\{ \chi _j(\varvec{r}) \}\). The basis functions \(\{ \chi _j(\varvec{r}) \}\) are normalized to be

$$\begin{aligned} \int \chi ^*_j(\varvec{r}) \chi _j(\varvec{r}) d\varvec{r} =1. \end{aligned}$$
(6)

A typical function is called atomic orbital and is localized near the position of an atomic nucleus. Since each basis function belongs to one atom, the basis index i is equivalent to the composite indices of an atom index I and an orbital index \(\alpha \) (\(i \equiv (I, \alpha )\)). The orbital index \(\alpha \) distinguishes the basis functions that belong to the same atom but different in their shape.

A generalized eigenvalue equation appears, when Eq. (5) is substituted for Eq. (1);

$$\begin{aligned} A \varvec{v} = \lambda B \varvec{v} \end{aligned}$$
(7)

with the \(M \times M\) matrices of

$$\begin{aligned} A_{ij}\equiv & {} \int \chi _i^*(\varvec{r}) {\hat{H}} \chi _j(\varvec{r}) d\varvec{r} \end{aligned}$$
(8)
$$\begin{aligned} B_{ij}\equiv & {} \int \chi _i^*(\varvec{r}) \chi _j(\varvec{r}) d\varvec{r}. \end{aligned}$$
(9)

The matrices A and B are Hermitian. The matrix B is positive definite and satisfies \(B_{jj}=1\) and \(| B_{ij}| < 1\)(\(i \ne j\)). Hereafter we consider, as among many researches, that the basis functions are real and the matrices A and B are real-symmetric. The normalization condition of Eq. (3) is reduced to

$$\begin{aligned} \varvec{v}^{\mathrm{T}} B \varvec{v} = 1, \end{aligned}$$
(10)

which is called B-normalization. The present paper will discuss matrix data generated by our simulation software ELSES [16, 17], an electronic-state calculation software with first-principles-based modeled (tight-binding) electronic-state theory. Sparsity of the matrices of \(A_{ij}\) and \(B_{ij}\) are explained briefly. As explained in the previous subsection, the indices i and j are the composite indices of the atom indices I and J and the orbital indices \(\alpha \) and \(\beta \), respectively (\(i \equiv i(I,\alpha ), j \equiv j(J,\beta ))\)). Therefore, an element of the matrices A and B is expressed by the four indices as \(A_{I\alpha ;J\beta }\) and \(B_{I\alpha ;J\beta }\), respectively. Since a matrix element value decreases quickly and monotonically as the function of the inter-atomic distance between the I-th and J-th atoms (\(r_{IJ}\)), a cutoff distance \(r_{\mathrm{cut}}\) can be introduced. A matrix element, \(A_{I\alpha ;J\beta }\) or \(B_{I\alpha ;J\beta }\), is ignored, if \(r_{IJ} > r_{\mathrm{cut}}\), which makes the matrices to be sparse.

3.2 Mulliken weight

This subsection introduces Mulliken weight [18], a famous discretized representation for the weight distribution of \(n(\varvec{r})\). When the quantity of \(q_i^{\mathrm{(bas)}}\) is defined as

$$\begin{aligned} q_i^{\mathrm{(bas)}} \equiv \sum _j v_i B_{ij} v_j, \end{aligned}$$
(11)

for \(i=1,2,....,M\), it is called Mulliken weight at the i-th basis function. The normalization condition of Eq. (10) is reduced to

$$\begin{aligned} \sum _i q_i^{\mathrm{(bas)}} = 1 , \end{aligned}$$
(12)

which is analogous to Eq. (4).

Since the basis index of i is the composite indices of the atom index of I and the orbital index of \(\alpha \) (\(i \equiv (I, \alpha )\)), the Mulliken weight at the I-th atom is defined as

$$\begin{aligned} q^{\mathrm{(atm)}}_I \equiv \sum _\alpha q_{I, \alpha }^{\mathrm{(bas)}} \end{aligned}$$
(13)

and satisfies

$$\begin{aligned} \sum _I^{\mathrm{(atm)}} q^{\mathrm{(atm)}}_I =1{.} \end{aligned}$$
(14)

If each atom belongs to one molecule, the Mulliken weight at the P-th molecule is defined as

$$\begin{aligned} q^{\mathrm{(mol)}}_P \equiv \sum _I^{\mathrm{(atm) } \in P} q^{\mathrm{(atm)}}_I, \end{aligned}$$
(15)

where \(\sum _I^{\mathrm{(atm) } \in P}\) is the summation among the atoms that belong to the P-th molecule. The sum is the unity;

$$\begin{aligned} \sum _P^{\mathrm{(mol)}} q^{\mathrm{(mol)}}_P=1. \end{aligned}$$
(16)

In this paper, we will use the definition of \(\varvec{q}^{\mathrm{(bas)}} \equiv (q_1^{\mathrm{(bas)}}, q_2^{\mathrm{(bas)}}, ...,q_M^{\mathrm{(bas)}})^{\mathrm{T}}\) and \(\varvec{q}^{\mathrm{(mol)}} \equiv (q_1^{\mathrm{(mol)}}, q_2^{\mathrm{(mol)}}, ...,q_\mu ^{\mathrm{(mol)}})^{\mathrm{T}}\), where \(\mu \) is the number of the molecules in the system.

3.3 Participation ratio

This subsection introduces participation ratio (PR), as a measure of the spatial extension of wavefunctions \(\phi (\varvec{r})\) or how the wavefunction spreads in real space [10,11,12,13]. Since the spatial extension of wavefunction governs the electrical conductivity, PR was used with large-scale electronic state calculations, such as a research on the anomalous electrical conductivity in quasi crystals [14].

In the continuum representation, PR is defined for a wavefunction \(\phi (\varvec{r})\) as

$$\begin{aligned} P^{\mathrm{(cnt)(4)}}(\phi ) \equiv \left( \int |\phi (\varvec{r})|^4 d \varvec{r} \right) ^{-1}. \end{aligned}$$
(17)

under the \(L^2\)-normalization of Eq. (3). For example, suppose D is a closed area whose volume is \(\varOmega \) and \(\phi \) is constant in D as

$$\begin{aligned} \phi (\varvec{r}) = \left\{ \begin{array}{ll} \frac{1}{\sqrt{\varOmega }} &{} \quad (\varvec{r} \in D)\\ 0 &{} \quad (\mathrm {otherwise}). \end{array} \right. \end{aligned}$$
(18)

Then the PR of \(\phi \) gives the volume of the non-zero region of \(\phi \)

$$\begin{aligned} P^{\mathrm{(cnt)(4)}}(\phi ) = \left( \frac{1}{\varOmega ^2} \int _D d \varvec{r} \right) ^{-1} = \varOmega . \end{aligned}$$
(19)

The above definition of PR can be expressed also by the weight distribution of \(n(\varvec{r})\) as

$$\begin{aligned} P^{\mathrm{(cnt)(2)}}(n) \equiv \left( \int |n(\varvec{r})|^2 d \varvec{r} \right) ^{-1} \end{aligned}$$
(20)

under the normalization of Eq. (4).

PR for the eigenvector of \(\varvec{v}\equiv (v_1, v_2,....,v_M)^{\mathrm{T}}\) in Eq. (7) can be also defined in a similar manner. The definition in the present paper is

$$\begin{aligned} P^{(4)}(\varvec{v}) \equiv \left( \sum _j{|v_j|^4} \right) ^{-1} \end{aligned}$$
(21)

under the B-normalization constraint of Eq. (10). For the discretized representation, PR indicates a measure of the number of non-zero elements, namely, how broadly the elements exist on the indices. For example, the case of \(B=I\) and

$$\begin{aligned} \varvec{v} \equiv \left( \frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}}, 0, 0, \ldots , 0 \right) ^{T}, \end{aligned}$$
(22)

the PR is

$$\begin{aligned} P^{(4)} = \left\{ \sum _j |v_j|^4 \right\} ^{-1} = \left\{ 3 \left( \frac{1}{\sqrt{3}} \right) ^4 \right\} ^{-1} = 3. \end{aligned}$$
(23)

Another definition is the one for the Mulliken weight on basis function as

$$\begin{aligned} P^{(2)}(\varvec{q}^{\mathrm{(bas)}}) \equiv \left( \sum _j{|q_j^{\mathrm{(bas)}}|^2} \right) ^{-1} \end{aligned}$$
(24)

or the one for the Mulliken weight on molecules as

$$\begin{aligned} P^{(2)}(\varvec{q}^{\mathrm{(mol)}}) \equiv \left( \sum _P^{\mathrm{(mol)}}{|q_P^{\mathrm{(mol)}}|^2} \right) ^{-1} . \end{aligned}$$
(25)

The quantity of Eq.(25) is called ‘molecular PR’ in this paper and will appear later in this paper.

3.4 Sparsity of matrix data

According to the physical origin, the sparsity in matrix data of A and B is determined by the atomic structure of the simulated system. If a system contains independent (non-interacting) molecules, for example, the matrices of A and B are block diagonal and, each block stems from a molecule. The sparsity of the matrices is crucial for the efficiency of sparse-matrix solvers. A matrix data library of ‘ELSES matrix library’ [19] was constructed, so as to enhance the collaboration between material and numerical researchers. The sparsity is different among the matrix data, as seen in Fig. 3 of Ref. [20], for example. Two examples are explained; The matrix data of ‘APF4686’ stems from an organic polymer system, poly-(9,9 dioctyl-fluorene), in a disordered structure with 2076 atoms [17, 21]. The matrix size is \(M=4686\) and the number of non-zero elements is \(N_{\mathrm{NZ}}=53950\). The ratio of non-zero elements is \(\gamma \equiv N_{\mathrm{NZ}}/M^2 \approx 0.0025\). On the other hand, the matrix data of ‘AUNW9180’ stems from a disordered multishell gold nanowires with 1020 atoms [22]. The matrix size of is \(M=9180\) and the number of non-zero elements is \(N_{\mathrm{NZ}}=1783313\). The ratio of non-zero elements is \(\gamma \equiv N_{\mathrm{NZ}}/M^2 \approx 0.021\). It is noteworthy that ELSES matrix library has several features for the convenience of numerical researchers; (1) The matrix data files are recorded in the Matrix-Market format. [23] (2) Eigenvalues and PR values are stored as files, as well as the matrix data.

Fig. 1
figure 1

Schematic structure and typical scales of organic field-effect transistors. The electrical current is depicted as an arrow squiggle

4 Result

The present section is devoted to the results of large-scale electronic state calculations of organic semiconductor materials. The present paper focuses on p-type semiconductor, in which the electrical current stems from a small number of wavefunctions that has the internal eigenenergies \(\lambda _k\) near the highest occupied one \(\lambda _{\mathrm{HO}}\) (\(\lambda _k \le \lambda _{\mathrm{HO}}\)). Therefore, one should calculate only these internal eigenpairs.

We calculated thin film or two-dimensional condensed organic semiconductor molecules in disordered structures, which is a proto-typical system of organic field-effect transistors (OFETs) shown schematically in Fig. 1. OFETs consist of four layers: a gate electrode layer, an insulating layer, an organic semiconductor layer, and a source/drain electrode layer, typical scales of which are shown in Fig. 1. The details of Fig. 1 is explained in textbooks, like Ref. [28]. In the OFETs, the electrical current flows on several atomic semiconductor layers on the interface region between the polycrystalline semiconductor and amorphous insulator layers. So we should investigate a thin film system with disordered structures.

The present calculated system is a thin film of pentacene molecules (\(\hbox {C}_{{22}}\)\(\hbox {H}_{{14}}\)). Pentacene is one of the most famous organic semiconductors. The present study is motivated by an experimental data of electron spin resonance (ESR) experiment for pentacene OFETs [29, 30]. The analysis of hyperfine interaction between hole carriers and protons in pentacene thin film in ESR spectra gives a molecular PR defined in Eq. (25) [29]. The molecular PR is denoted as P hereafter. The experimental data indicates the appearance of ‘semi-localized’ wavefunction that is extended among a few tens of molecules \((P = O(10))\). Such semi-locality is crucial for the device performance.

The generalized eigenvalue problem was solved by the mini-application of EigenKernel [24,25,26]. EigenKernel is a middleware for the various solvers in ScaLAPACK, ELPA, and EigenExa and their hybrids. Although we have developed a massively parallel electronic state calculation method without eigenvalue problem [16, 17, 27], we still need eigenvalue solver, so as to obtain eigenpairs in the discussion of electronic property.

4.1 Large-scale calculation of thin film organic material

The calculated system is a thin-film (single molecular layer) system with an artificial two-dimensional periodic simulation cell. The simulation cell contains \(N_{\mathrm{mol}}\)=1800 molecules, and the matrix size of the generalized eigenvalue problem is \(M=183600\). Thousands of molecules are required in the simulation cell, so as to observe a semi-localized state extended among tens of molecules (\(N_{\mathrm{mol}} \gg O(10)\)).

Fig. 2
figure 2

Preparation of disordered pentacene thin film sample. a The initial structure of a three-layered sample in the crystalline geometry. b The result of finite-temperature simulation

The initial atomic structure of the disordered thin film sample was generated in classical molecular dynamics simulations by GROMACS [31, 32] with the generalized AMBER force field (GAFF) parameter set [33]. The software and parameter set are standard for organic materials. The sample was prepared in the following stages; (1) A layered structure of pentacene in the crystalline geometry was prepared with three layers, shown in Fig. 2a. (2) Several finite temperature simulations were carried out at the temperature of 300-1000 K for the dynamics in 0.1-100 ns, so as to generate a finite-temperature disordered structure, as shown in Fig. 2b. In the simulation, only the middle layer in Fig. 2a was set to be mobile, and the upper and lower layers were set to be fixed, so as to impose the boundary condition on the middle layer. The temperature of the simulation should be distinguished from the experimental one, owing to the boundary condition and we have not yet compared the detailed results among different temperature and/or simulation time. A long-time (nano-second) dynamics is difficult for quantum simulation, owing to huge CPU time and we used the classical simulation. Classical simulations, however, do not treat electronic wavefunction, and the electronic state calculation is required for the disordered structure, so as to obtain wavefunctions. The total computational time of the classical molecular dynamics simulation is \(T_{\mathrm{comp}} \approx \) 5 h for a nano-second dynamics by six nodes of a Intel-Xeon-based Supercomputer at the Academic Center for Computing and Media Studies, Kyoto University. The time of the quantum simulation is \(T_{\mathrm{comp}} \approx \) 6 h by 36 nodes of a Intel-Xeon-based Supercomputer at the Institute for Solid State Physics, the University of Tokyo, when the ScaLAPACK solver was used. It is noteworthy that the computational time of the quantum simulation with a dense-matrix solver is proportional to \(N_{\mathrm{mol}}^3\) and will be severe for a larger sample, while the time of the classical simulation is proportional to \(N_{\mathrm{mol}}^d\) with \(1 \le d \le 2\).

Figure 3 shows a typical wavefunction with the molecular PR of \(P \approx 35\), which agrees with the experimental observation of semi-localized wavefunction (\(P = O(10)\)). We should say, however, that the present simulation is the one for an isolated thin film system of pentacene layer and ignores the affects the neighboring layers, whereas the experimental result [29, 30] indicates the importance of the neighboring insulator layer shown in Fig. 1. Now the calculations are on going for the interface system including pentacene layer and insulator layers.

Fig. 3
figure 3

Example of semi-localized wavefunction that appears on a pentacene thin-film system. The wavefunction \(\phi (\varvec{r})\) has the eigenenergy of \(\lambda \approx - 0.15\)eV, where the energy origin \((\lambda \equiv 0)\) is set to be the eigenenergy of the highest occupied wavefunction. The wavefunction of \(\phi (\varvec{r})\) is depicted as two iso-surfaces in the opposite signs (\(\phi (\varvec{r})=\pm C\), where C is a positive constant). The two surfaces are painted by different colors. a The whole region of the periodic simulation cell. b A close-up of a. c A picture of a single pentacene molecule with the view point of b

4.2 Data scientific research of organic polymers

This subsection gives a data scientific research with capacity computation, or simultaneous computation of many middle-size problems. The purpose of the research is how to characterize the disordered structure in the context of device property. In general, the spatial extension of wavefunction plays a crucial role on device property and is rigorously measured by PR for each wavefunction. Therefore a set of PR values among wavefunctions in a sample can be a candidate of the measure of the disorder for the sample. In other words, the set of PR values can be a descriptor that characterizes the sample.

The present paper focuses on a research on poly-(phenylene-ethynylene) (PPE) [34], a typical conducting polymer. The paper measures the device property or the mobility for isolated polymers and found the importance of structural disorder. The first stage of theoretical research on disordered polymers is to define the descriptor of disordered polymers. The present paper proposes that the set of PR values can give a descriptor for a disordered sample.

Figure 4 shows a classification problem among \(N_{\mathrm{sample}}=200\) disordered PPE polymer samples by the K-means clustering method, a typical classification algorithm. The structure of PPE polymers consists of 240 atoms, and a part is drawn in the inset of Fig. 4. A polymer sample consists of 20 benzene rings. The structural disorder was introduced in the relative rotation angles between adjacent benzene rings shown in \(\theta \) in Fig. 4. The angles were set from the normal distribution with standard deviation of \(20^\circ \) or \(60^\circ \) . The samples were generated 100 times for each class (total \(N_{\mathrm{sample}} = 200\) samples). After the rotations, small fluctuations taken from the normal distribution with standard deviation of 0.01 Å were given to all the coordinates of all atoms to remove degeneracy. For each sample \((i = 1, \dots , N_{\mathrm{sample}})\), the generalized eigenvalue problem of

$$\begin{aligned} H^{(i)} \varvec{v}^{(i)}_{j} = \lambda ^{(i)}_{j} S^{(i)} \varvec{v}^{(i)}_{j} \ \ (j = 1, \dots , M). \end{aligned}$$
(26)

was solved numerically with the matrix size of \(M = 714\). Here, the list of PR value of all the eigenvectors

$$\begin{aligned} \varvec{d}^{(i)} := (P^{(4)}(\varvec{v}^{(i)}_{1}), \dots , P^{(4)}(\varvec{v}^{(i)}_{M})))^T \end{aligned}$$
(27)

was used as the descriptor vector for the i-th sample.

The classification in the K-means clustering algorithm was carried out with the descriptor vectors of \(\{ \varvec{d}^{(i)} \}_{i=1, \ldots , M}\). The number of clusters was two. The classification result is shown in Fig. 4. Each sample is plotted on the plane by two statistical quantities with markers corresponding to the cluster labels given by the K-means algorithm. As a result, the two clusters perfectly matched to the structure classes. Namely, all the samples with adjacent rotation angles in standard deviation of \(20^\circ \) are clustered into one group, and all the samples with adjacent rotation angles in standard deviation of \(60^\circ \) are clustered into the other group. We should note the generality of PR as descriptor, since PR is calculated uniquely for any material without any preknowledge. The present result implies that the PR of wavefunctions can be a important quantity that bridges between disordered structure and device property. A more extensive study with principal component analysis is on going [35] and will be reported elsewhere. It is noted that the present data scientific research is one among single polymer samples and a challenging future problem is the data scientific research for condensed polymer samples, as a foundation of device material research.

Fig. 4
figure 4

K-means clustering of polymer structures by their eigenvector participation ratios. Each structure is plotted by two statistical quantities. The x-axis is the mean of the rotation angles between adjacent benzene rings. The y-axis is the resulting standard deviation of the small fluctuation to the coordinates. Two markers, red circle and blue triangle, correspond to the two clusters labeled by the K-means algorithm

4.3 Potential need of purpose-specific solvers

The application studies in the previous sections are carried out by the dense-matrix solver and implies the potential need of novel solvers. The largest matrix size in the present paper is \(M=2 \times 10^5\). In general, the computational cost of dense-matrix solvers is proportional to \(M^3\) and a previous paper [27] reported that the dense-matrix solver solved a million dimensional generalized eigenvalue problem (\(M=10^6\)) by 1.5 h with the whole system of the K computer. Since the above calculation indicates the practical upper limit of the dense-matrix solver, novel solvers are needed, at least, for a problem with \(M \ge 10^6\).

Here we discusses the potential need of purpose-specific solvers suitable to the present problem. The need is the one for the solver of internal eigenpairs, like z-PARES [36, 37], FEAST [38, 39], the filtering method [40], k-ep [20, 41], because we would like to calculate only internal eigenpairs with the eigenenergies \(\lambda _k\) near the highest occupied one \(\lambda _{\mathrm{HO}}\) (\(\lambda _k \le \lambda _{\mathrm{HO}}\)). Internal eigenpair solvers are desirable both for a solution of large problems, or a faster solution of middle-size problems. Application researchers, however, find sometimes the difficulty in choosing a solver, since the performance can be dependent on problem and machine. For example, the performance is dependent not only the matrix size M but also the sparsity, when one uses a sparse-matrix solver. A possible remedy for the difficulty is to develop a ‘middleware’ that provides a universal interface for various solver routines, like EigenKernel.

5 Summary and future outlook

The present paper discusses the generalized eigenvalue problem in large-scale electronic state calculation for flexible organic device materials. The application studies were carried out for disordered organic thin film and polymer. The calculation of participation ratio is focused on, since it is a measure of the spatial extension of electronic wavefunctions and governs the device property. The present application research indicates the potential need of purpose-specific solvers with internal eigenpairs.