원시데이터 수집 시스템
선정목록으로

Visual Analysis of Electronic Densities and Transitions in Molecules

관련 필름·전자재료 · (15) 디스플레이 패널재료 (11) 배리어 필름(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Talha Bin Masood — Department of Science and Technology (ITN) Linköping University Norrköping Sweden
  2. Signe Sidwall Thygesen — Department of Science and Technology (ITN) Linköping University Norrköping Sweden
  3. Mathieu Linares — Laboratory of Organic Electronics Linköping University Norrköping Sweden|||Department of Science and Technology (ITN) Linköping University Norrköping Sweden
  4. Alexei I. Abrikosov — Department of Science and Technology (ITN) Linköping University Norrköping Sweden
  5. Vijay Natarajan — Indian Institute of Science, Bangalore, India
  6. Ingrid Hotz — Department of Science and Technology (ITN) Linköping University Norrköping Sweden
DOI
10.1111/cgf.14307
저널
KTH Publication Database DiVA (KTH Royal Institute of Technology)
발행년도
2021
발행기관
–
피인용수
17
라이선스
other-oa
논문 유형
–
언어
–
원문 페이지
http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-178610
토픽
Photopolymerization techniques and applications
OpenAlex ID
W3175951774

평가 내용

관련도
관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
(11) 배리어 필름, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electronic transitions, organic materials, Density Functional Theory, molecular orbitals, charge transfer
판단 근거
이 논문은 유기 소재의 전자 밀도와 전이(electronic transitions)를 시각화하고 정량화하는 방법론을 다룹니다. 이는 디스플레이용 유기 소재(15)나 광학 필름(11, 16) 설계 시 소재의 광학적/전기적 특성을 예측하고 분석하는 데 직접적인 참고 가치가 있습니다.
R&D 활용 포인트
디스플레이용 유기 소재 및 기능성 필름 개발 시, 분자 수준에서의 전자 전이 및 전하 이동 특성을 시뮬레이션하고 분석하여 광학적 성능(흡수/발광)을 최적화하는 데 활용 가능함.
평가 입력
본문 75,119자 중 30,032자 발췌

초록

The study of electronic transitions within a molecule connected to the absorption or emission of light is a common task in the process of the design of new materials. The transitions are complex quantum mechanical processes and a detailed analysis requires a breakdown of these processes into components that can be interpreted via characteristic chemical properties. We approach these tasks by providing a detailed analysis of the electron density field. This entails methods to quantify and visualize electron localization and transfer from molecular subgroups combining spatial and abstract representations. The core of our method uses geometric segmentation of the electronic density field coupled with a graph-theoretic formulation of charge transfer between molecular subgroups. The design of the methods has been guided by the goal of providing a generic and objective analysis following fundamental concepts. We illustrate the proposed approach using several case studies involving the study of electronic transitions in different molecular systems. © 2021 The Author(s) Computer Graphics Forum © 2021 The Eurographics Association and John Wiley & Sons Ltd. Published by John Wiley & Sons Ltd.

본문 75,119자

본문 펼치기
## Visual Analysis of Electronic Densities and Transitions in Molecules Talha Bin Masood <sup>_†_</sup> <sup>1</sup>, Signe Sidwall Thygesen <sup>1</sup>, Mathieu Linares <sup>1</sup> <sup>_,_</sup> <sup>2</sup>, Alexei I. Abrikosov <sup>1</sup>, Vijay Natarajan <sup>_‡_</sup> <sup>3</sup>, and Ingrid Hotz <sup>1</sup> 1Department of Science and Technology (ITN), Linköping University, Norrköping, Sweden 2Laboratory of Organic Electronics, Linköping University, Norrköping, Sweden 3Indian Institute of Science, Bangalore, India Abstract _The study of electronic transitions within a molecule connected to the absorption or emission of light is a common task in the_ _process_ _of_ _the_ _design_ _of_ _new_ _materials._ _The_ _transitions_ _are_ _complex_ _quantum_ _mechanical_ _processes_ _and_ _a_ _detailed_ _analysis_ _requires_ _a_ _breakdown_ _of_ _these_ _processes_ _into_ _components_ _that_ _can_ _be_ _interpreted_ _via_ _characteristic_ _chemical_ _properties._ _We_ _approach these tasks by providing a detailed analysis of the electron density field. This entails methods to quantify and visualize_ _electron_ _localization_ _and_ _transfer_ _from_ _molecular_ _subgroups_ _combining_ _spatial_ _and_ _abstract_ _representations._ _The_ _core_ _of_ _our_ _method uses geometric segmentation of the electronic density field coupled with a graph-theoretic formulation of charge transfer_ _between_ _molecular_ _subgroups._ _The_ _design_ _of_ _the_ _methods_ _has_ _been_ _guided_ _by_ _the_ _goal_ _of_ _providing_ _a_ _generic_ _and_ _objective_ _analysis following fundamental concepts. We illustrate the proposed approach using several case studies involving the study of_ _electronic transitions in different molecular systems._ CCS Concepts _•_ _Human-centered_ _computing_ _→_ _Scientific_ _visualization;_ _Visualization_ _techniques;_ _•_ _Applied_ _computing_ _→_ _Chemistry;_ _Physics;_ 1. Introduction Molecular spectroscopy, dealing with the absorption or emission of light, plays an important role in material and biochemical applications. Its study is a common task when analyzing the chemical and physical properties of organic materials with a wide variety of technical applications, e.g., the design of new materials for organic solar cells. Absorption and emission of light are related to electronic transitions, which involve the promotion of electrons from one state to another by absorbing or emitting photons [KKPR19]. The complex quantum mechanical process behind these transitions can be numerically calculated using modern quantum chemistry methods such as Density Functional Theory (DFT). Visualization has traditionally played an important role in analyzing the resulting electron density fields [SHS <sup>_∗_</sup> 11]. Statistical plots and energy diagrams are typically used, but spatial representations of the density field of a specific electronic state of the molecule are also studied. The spatial electron density distribution is often visualized using isosurfaces. An isovalue that ‘best’ depicts the system is manually chosen. This approach requires detailed knowledge about the molecule and localization of the elec _†_ {talha.bin.masood | signe.sidwall.thygesen | mathieu.linares | alexei.abrikossov | ingrid.hotz}@liu.se _‡_ vijayn@iisc.ac.in trons [HG08]. As one can imagine, this approach can be cumbersome, time-consuming, and lacks any quantifiable information, thereby making comparisons across different molecules often difficult and sometimes impossible. A tool to quickly identify the character of each excitation and to facilitate the analysis of a series of molecules is missing. In this work, we propose an approach that automates the quantification and visualization of key measures for electron localization and transfer from molecular subgroups. From a data point of view, this is a scalar field analysis and visualization problem. The design of our visual analysis framework is guided by the goal to develop a generic and efficient pipeline (Fig. 2) that builds on fundamental concepts to generate effective and easy to interpret visualizations. More specifically, this includes (i) designing a simple yet powerful partitioning algorithm that is chemically plausible, efficiently computable, and easy to communicate, (ii) quantifying the field transition by solving a constrained optimization problem respecting simple rules, and (iii) providing a visualization that is easy to understand and capable of encoding the characteristics of the nature of the electronic transition. Our contributions can be summarized as: _•_ Formulation of the charge transition problem as a general partitioning and constraint optimization problem. _•_ Introduction of a new automated method for quantitative anal 2 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ ysis and comparison of charge distributions and transitions in molecular excitations. _•_ Design and development of a framework for the visual analysis of electronic transitions in a series of molecules. _•_ Demonstration of the utility and significance of the framework via four case studies on molecules and metal complexes. The paper is structured as follows. In Sec. 2, we summarize required background in chemistry for the application. Sec. 3 summarizes the relevant related work. The visualization task and analysis problem are formalized in Sec. 4. Sec. 5 describes in detail the methods of our proposed solution. We present four case studies with increasing complexity in Sec. 6. A discussion of the proposed framework considering user participation in the visualization design, robustness, and efficiency of the method is provided in Sec. 7 before we conclude in Sec. 8. 2. Electronic densities and transitions Atoms are composed of nuclei and electrons, with the latter occupying most of the space. The occupied space can be interpreted as an electronic cloud or a standing wave called orbital regions with the highest probability to find electrons. Within each atom, there is a series of available orbitals with specific energy levels, each orbital hosting a maximum of two electrons. In a molecule, the location of electrons is determined by the molecule as a whole, and molecular orbitals are formed by a linear combination of atomic orbitals [Mul32]. Thereby the electrons from the constituent atoms of the molecules fill the molecular orbitals starting from the lowest energy up to the Highest Occupied Molecular Orbital (HOMO) with two electrons per molecular orbital. The remaining orbitals are named Unoccupied orbitals with their lowest called the Lowest Unoccupied Molecular Orbital (LUMO). Molecular Orbitals are used not only to study the electron localization in a molecule but also to calculate chemical and physical properties such as the probability of finding an electron in any specific region or to calculate electronic transitions involved in the interaction between the molecule and light. When a molecule absorbs a photon, electrons are excited from the occupied orbitals to unoccupied orbitals. Mathematically, molecular orbitals are an approximate solution to the Schrödinger equation for the electrons in the field of the molecule’s atomic nuclei. They can be calculated using modern quantum chemistry methods such as Density Functional Theory (DFT), e.g., implemented in the program Gaussian [FTS <sup>_∗_</sup> 16]. Using the Time-Dependent formalism of DFT (TD-DFT) it is possible to study the electronic transitions within a molecule. The result of such a calculation is excitation energy and a set of coefficients describing the contribution of each orbital to the excited state. An electron promoted from an occupied level will be named a hole on the remaining orbital and will be promoted to a virtual level (particle). To understand electronic transitions it is not sufficient to look at the individual orbitals but the linear combination of molecular orbitals involved in the electronic transition. Therefore, a more compact orbital representation, named Natural Transition Orbital (NTO) has been proposed to describe what has been excited (the hole NTO) and to where it has been excited (the particle NTO) [Mar03]. The output data of these calculations are scalar values given on a regular grid in a so-called ‘cube’ file. A typical analysis task is to identify the nature of the electronic transition. If both the NTO of the particle and hole are located on the same part of the molecule, one speaks of a Local Excitation (LE). In contrast, if the NTO of the particle and hole are located on different parts of the molecule, one speaks of a Charge Transfer excitation (CT). This task is generally approached by displaying an isosurface of the resulting scalar fields, Fig. 1 (d,f). This is a purely qualitative analysis and there is a need to quantify the character of LE and CT between each relevant part of the molecule. Moreover, a tool to identify quickly the character of each excitation is missing and would be really useful to facilitate the analysis of a series of molecules. 3. Related work Atoms in molecules. Atoms in molecules is a model assuming that the molecular structure can be analyzed using atoms and bonds as constitutive elements. The hypothesis is that some characteristic physical properties can be determined on a per-atom basis. In this context, the question of how to assign charges to the individual atoms in a molecule is still actively discussed in chemistry with a variety of methods being proposed. Since this segmentation is not a physically observable property but rather a concept supporting the reasoning over molecules, there is no ground truth and the methods have to be validated by their usefulness in a given context. The methods can be classified into two groups - wave-function based partitioning in Hilbert space, e.g., Mulliken’s Population analysis [Mul55], and 3D space partitioning using an appropriate descriptor, e.g., the electron density distribution of the molecule. The electron density distribution is a scalar field, that can be interpreted as the probability of observing the amount of electrons in a specific volume. Often the second group is preferred since the results do not depend on the chosen basis functions for the molecular modeling [HZAV <sup>_∗_</sup> 18]. This second group of methods can be further classified into methods based on direct space partitioning and fuzzy methods following a fractional charge assignment [HZAV <sup>_∗_</sup> 18]. In the case of space partitioning methods, in a second step, the charge density is integrated over pre-determined atomic regions, an area associated with the atom [PLEP70]. This approach boils down to the question of how to partition the molecule into atomic regions. For linear molecules, Politzer [PLEP70] proposed segmentation of the space using separating planes orthogonal to the molecular axis. This approach has later been generalized to non-linear atoms using a Voronoi partitioning [GHBB04]. While these approaches are purely geometric, a topological field-based segmentation has been proposed by Bader [Bad90]. A fuzzy approach is followed by Hirshfeld [Hir77], who proposes to share the electronic density at each point among all atoms in relation to their atomic contribution of its spherically averaged ground-state density. Ground and excited state comparison. A frequent task is the comparison and characterization of the chemical nature of the electronic ground and excited states. In this context, the comparison of electron charge distributions plays an important role. For this purpose, a set of indexes serving as a descriptor for the charge transfer (CT) have been designed. These indexes are mostly based on a pointwise difference density field which is partitioned in positive and negative regions. The first indexes introduced by Ciofini _et_ _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 3 CPK colors THIO QUIN Min Max _−v_ _v_ Min Max _−v_ _v_ (a) Atom positions (b) Two subgroups (c) Hole NTO Φ _h_ (d) Isosurfaces in Φ _h_ (e) Particle NTO Φ _p_ (f) Isosurfaces in Φ _p_ Figure 1: _Direct visualization of the output data from DFT simulations of a Thiophene-Quinoxaline molecule for the first excited state. This_ _data as well as some domain knowledge about potential subgroups serve as input for the automatic analysis and visualization pipeline, Fig. 2._ _al._ [GAC10, BAC11] describe CT distance, amount of transferred charge, and the variation of the dipole moment. Later this set has been extended by an index that can be interpreted in terms of holeelectron distance [GCMA13, HPMM <sup>_∗_</sup> 20]. Some of these indexes are also implemented into standard quantum chemical codes, such as Gaussian [FTS <sup>_∗_</sup> 16]. An alternative approach has been proposed by Romouts _et_ _al._ [REL17] who compare the segmented partial charges associated with the individual atoms. They propose to use atom-centered Voronoi cells for the partitioning. In contrast to the analysis of the difference-volume, this approach has the advantage that it is not sensitive to changes in the geometric configuration of the atomic positions. Our approach is closely related to this idea. Typical visualization methods used in the domain. Visualization plays an important role in most of the above-mentioned studies. The most dominant visualizations are statistical plots and energy diagrams. Also, spatial representations are omnipresent. The typically used methods can be summarized as a combination of schematic molecular representations and isosurface plots. VMD, a widely used visualization tool for biomolecular systems, even provides hardware support for efficient orbital surface rendering [SSH <sup>_∗_</sup> 09, SHS <sup>_∗_</sup> 11]. Isosurfaces, however, can be misleading when the isovalue is not carefully selected and adapted to the orbital energies. To overcome this limitation, Haranczyk _et_ _al._ [HG08] propose to visualize orbitals or electron densities in a more consistent way using a pre-selected fraction of the total charge to determine an orbital-specific isovalue. A direct visualization of the complex-valued molecular orbitals has been proposed by Al-Saadon _et al._ [ASSK19]. The schematic molecular representations including ball-and-sticks or van der Waals surface representations [KKL <sup>_∗_</sup> 15] provide an overview of the molecular structures. Electron density isosurface plots provide a view of the density distributions. Side-by-side visualization is used for the comparison of ground and excited states. Besides, electron density difference isosurface plots give a more direct impression of the differences in the charge densities. In a few papers, these representations are overlaid with arrows representing the charge transition [JBAC12]. Sometimes, color plots on a slice using a divergent color map can be seen to give a more complete overview of the molecular electrostatic potential [LWX <sup>_∗_</sup> 20]. While such plots give a good first qualitative impression about the charge transfer the pictures are not suitable for quantitative analysis. The chosen isovalue is a critical parameter in all these visualizations. Volume segmentation for visualization. Segmentation of scalar fields is a prevalent topic in visualization. Also, the segmentation of the electron density field has been explored to provide insight into the properties of molecules and materials. Existing methods can be categorized as geometric and topological methods with two different goals. The first task is to assign charges to atoms in molecules and it requires high geometric accuracy. For this purpose, a numerical algorithm to divide the space into regions separated by zero flux surfaces has been presented by Henkelman [HAJ06]. It closely follows the theory introduced by Bader [Bad90]. The geometric accuracy of combinatorial approaches is often not sufficient for this purpose. However, there are a few approaches that try to overcome this limitation. Stochastic methods [RGH <sup>_∗_</sup> 12,GBP12] did not provide guarantees but resulted in empirically convergent solutions. Facilitating a pre-segmentation, Gyulassy _et_ _al._ [GGL <sup>_∗_</sup> 14] introduced a conforming Morse-Smale complex achieving much better geometric embeddings. Specifically, for the computation of atomic volumes, Bhatia _et al._ [BGL <sup>_∗_</sup> 18] introduced a computational tool, TopoMS, which combines numerical integration with concepts from computational topology and provides an accurate segmentation while still guaranteeing topological consistency. The second goal of topological segmentation is the analysis of atomic bonds where geometric accuracy is secondary. However, a robust extraction of the topological skeleton is essential. In this context, methods from computational topology are very successful [GBCG <sup>_∗_</sup> 14]. For the analysis of ion diffusion in battery materials, a geometric segmentation of carbon nanospheres, inspired by the Delaunay triangulation, was proposed by Gyulassy _et al._ [GKLW16]. Segmentation based on the Voronoi diagram and its dual Delaunay triangulation has also been extensively studied in the context of macromolecules and used to measure their geometric properties such as volume and surface area [LEF <sup>_∗_</sup> 98, PKKO07]. Bipartite graph visualization. A common approach to visualize bipartite graphs, which consist of two disjoint sets of nodes, is to represent the two node sets as parallel lines and to draw edges between pairs of nodes that are connected by an edge. For weighted graphs, a frequently used representation is the Sankey diagram encoding the weights or magnitude of the flow in the width of the connecting arrows. It was developed over 100 years ago for material flow analysis [Sch08] and is now used in many applications [BT20]. They are especially useful for simple graphs with a limited number of nodes and edges. Some variants can also cope with more complex scenarios including interactive ex 4 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ Figure 2: _Overview of the method. The first step is to segment the volume and calculate the charge for atoms and subgroups, both for hole and_ _particle Natural Transition Orbitals (NTO), described in Sec. 5.1. Then we set up the constraint optimization problem to calculate the charge_ _transfer between subgroups (Sec. 5.2). The charge results are visualized, both at atomic and subgroup level, this is described in Sec._ _5.3._ ploration [RHF05]. The chord diagram is another visual representation targeting similar data. Here, the nodes are arranged along a circle and connected by arcs scaled according to the ratio of the outand in-flow of the respective nodes. Such diagrams have been used in many applications including charge flow networks [KFM <sup>_∗_</sup> 19]. Considering weighted bipartite graphs as a special case of more general flow graphs or transition matrices, all related graph drawing methods are principally applicable [NMSL19]. There are also methods that focus on the visualization of large scale bipartite graphs with tens of thousands of nodes and edges [CXDR18] which goes far beyond our needs. 4. Problem specification and definition In the following, we translate the computational chemists’ requirements described above in Sec. 2 into a data-analysis and visualization problem. We start with specifying the visualization tasks and then give a precise mathematical formulation of the related data analysis problem. 4.1. Visualization and analysis tasks We identified two data analysis tasks (A1 and A2) and three visualization tasks (V1, V2, and V3) specified below: A1 Parameter-free quantification of charges associated to atoms. A2 Parameter-free quantification of electronic charge transfer be tween the hole and particle NTO at the chemical subgroup level. V1 Visualization of the hole and particle charge distribution. V2 Visualization of charge differences at atoms to emphasize the loss or gain of electronic charge during the electronic transition. V3 Visualization of the charge transfer emphasizing the nature of the electronic transition as Local Excitation (LE) or Charge Transfer excitation (CT). The two analysis task relate to quantification of charge and the charge transfer using methods which do not require any dataspecific user-defined parameters. We decided to take a parameterfree approach to facilitate easy integration of these methods in automated analysis pipelines for processing a large set of molecules. The three visualization tasks are aimed at discerning the nature of the electronic transition through visual analysis both at the chemical subgroup and atomic level of detail. 4.2. Formal problem specification The basis for all the visualization tasks is an objective quantification of diverse charge contributions and transitions which should follow clear rules. The data is a set of scalar fields from TD-DFT calculations and the input configuration of the molecules constituted of atoms and atomic groups. The problems to solve are fundamentally partitioning and transfer computation tasks. Input. We are given the following information: _•_ A set of atoms _A_ = _{a_ 1 _,_ _a_ 2 _,...,_ _aN_ _}_ where each atom _ai_ is a sphere centered at _pi_ = ( _xi,_ _yi,_ _zi_ ) _∈_ R <sup>3</sup> with radius _ri_, e.g., the van der Waals radius. _•_ Partitioning of the atoms into _M subgroups_, _S_ = _{s_ 1 _,_ _s_ 2 _,...,_ _sM}_, where _s j_ _⊆_ _A_, _∪s_ _j∈S_ = _A_ and _si ∩_ _s j_ = _∅_ for _i̸_ = _j_ . _•_ Natural Transition Orbital (NTO) for the hole Φ _h_ : R <sup>3</sup> _→_ R and the particle Φ _p_ : R <sup>3</sup> _→_ R. _•_ In practice the scalar fields Φ _h_ and Φ _p_ are provided as sampled over a 3D grid G of size _n_ x _× n_ y _× n_ z corresponding to a subset D _⊂_ R <sup>3</sup> . The grid G consists of voxels of uniform size. Problem. Given this, the problem can be specified as follows: _•_ Determine the hole charge _q_ <sup>_h_</sup> _i_ <sup>for each atom</sup> <sup>_ai_</sup> <sup>such that the total</sup> hole charge ∑ <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_h_</sup> <sup>=</sup> �D <sup>_||_</sup> <sup>Φ</sup> <sup>_h||_</sup> <sup>2.</sup> hole charge ∑ <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_h_</sup> <sup>=</sup> �D <sup>_||_</sup> <sup>Φ</sup> <sup>_h||_</sup> <sup>2.</sup> _•_ Similarly, determine the particle charge _qi_ <sup>_p_</sup> <sup>for each atom</sup> <sup>_ai_</sup> <sup>such</sup> that the total particle charge ∑ <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_p_</sup> <sup>=</sup> �D <sup>_||_</sup> <sup>Φ</sup> <sup>_p||_</sup> <sup>2.</sup> <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_h_</sup> _i_ <sup>_h_</sup> <sup>=</sup> <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_p_</sup> that the total particle charge ∑ <sup>_N_</sup> _i_ =1 <sup>_q_</sup> _i_ <sup>_p_</sup> <sup>=</sup> �D <sup>_||_</sup> <sup>Φ</sup> <sup>_p||_</sup> <sup>2.</sup> _•_ Also, determine the hole charge _Q_ <sup>_h_</sup> _j_ <sup>for each subgroup</sup> <sup>_s j_</sup> <sup>and the</sup> corresponding particle charge _Q_ <sup>_p_</sup> _j_ <sup>.</sup> _•_ Determine the amount of charge transfer _Q_ <sup>˜</sup> _jk_ between all pairs of subgroups _s j_ and _sk_ according to a few given constraints. _i_ <sup>_p_</sup> <sup>=</sup> 5. Method An overview of our visual analysis pipeline is presented in Fig. 2. The individual steps are described in the following sections. _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 5 (a) (b) (c) (d) (e) Figure 3: _Voronoi_ _segmentation_ _for_ _Thiophene-Quinoxaline._ _(a)_ _Ball_ _and_ _stick_ _representation._ _(b)_ _The_ _weighted_ _Voronoi_ _segmentation._ _Voronoi segments are clipped by a sphere of radius twice the van der Waals radius for better display. (c) The combined segments for the two_ _subgroups (THIO_ _QUIN). The regions associated to the subgroups are the union of the atomic Voronoi cells. A slice showing the Voronoi_ _segmentation is shown along with isocontours and isosurfaces for the hole NTO_ Φ _h_ _(d) and the particle NTO_ Φ _p_ _(e)._ 5.1. Segmentation and charge computation (Task A1) To compute the charge of an atom we partition the volume D into regions, each belonging to one atom. The charge of an atom is then calculated as the charge within the region based on the charge density derived from the NTO, both for particle (Φ _p_ ) and hole (Φ _h_ ). Segmentation of the volume. We find a partition of the volume D into non-overlapping regions _V_ = _{_ V1 _,...,_ V _N_ _}_ such that V _i_ _⊆_ D and _∪_ V _i∈V_ = D. To solve this segmentation problem we considered both topological and geometrical segmentation methods. We investigated the Morse-Smale complex and the weighted Voronoi segmentation and concluded that the resulting subgroup charges were very similar for these two segmentation algorithms, refer to the appendix for a detailed comparison. Since we are mainly interested in the subgroup charge and also the fact that we want an efficient and fast method, our choice was the weighted Voronoi due to its simplicity. Chemists are also familiar with this segmentation approach thus making it easier to communicate to domain experts. Voronoi segmentation. Given _N_ seed points, the Voronoi diagram divides the space into _N_ regions, each region consisting of the points in space closest to one particular seed point [Aur91]. A more general version is the _weighted_ Voronoi diagram where each seed point has a weight. This weighted version is called a _power diagram_ when using the power distance to measure the distance between a point x and seed point _pi_ with weight _ri_ : _pd_ ( x _, pi_ ) = _||_ x _−_ _pi||_ <sup>2</sup> _−_ _ri_ <sup>2</sup> [Aur87]. It partitions a volume D such that the region belonging to atom _ai_ at position _pi_ and radius _ri_ can be described as V _i_ = _{_ x _∈_ D such that _pd_ ( x _, pi_ ) _<_ _pd_ ( x _, p_ _j_ ) _∀_ _j̸_ = _i}_ (1) This segmentation algorithm only considers the atom positions and their radii together with the volume dimensions and is not dependent on the scalar field values. This means that we do not need to recalculate the segmentation for the different scalar fields Φ _h_ and Φ _p_ for the same molecule. An example of a weighted Voronoi segmentation of the volume is shown in Fig. 3. We implement the weighted Voronoi algorithm in the discrete setting. In parallel, for each point in the volume grid G, we compare the power distances to all the atom positions and pick the one giving 5.2. Charge transfer (Task A2) To study the charge transfer at the level of subgroups, it would be beneficial to quantify the charge transfer between two subgroups. However, there is no unique solution for this problem as the system of equations is underdetermined. We describe this in the following subsections and propose some solutions for the charge transfer problem under reasonable assumptions. Problem specification. The charge transfer problem requires determination of the charge transfer _Q_ <sup>˜</sup> _i j_ from a subgroup _si_ to another subgroup _s j_ under two constraints: (1) the total charge transfer from a subgroup _si_ should be equal to the hole charge _Q_ <sup>_h_</sup> _i_ <sup>of the subgroup,</sup> and (2) the total charge transfer to a subgroup _s j_ should be equal to the minimum value. The result will be a volume, where each voxel is labeled with the index of the closest atom. Charge computation in each region. The charge density in a point x is calculated by taking the square of the Natural Transition Orbital value in that point ρ( x ) = _||_ Φ( x ) _||_ <sup>2</sup> (2) Given the set of _N_ regions _V_ = _{_ V1 _,_ V2 _,...,_ V _N_ _}_ partitioning our volume D _⊂_ R <sup>3</sup>, and the Natural Transition Orbitals Φ _h_ and Φ _p_ sampled over D we want to calculate the sum of all charge densities for each region, the charge for each atom, for both Φ _h_ and Φ _p_ . We obtain this by using Eqn. 2 for each point in V _i_ and integrating over all points in that region. This integral can be approximated by adding the charge over all voxels v _k ∈_ V <sup>G</sup> _i_ <sup>where V</sup> _i_ <sup>G</sup> <sup>_⊂_</sup> <sup>G is the</sup> <sup>G</sup> _i_ <sup>where V</sup> _i_ <sup>G</sup> by adding the charge over all voxels v _k ∈_ V <sup>G</sup> _i_ <sup>where V</sup> _i_ <sup>G</sup> <sup>_⊂_</sup> <sup>G is the</sup> discrete representation of V _i_ in G. Let the volume of a voxel in G be vol, then the charge _q_ <sup>_h_</sup> _i_ <sup>can be computed as:</sup> <sup>_h_</sup> _i_ <sup>can be computed as:</sup> ### ρ( x ) d x ≃ vol ∑ v _k∈_ V <sup>G</sup> _i_ _q_ <sup>_h_</sup> _i_ <sup>=</sup> V _i_ _||_ Φ _h_ ( v _k_ ) _||_ <sup>2</sup> (3) Similarly, the particle charge _qi_ <sup>_p_</sup> <sup>for all the atoms is also computed.</sup> The charge for each subgroup is the accumulated value for all atoms within the subgroup _Q_ <sup>_h_</sup> _j_ ### p j = ∑ ### h j = ∑ _q_ <sup>_h_</sup> _i_ <sup>_h_</sup> _i_ <sup>_,_</sup> _Q_ <sup>_p_</sup> _j_ _ai∈s_ _j_ _ai∈s_ _j_ _qi_ <sup>_p_</sup> (4) 6 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ Considering equations 7 to 10, we can remove all the diagonal elements from _Q_ <sup>˜</sup> _M×M_ and the non-diagonal elements which are 0 to obtain a smaller matrix _Tn×m_ with _n_ rows corresponding to the donors and _m_ columns corresponding to the acceptors. The matrix _T_ represents weights of the edges in a complete bipartite graph with directed edges from the set _D_ to _A_ . See Fig. 4 for an example. _ti j_ denotes the charge transfer between donor d _i_ and acceptor a _j_ . The charge transfer for all donor-acceptor pairs is represented as  _t_ _Tn×m_ =  _t_ 11 _..._ _t_ 1 _m_ ... ... ... _tn_ 1 _..._ _tnm_   Figure 4: _The general charge transfer problem for four subgroups_ _(left) and a simpler formulation (right)._ the particle charge _Q_ <sup>_p_</sup> _j_ <sup>of the subgroup. This problem can be written</sup> in matrix form as follows. The index maps _ID_ and _IA_ provide the element corresponding to _ti j ∈_ _Tn×m_ within the matrix _Q_ <sup>˜</sup> _N×N_ as _ti j_ = _Q_ <sup>˜</sup> _ID_ ( _i_ ) _IA_ ( _j_ ). We use the notation _Q_ di to mean _QID_ ( _i_ ) and _Q_ aj to mean _QIA_ ( _j_ ) The total charge transfer from a donor d _i_ to acceptors should be equal to the charge deficit at d _i_ . So, for all d _i ∈_ _D_, _m_ ### ∑ _j_ =1 <sup>_h_</sup> di <sup>_−_</sup> <sup>_Q_</sup> d <sup>_p_</sup> i _ti j_ = _Q_ <sup>_h_</sup> di d <sup>_p_</sup> i <sup>=</sup> <sup>_−Q_</sup> d <sup>_d_</sup> d <sup>_d_</sup> i (11) The above set of equations gives us _n_ _row-sum_ constraints. Similarly, total charge transfer to an acceptor aj from all donors should be equal to the charge excess at aj . So, for all aj _∈A_ :  Determine _Q_ ˜ _M×M_ =  _Q_ ˜ 11 _..._ _Q_ ˜ 1 _M_ ... ... ... _Q_ ˜ _M_ 1 _..._ _Q_ ˜ _MM_   (5) _n_ ### ∑ _i_ =1 _ti j_ = _Q_ a <sup>_p_</sup> j a <sup>_p_</sup> j <sup>_−_</sup> <sup>_Q_</sup> a <sup>_h_</sup> j _M_ ### ∑ _i_ =1 _Q_ ˜ _ij_ = _Q_ <sup>_p_</sup> _j_ (6) Such that _M_ ### ∑ _j_ =1 _Q_ ˜ _ij_ = _Qi_ <sup>_h_</sup> and _Q_ ˜ _ij_ = _Qi_ <sup>_h_</sup> a <sup>_h_</sup> j <sup>=</sup> <sup>_Q_</sup> a <sup>_d_</sup> a <sup>_d_</sup> j (12) The matrix _Q_ <sup>˜</sup> _M×M_ can be interpreted as a weighted complete directed graph. The subgroups _S_ correspond to the vertex set and the matrix elements correspond to the edge weights. See Fig. 4 (left) for an example with four subgroups. <sup>_h_</sup> _i_ <sup>_> Q_</sup> _i_ <sup>_p_</sup> <sup>.</sup> This provides the additional _m_ _column-sum_ constraints. The constraints 11 and 12 follow directly from 6 respectively. The goal is to determine matrix _T_ under these two constraints 11 and 12. Additionally, we have the _non-negativity_ constraints, _ti j_ _≥_ 0 (13) In total, we have _n_ + _m_ equations, of which _n_ + _m −_ 1 are linearly independent. However, we have _n × m_ unknowns. A unique solution exists only in the scenario when there is only one donor or in the case when there is only one acceptor. Proportional charge division approach. One way to arrive at a solution for the charge transfer problem would be to assume _ti j_ to be directly _proportional_ to the charge differences at the donor di and the acceptor aj . That is, _ti j_ _∝_ _Q_ <sup>_d_</sup> aj _× Q_ <sup>_d_</sup> di <sup>. With this assumption</sup> and the constraints 11 and 12, we arrive at a unique solution for _ti j_ which we refer to as _proportional_ solution: A simpler problem. A sub-group _si_ is called a _donor_ if _Q_ <sup>_h_</sup> _i_ A simpler problem. A sub-group _si_ is called a _donor_ if _Q_ <sup>_h_</sup> _i_ <sup>_> Q_</sup> _i_ <sup>_p_</sup> <sup>.</sup> Otherwise, it is called an _acceptor_ . We define the charge difference for _si_ as _Q_ <sup>_d_</sup> _i_ <sup>=</sup> <sup>_Q_</sup> _i_ <sup>_p_</sup> <sup>_−_</sup> <sup>_Q_</sup> _i_ <sup>_h_</sup> <sup>.</sup> <sup>Clearly</sup> <sup>the</sup> <sup>set</sup> <sup>S</sup> <sup>can</sup> <sup>be</sup> <sup>partitioned</sup> <sup>into</sup> two subsets, one consisting of donors _D_ = _{_ d 1 _,_ d 2 _,...,_ d _n}_ and the other consisting of acceptors _A_ = _{_ a 1 _,_ a 2 _,...,_ a _m}_ . Here, _n_ = _|D|_ is the number of donors and _m_ = _|A|_ is the number of acceptors such that _n_ + _m_ = _M_ . Let _ID_ : _{_ 1 _,...,_ _n} →{_ 1 _,...,_ _M}_ be the index map that maps a donor d _i,_ _i ∈{_ 1 _,...,_ _n}_ to the corresponding subgroup _s j, j ∈{_ 1 _,...,_ _M}_ . Similarly, let _IA_ : _{_ 1 _,...,_ _m} →{_ 1 _,...,_ _M}_ be the index map mapping the acceptors to the corresponding subgroup _s_ _j_ in the original list of subgroups _S_ . Now, we make the assumption that there is no charge transfer from an acceptor to any other subgroup, and no charge transfer from a donor to other donors. This implies for all _i̸_ = _j ∈{_ 1 _,...,_ _M}_ _Q_ ˜ _ij_ = 0 if _si ∈A,_ (7) and _Q_ <sup>˜</sup> _ij_ = 0 if _si,_ _s_ _j_ _∈D._ (8) This assumption, along with the two constraints in 6, lead to the following assignment of values to the diagonal of the matrix _Q_ <sup>˜</sup> : <sup>_d_</sup> _i_ <sup>=</sup> <sup>_Q_</sup> _i_ <sup>_p_</sup> _i_ <sup>_p_</sup> <sup>_−_</sup> <sup>_Q_</sup> _i_ <sup>_h_</sup> _ti j_ = _−Q_ <sup>_d_</sup> a <sup>_d_</sup> aj <sup>_×_</sup> <sup>_Q_</sup> d <sup>_d_</sup> d <sup>_d_</sup> i <sup>_/Q_</sup> <sup>˜</sup> <sup>_,_</sup> (14) where _Q_ <sup>˜</sup> is the total charge transfer: _m_ ### ∑ _j_ =1 _Q_ <sup>_d_</sup> aj (15) _Q_ ˜ = _n_ _m_ ### ∑ ∑ _i_ =1 _j_ =1 _ti j_ = _n_ ### ∑ _i_ =1 _−Q_ <sup>_d_</sup> di <sup>=</sup> _−Q_ <sup>_d_</sup> d _Q_ ˜ _ii_ = _Q_ <sup>_h_</sup> _i_ <sup>if</sup> <sup>_s_</sup> _i_ <sup>_∈A,_</sup> (9) and _Q_ <sup>˜</sup> _ii_ = _Qi_ <sup>_p_</sup> <sup>if</sup> <sup>_si ∈D._</sup> (10) It is easy to observe that such a solution satisfies the _non-_ _negativity_ constraint (13). Further, we show that it also satisfies the _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 7 _row sum_ constraint (11) and _column sum_ constraint (12): <u>di</u> <sup>_Qd_</sup> _Q_ ˜ _Q_ <sup>_d_</sup> a <sup>_d_</sup> aj <sup>=</sup> <sup>_−Q_</sup> <u>d</u> <sup>_d_</sup> <u>i</u> _Q_ ˜ _m_ ### ∑ _j_ =1 _n_ ### ∑ _i_ =1 _−Q_ <sup>_d_</sup> aj _×_ _Q_ <sup>_d_</sup> <u>d</u> <u>j</u> _×_ _Q_ <sup>_d_</sup> <u>di</u> <u>di</u> = <sup>_−Qd_</sup> _Q_ ˜ _Q_ ˜ _m_ ### ∑ _j_ =1 <sup>_Q_</sup> <u>d</u> <sup>_d_</sup> <u>i</u> _·_ _Q_ <sup>˜</sup> = _−Q_ <sup>_d_</sup> di _Q_ ˜ _ti j_ = _ti j_ = _m_ ### ∑ _j_ =1 _n_ ### ∑ _i_ =1 <u>j</u> _×_ _Q_ <sup>_d_</sup> <u>di</u> = <sup>_Qd_</sup> <sup>aj</sup> _Q_ ˜ _Q_ ˜ _Q_ ˜ _−Q_ <sup>_d_</sup> aj _×_ _Q_ <sup>_d_</sup> <u>di</u> <sup>_d_</sup> di <sup>=</sup> <sup>_Qd_</sup> <sup>aj</sup> _Q_ ˜ <sup>_d_</sup> <sup>aj</sup> aj _Q_ ˜ <sup>_·_</sup> <sup>_Q_</sup> <sup>˜ =</sup> <sup>_Qd_</sup> aj _n_ ### ∑ _i_ =1 _−Q_ <sup>_d_</sup> Quadratic optimization approach. We now discuss a general approach that provides the flexibility of determining an optimal solution under different assumptions and criteria. The matrix _Tn×m_ can be represented as a column vector t having _n × m_ components by sequencing the terms _tij_ in row major order. Constraints in 11 and 12 can be combined as an _equality constraint_ _B_ t = b _,_ (16) where _B_ is an ( _n_ + _m −_ 1) _×_ ( _n × m_ ) matrix containing the binary coefficients of _n_ + _m_ _−_ 1 linearly independent constraints as the rows. The _n_ _row_ _constraints_ are specified first followed by the _m −_ 1 _column_ _constraints_ . The vector b = [ _−Q_ <sup>_d_</sup> d1 <sup>_,...,_</sup> <sup>_−Q_</sup> d <sup>_d_</sup> n <sup>_,_</sup> <sup>_Qd_</sup> <sup>a</sup> 1 <sup>_,...,_</sup> <sup>_Qd_</sup> <sup>a</sup> m _−_ 1 <sup>]</sup> <sup>_T_</sup> <sup>corresponds</sup> <sup>to</sup> <sup>the</sup> <sup>value</sup> <sup>for</sup> [ _−Q_ <sup>_d_</sup> d1 <sup>_,...,_</sup> <sup>_−Q_</sup> d <sup>_d_</sup> n <sup>_,_</sup> <sup>_Qd_</sup> <sup>a</sup> 1 <sup>_,...,_</sup> <sup>_Qd_</sup> <sup>a</sup> m _−_ 1 <sup>]</sup> <sup>_T_</sup> <sup>corresponds</sup> <sup>to</sup> <sup>the</sup> <sup>value</sup> <sup>for</sup> these constraints. Secondly, we have the _non-negativity_ _constraint_ as specified in 13 that is converted into the _inequality constraint_ : t _≥_ 0 (17) Let us consider the simple case of two donors and two acceptors to understand this conversion to vectors. The matrix _T_ is: <sup>_d_</sup> d1 <sup>_,...,_</sup> <sup>_−Q_</sup> d <sup>_d_</sup> _T_ 2 _×_ 2 = The four constraints are: - _t_ 11 _t_ 12� _t_ 21 _t_ 22 <sup>_d_</sup> d1 _t_ 21 + _t_ 22 = _−Q_ <sup>_d_</sup> d2 _t_ 11 + _t_ 12 = _−Q_ <sup>_d_</sup> d1 d2 _t_ 11 + _t_ 21 = _Q_ <sup>_d_</sup> a1 <sup>_d_</sup> a1 _t_ 12 + _t_ 22 = _Q_ <sup>_d_</sup> a2 <sup>_d_</sup> a2 We can ignore one of the above constraints resulting in a set of linearly independent constraints. Let us assume we ignore the last equation. Then vectors t = [ _t_ 11 _,t_ 12 _,t_ 21 _,t_ 22] <sup>_T_</sup> and b = [ _−Q_ <sup>_d_</sup> d1 <sup>_,_</sup> <sup>_−Qd_</sup> d2 <sup>_,_</sup> <sup>_Qd_</sup> <sup>a</sup> 1 <sup>]</sup> <sup>_T_</sup> <sup>while the constraint matrix</sup> <sup>_B_</sup> <sup>is:</sup> <sup>_d_</sup> d2 <sup>_,_</sup> <sup>_Qd_</sup> <sup>a</sup> 1 <sup>]</sup> <sup>_T_</sup> <sup>while the constraint matrix</sup> <sup>_B_</sup> <sup>is:</sup> <sup>_d_</sup> d1 <sup>_,_</sup> <sup>_−Qd_</sup> d2  _B_ =  1 1 0 0 0 0 1 1 1 0 1 0   It is reasonable to assume that there is a uniform transfer of charge from any donor to any acceptor without any preference. Under this assumption the preferred transfer vector would be t _p_ = [ _Q_ <sup>˜</sup> _/_ ( _n_ _×_ _m_ ) _,...,_ _Q_ <sup>˜</sup> _/_ ( _n_ _×_ _m_ )] where _Q_ <sup>˜</sup> is as defined in 15. However, t _p_ may not satisfy the constraints in Equation 16. In this case, we can set up an optimization problem to find the optimal t _o_ which is closest to t _p_ but satisfies the constraints 16 and 17. More formally, we can write this as the following optimization problem: Minimize _||_ t _−_ t _p||_ <sup>2</sup> subject to t _≥_ 0 and _B_ t = b (18) _quadratic solution_ . Note that t _p_ does not have to be a uniform vector, it can have different weights and allows the possibility of computing optimal t _o_ under different scenarios. 5.3. Visualization We use various spatial and information visualization methods to facilitate detailed visual analysis of electronic transitions. We describe these methods in brief in the following paragraphs. The implementation was primarily done in Python using VTK [SLM04]. We also used Inviwo [JSS <sup>_∗_</sup> 19] and Paraview [AGL05] for prototyping and generating some higher quality images. Spatial visualization (Task V1, V2). We employ standard scalar field visualization techniques like volume rendering, slicing and isosurface extraction for visualization of the orbitals Φ _h_, Φ _p_ and the derived density fields ρ _h_ = _||_ Φ _h||_ <sup>2</sup> and ρ _p_ = _||_ Φ _p||_ <sup>2</sup> . For direct volume rendering of scalar field Φ _h_ and Φ _p_, we employ a diverging blue to red color map with a V-shaped transfer function for opacity so that the voxels with extreme positive and negative values are emphasized, see Fig. 1 (c,e). Two isosurfaces represent the orbitals Φ _h_ and Φ _p_, for a given value _v_, one for value _v_ and the other for _−v_ . They are displayed together colored orange and blue respectively, see the first two columns of Fig. 5. For visualization of the fields ρ _h_ and ρ _p_, we use a linear color map and opacity transfer functions. The molecules are shown embedded in the same volume represented either as ball-and-stick or the space-fill model with the radii scaled proportionally to their van der Waals radii. We use color mapping on the balls representing the atoms to show various scalar quantities like hole charge _q_ <sup>_h_</sup>, particle charge _q_ <sup>_p_</sup> and charge difference _q_ <sup>_d_</sup> defined as _q_ <sup>_p_</sup> _−_ _q_ <sup>_h_</sup> . In case of charge difference, we use a red-to-blue diverging color map highlighting the donor atoms in shades of red and acceptor atoms in shades of blue, see the _q_ <sup>_d_</sup> column of Fig. 5. For _q_ <sup>_h_</sup> and _q_ <sup>_p_</sup>, a linear white-to-blue color map is used, refer to the _q_ <sup>_h_</sup> and _q_ <sup>_p_</sup> columns in Fig. 5. Additionally, we support the coloring of atoms based on atomic type using the CoreyPauling-Koltun (CPK) color model. Lastly, color mapping to highlight the different subgroups is also supported, see Fig. 1(a, b). Within this 3D spatial visualization, we also support the visualization of the Voronoi segments corresponding to the atoms or the combined Voronoi segments corresponding to the subgroups, see Fig. 3. We do not use direct volume rendering for such a visualization as it suffers from occlusion and discretization artifacts. Instead, we extract the bounding surface of each segment separately and smoothen the surface using a standard Gaussian filter. Further, the segment for atom _ai_ is clipped by a ball of radius 2 _ri_ . 2D visualization (Task V3). To further support visual analysis, especially at the subgroup level, we utilize standard information visualization methods. The charges _Q_ <sup>_h_</sup> and _Q_ <sup>_p_</sup> on various subgroups are plotted as bar charts. To visualize the charge transfer we use a _tran-_ _sition diagram_ . It is a variant of parallel set visualization [KBH06] and Sankey diagram [Sch08] which we have modified for this particular application, last column of the Fig. 5. At the bottom of the transition diagram, a bar of width proportional to the hole charge _Q_ <sup>_h_</sup> is displayed for each subgroup in the molecule. At the top, the width of the bars is proportional to the particle charge _Q_ <sup>_p_</sup> . In the We recognize this as a quadratic optimization problem that can be solved to obtain an optimal solution t _o_ which we refer to as 8 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ Φ _h_ : _−v_ _v_ Φ _p_ : _−v_ _v_ _q_ <sup>_h_</sup> : _q_ <sup>_p_</sup> : _q_ <sup>_d_</sup> : Transition Figure 5: _Two_ _different_ _state_ _transitions_ _in_ _the_ _Thiophene-Quinoxaline_ _molecule._ _Top_ _row:_ charge transfer transition _._ _Bottom_ _row:_ local excitation _. Cols. 1 and 2 relate to visualization task V1, cols. 3-5 to the task V2, and the col. 6 to the task V3._ middle, connectors are drawn such that their width is proportional to the charge transfer _Q_ <sup>˜</sup> _ij_ . The colors of the bars are based on the subgroups and can be chosen by the user. Brushing and linking is supported between the 3D spatial view and the 2D visualizations. 6. Results The data for the case studies is calculated using the Gaussian software package [FTS <sup>_∗_</sup> 16]. The cube files for individual molecular orbitals were generated using the included gencube program. The particle and hole NTOs were generated based on the set of coefficients describing the contribution that each particle-hole pair makes to the excited state. 6.1. Case study 1: Thiophene-Quinoxaline As a first simple example, we study the thiophene-quinoxaline molecule which is composed of two subgroups as shown in Figure 1(b). Polythiophene polymer has been widely used in the field of organic electronics and in particular in organic field-effect transistors and organic solar cells because of its high conductivity. Thiophene and quinoxaline have very different properties since they are an acceptor and a donor of electrons, respectively. These properties provoke a charge transfer from the thiophene to the quinoxaline moieties making this a perfect model system to test our analysis and visualization pipeline. As can be seen in Fig. 5, the 4th and 9th excited states have very different properties. For excited state 4, the hole is localized on the thiophene moiety and the particle on the quinoxaline moiety. However, for the excited state 9, the hole is more delocalized over the whole molecule. This difference can be observed qualitatively by looking at the charge distribution for the hole and the particle as well as the charge difference between them. All this information is included in the transition diagram that provides a quantitative measurement of the nature of the transition. Here, a charge transfer of 87.1% between the thiophene and quinoxaline for state 4, and a local excitation of the quinoxaline (83.5%) for state 9 is observed. 6.2. Case study 2: [6]cycloparaphenylene As the second case study, we investigated [6]cycloparaphenylene, a molecule composed of 6 benzene rings connected by covalent bonds in the para positions to form a ring Fig. 6 [XJ12]. Note that for the other three case studies in this paper, the number of subgroups is at most three which implies the charge transfer problem has a unique solution. Here, the molecule is fragmented into six groups, the six phenyl rings, and thus provides a good study of a system having more than one donor and acceptor. In this case, the charge transfer problem is not uniquely determined, and the transition diagrams computed using proportional and quadratic approaches may differ. We are here focusing on the first three excited states (Fig. 7). While for the first state, both the hole and the particle are delocalized over the whole molecule; the second and third excited states present a clear charge transfer character. When looking at the NTO for those two states, they appear to be very similar. However, looking at the charge difference density and the transition diagrams, we can observe subtle differences such as the difference of localization of the particle NTO mainly shared on two cycles for the second excited state and three cycles for the third excited state. The difference observed between the proportional and quadratic transition diagrams are marginal for our case but might be important in other systems bearing a large number of subgroups. (a) Atoms (b) Subgroups (c) Segmentation Figure 6: _[6]cycloparaphenylene._ _(a)_ _van_ _der_ _Waals_ _representa-_ _tion, (b) the six subgroups and (c) the Voronoi segmentation._ _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 9 Φ _h_ Φ _p_ _q_ <sup>_d_</sup> Transition diagram Transition diagram _−v_ _v_ _−v_ _v_ Donor Acceptor (quadratic) (proportional) Figure 7: _[6]cycloparaphenylene. Cols. 1, 2 relate to task V1. They show selected isosurfaces for three different NTOs for the hole (col. 1)_ _and particle (col. 2). Col. 3 shows results of task V2 displaying how the charge changes during the electronic excitation. Cols. 4 and 5 display_ _results of task V3. They show results of the quadratic (col. 4) and proportional (col. 5) method for computing the transition diagram._ 6.3. Case study 3: Metal complexes Metal complexes present very interesting electronic structure properties and are used in a range of applications such as catalysis, organic solar cells, and organic light-emitting devices. They are composed of one or several metallic atoms and one or several molecules (called ligands) which organize around the metal atom. Quantum chemistry has been widely used to study these systems and to identify if specific electronic excitations are localized on a specific part of a molecule or if there is a transfer from the metal to a specific ligand. Identifying the nature of these excitations is a prerequisite for designing new molecules with specific properties. We looked at the series of metal complexes made of one metal atom from group 11 (Copper Cu, Silver Ag and Gold Au) and two phenanthroline (Phe) molecules arranged around it (Fig. 8). Here, we are focusing on the first excited states for the three metal complexes. As expected for complexes made with a metal atom from the same group, the particle charge distribution _Q_ <sup>_p_</sup> for all three molecules is similar. However, the hole charge distribution _Q_ <sup>_h_</sup> is different with Cu-Phe having the most concentrated charge on Cu (71 _._ 6%). In Ag-Phe, _Q_ <sup>_h_</sup> Ag <sup>= 52</sup> <sup>_._</sup> <sup>3%</sup> <sup>and</sup> <sup>in</sup> <sup>Au-Phe,</sup> <sup>_Qh_</sup> Au <sup>= 50</sup> <sup>_._</sup> <sup>2%.</sup> <sup>In</sup> <sup>Au-Phe,</sup> <sup>the</sup> <sup>hole</sup> charge on the two Phe ligands is asymmetric (29 _._ 8% and 20 _._ 0%) as compared to the hole charge on Phe in Ag-Phe (23 _._ 0% and 24 _._ 7%) and Cu-Phe (14 _._ 6% and 13 _._ 8%). The transition diagrams allow to identify the differences between the three complexes with a larger charge transfer from the metal to the Phe for Cu-Phe in comparison with Ag-Phe and Au-Phe. 6.4. Case study 4: Copper complexes with various ligands We investigate a series of copper complexes bearing two ligands. The first ligand phenanthroline (Phe) is always the same in all complexes, while the second ligand varies: 2,9-diphenylphenanthroline (PhePhe), 2,9-dimethyl-phenanthroline (Pheme), 2,9-dimethoxy-phenanthroline (Pheome), a N-heterocyclic Carbene (IPR), and a diphosphine ligand (XANT). We are focusing here on the first excited states. The transition diagrams presented in Fig. 9 enable identification of the differences between the copper complexes as for Cu-Phe and Cu-Phe-PhePhe, the charge transfer occurs from the copper atom to both ligands. However, for the four other complexes, the charge transfer to Phe is coming from both the copper atom and the other ligands. Moreover, we observe that Cu-Phe-XANT presents a unique behavior since more of the transfer comes from the diphosphine ligand than from the Copper atom. This illustrates how this approach can be used on a series of molecules to identify quickly the typical differences between them. 10 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ Φ _h_ : _−v_ _v_ Φ _p_ : _−v_ _v_ Segmentation _q_ <sup>_d_</sup> : Donor Acceptor Transition diagram Figure 8: _Case study 3: Metal complexes. Cols. 1 and 2 relate to visualization task V1. They show the isosurfaces for the different NTOs for_ _the_ _hole_ _(col._ _1)_ _and_ _particle_ _(col._ _2)._ _Col._ _3_ _shows_ _the_ _segmentation_ _of_ _the_ _different_ _subgroups._ _Col._ _4_ _shows_ _the_ _results_ _of_ _V2,_ _displaying_ _how_ _the_ _charge_ _changes_ _during_ _the_ _electronic_ _excitation_ _at_ _atomic_ _level_ _of_ _detail._ _Col._ _5_ _displays_ _the_ _results_ _of_ _V3,_ _showing_ _the_ _transition_ _diagram for the different metal complexes._ 7. Discussion Here we discuss some of the visualization design decisions and report the domain expert feedback. Discussion on the robustness and run-time performance of the method follows afterwards. Visualization design. Our framework has been developed with computational chemists in the loop with constant feedback. During these discussions and along with the first experiments, the visualization and analysis tasks listed in Sec. 4 were developed. The process started with designs using bar charts which did not show the charge transfer. On the way to the final visualization design, we experimented with, among other visual representations, chord diagrams which were difficult to interpret for the chemists. Finally, we settled on Sankey diagram which is a simple yet effective visualization intuitively fulfilling all our visualization requirements. The transition diagram displays the charge distributions of hole and particle in the bottom and top bars and simplifies the comparison of the distributions. Showing the hole charge distribution at the bottom and particle at the top was natural for chemists because of their familiarity with energy diagrams, as against the standard practice of showing the flow in a Sankey diagram from left to right. Further, the transition diagram clearly distinguishes localized and non-localized charge transfer, a key requirement for chemists. In retrospect, we can summarize the design guidelines as providing a simple and direct visualization restricted to the most relevant aspects. User feedback. In summary, the user feedback on the final result was very positive. There was an agreement that this visualization fills a gap in the analysis tools typically used for this task. The visualization gives easy access to quantitative information about the electronic transition that can be hardly derived from the sideby-side comparison of isosurfaces, a method that is typically used in such scenarios. The four use cases discussed above represent real-world examples, both in their type and complexity. While appreciating the presented methods, the computational chemists also stimulated discussion of further developments with respect to an increasing number and complexity of the configurations investigated, which we briefly discuss next in Section 8. Robustness. As evident from the presented case studies and user feedback, the transition diagrams present the complete information about the subgroup charges and charge transfer very well for a small number of subgroups. They also capture the similarities and differences in transitions for a given set of molecules, even when the order of subgroups is changed as long as the order is changed consistently for all the molecules. However, further investigation is needed to study the scalability of these diagrams with an increasing number of subgroups. Novel visualization techniques may be needed to address these challenges. One of the advantages of using the weighted Voronoi diagrambased segmentation method is that it is dependent only on the _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 11 atomic positions and radii, and not on the density field or its quality. However, the grid resolution does affect the segmentation quality in a discrete setting. The effect of the grid resolution on the quality of segmentation and computed charges need further investigation, but it is easy to see that higher resolution grids would be required for molecules containing a larger number of atoms. We also compared the weighted Voronoi-based segmentation with a gradient-based segmentation and found the computed charges at the subgroup level to be very similar, see the appendix (Table 1) for details. Run time analysis. We performed some experiments to study the run time performance of our implementation and found that the segmentation was the most time-consuming stage of the pipeline. Although efficient implementation was not the focus of this work, we exploited parallelism during the segmentation and charge computation stages of the pipeline. The run times are dependant on the number of atoms and the grid size. For the molecules we considered in our case studies, we observed running times in the range of 50 ms (23 atoms) to 150 ms (97 atoms) on a workstation with an Intel i9 processor having 10 cores. All the grids in our case studies were of similar sizes with around half a million voxels. 8. Conclusions and future directions In this paper, we have presented a pipeline for visual analysis of electronic transitions by looking at the Natural Transition Orbitals for the hole and particle. Our quantitative analysis adds a new perspective to a common problem in quantum chemistry with many applications. The proposed visual representation provides valuable information when comparing different designs of molecules concerning their physical and chemical properties. The proposed pipeline represents a generic approach for applications where segmentation and transitions between those are of interest. However, the individual steps are using application-specific design decisions that have been driven by the goal to provide an efficient, simple, and chemically plausible solution to the problem. This is at first the choice of using a weighted Voronoi diagram for the segmentation. Second, the set of constraints in the optimization model are based on chemically plausible conditions. When applying the proposed pipeline to other settings, e.g., when moving from the investigation of molecules to crystal structures, the decisions may need to be reconsidered and adapted to the new application. We will investigate alternatives for specific design decisions in the future. This includes different geometric, and topological approaches for volume segmentation and a larger variety of geometric constraints in the optimization. We also plan to extend this work to facilitate the automated classification of electronic transitions of ensembles of molecules. Further, integration of other physical and chemical properties of the transitions like transition energy and oscillatory strength would also be valuable to the chemists. Appendix A: Comparison of Voronoi segmentation with gradient-based segmentation For segmenting charge density field spatially among the atoms of the molecule, gradient-based partitioning was suggested by Bader [Bad90]. In practice, this idea has been implemented in software like TopoMS [BGL <sup>_∗_</sup> 18] and an implementation by Henkelman _et al._ [HAJ06]. However, both these software failed to generate a segmentation for our input charge density fields _i.e._ NTOs. We believe this is because of the fact that these software are tailored for analysis of _full_ charge density fields. The NTO charge density however is different, for example, it may not have any charge density maxima corresponding to some atoms, which is a crucial assumption made by both these software, resulting in failure to generate a segmentation. In order to compare the Voronoi segmentation with some gradient-based approach, we then decided to use the Morse-Smale complex as implemented in Topology Toolkit (TTK) [TFL <sup>_∗_</sup> 17]. It uses discrete Morse theory for computation of combinatorial gradient-based segmentation. To compute the segmentation, as a first step the maxima along with their ascending manifolds are computed using TTK. The ascending manifold of a maximum is the set of all points in the domain which reach this maximum after repeated integration in the gradient direction. Then in the second step, we used an approach suggested by TopoMS to assign a maximum to the closest atom, to compute the segmentation and charge per atom. The atomic charge can then be added to compute the subgroup charges. Table 1 lists this detailed comparison for all the data sets used in our case studies. We can observe that Voronoi and gradient-based techniques provide very similar division of charge at the level of subgroups. The instances where the charge computed by Voronoi and Morse complex based approaches differ by more than 2% are highlighted in red. We observed only 6 such cases out of 102 computations of charges at the level of subgroup. Five of these six cases are observed in the case of metal complexes where one of the subgroups consist of just atom which can result in more noticeable differences in atomic boundaries. Acknowledgements. This work is supported by the SeRC (Swedish eScience Research Center), the Swedish Research Council (VR) grant 201905487, and an Indo-Swedish joint network project: DST/INT/SWD/VR/P02/2019 and VR grant 2018-07085. VN is partially supported by a Swarnajayanti Fellowship from the Department of Science and Technology, India (DST/SJF/ETA-02/2015-16) and a Mindtree Chair research grant. The computations were enabled by resources provided by the Swedish National Infrastructure for Computing (SNIC) at NSC partially funded by the VR grant agreement no. 2018-05973. 12 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ Φ _h_ : _−v_ _v_ Φ _p_ : _−v_ _v_ Segmentation _q_ <sup>_d_</sup> : Donor Acceptor Transition diagram Figure 9: _Case study 4: Copper complexes with various ligands. Columns 1 and 2 show selected isosurfaces for the hole and particle NTOs_ _respectively._ _Column_ _3_ _shows_ _the_ _volume_ _segmentation_ _for_ _the_ _different_ _subgroups._ _Column_ _4_ _shows_ _how_ _the_ _charge_ _changes_ _during_ _the_ _electronic excitation. The last column shows the transition diagram for the different ligands. Notice how the transition diagrams in top two_ _rows (_ Phe _and_ PhePhe _) are similar and how they differ from the second category, the next four rows._ _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 13 _Q_ <sup>_h_</sup> _Q_ <sup>_p_</sup> Molecule State Subgroup _<u>Vor</u>_ <sup>_p_</sup> <sup>_−_</sup> <sup>_Qp_</sup> _<u>MC</u>_ <sup>_p_</sup> _|Q_ <sup>_p_</sup> _<u>MC</u>_ <sup>_p_</sup> <sup>_|_</sup> _Q_ <sup>_h_</sup> _<u>Vor</u>_ <sup>_h_</sup> _Q_ <sup>_h_</sup> <sup>_h_</sup> _<u>MC</u>_ _|Q_ <sup>_h_</sup> _<u>Vor</u>_ <sup>_h_</sup> <sup>_−_</sup> <sup>_Qh_</sup> _<u>MC</u>_ <sup>_h_</sup> <sup>_|_</sup> _Q_ <sup>_p_</sup> _<u>Vor</u>_ <sup>_p_</sup> _Q_ <sup>_p_</sup> Case study 1 Thiophene-Quinoxaline Case study 2 [6]cycloparaphenylene THIO 54.8% 54.8% 0.0% 6.8% 5.8% 1.0% State 1 QUIN 45.2% 45.2% 0.0% 93.2% 94.2% 1.0% THIO 94.2% 94.4% 0.2% 7.1% 6.0% 1.1% State 4 QUIN 5.8% 5.6% 0.2% 92.9% 94.0% 1.1% THIO 16.5% 16.4% 0.1% 2.1% 1.8% 0.3% State 9 QUIN 83.5% 83.6% 0.1% 97.9% 98.2% 0.3% State 1 State 2 State 3 PHE1 13.2% 13.2% 0.0% 20.3% 20.7% 0.4% PHE2 15.6% 15.6% 0.0% 17.6% 17.6% 0.0% PHE3 19.2% 19.2% 0.0% 14.1% 13.8% 0.3% PHE4 14.0% 14.0% 0.0% 19.2% 19.3% 0.1% PHE5 20.4% 20.4% 0.0% 13.2% 13.0% 0.2% PHE6 17.6% 17.6% 0.0% 15.6% 15.6% 0.0% PHE1 0.7% 0.5% 0.2% 37.9% 39.7% 1.8% PHE2 0.7% 0.5% 0.2% 38.0% 39.4% 1.4% PHE3 11.4% 11.4% 0.0% 10.5% 8.9% 1.6% PHE4 11.4% 11.4% 0.0% 10.5% 9.2% 1.3% PHE5 37.9% 38.0% 0.1% 1.5% 1.4% 0.1% PHE6 37.9% 38.0% 0.1% 1.5% 1.4% 0.1% PHE1 3.3% 3.2% 0.1% 24.1% 23.6% 0.5% PHE2 24.8% 24.9% 0.1% 3.1% 2.6% 0.5% PHE3 43.3% 43.4% 0.1% 1.8% 1.8% 0.0% PHE4 0.5% 0.4% 0.1% 43.8% 46.1% 2.3% PHE5 24.8% 24.9% 0.1% 3.1% 2.6% 0.5% PHE6 3.3% 3.2% 0.1% 24.1% 23.3% 0.8% Cu 71.6% 70.3% 1.3% 3.5% 1.8% 1.7% PHE1 13.8% 14.3% 0.5% 42.7% 43.4% 0.7% PHE2 14.6% 15.4% 0.8% 53.8% 54.8% 1.0% Ag 52.3% 49.8% 2.5% 2.7% 0.7% 2.0% PHE1 23.0% 24.3% 1.3% 46.8% 47.8% 1.0% PHE2 24.7% 25.9% 1.2% 50.5% 51.5% 1.0% Au 50.2% 49.1% 1.1% 2.8% 1.3% 1.5% PHE1 29.8% 30.4% 0.6% 46.9% 47.6% 0.7% PHE2 20.0% 20.6% 0.6% 50.3% 51.1% 0.8% Cu 71.6% 70.3% 1.3% 3.5% 1.8% 1.7% PHE1 13.8% 14.3% 0.5% 42.7% 43.4% 0.7% PHE2 14.6% 15.4% 0.8% 53.8% 54.8% 1.0% Cu 67.9% 66.5% 1.4% 3.2% 1.7% 1.5% PHE 12.9% 13.7% 0.8% 59.2% 60.5% 1.3% PHEPHE 19.2% 19.8% 0.6% 37.6% 37.8% 0.2% Cu 70.9% 69.9% 1.0% 3.6% 2.0% 1.6% PHE 16.9% 18.0% 1.1% 95.7% 97.3% 1.6% PHEME 12.2% 12.1% 0.1% 0.7% 0.6% 0.1% Cu 66.5% 65.8% 0.7% 3.2% 1.9% 1.3% PHE 14.7% 15.5% 0.8% 95.8% 97.4% 1.6% PHEOME 18.8% 18.7% 0.1% 1.1% 0.7% 0.4% Cu 71.4% 70.8% 0.6% 4.1% 1.5% 2.6% PHE 23.0% 24.9% 1.9% 93.8% 97.2% 3.4% IPR 5.6% 4.3% 1.3% 2.0% 1.3% 0.7% Cu 35.1% 30.6% 4.5% 2.3% 1.2% 1.1% PHE 8.0% 7.9% 0.1% 95.5% 97.1% 1.6% XANT 56.9% 61.5% 4.6% 2.2% 1.7% 0.5% Case study 3 Case study 4 Cu-PHE2 State 1 Ag-PHE2 State 1 Au-PHE2 State 1 Cu-PHE2 State 1 Cu-PHE-PHEPHE State 1 Cu-PHE-PHEME State 1 Cu-PHE-PHEOME State 1 Cu-PHE-IPR State 1 Cu-PHE-XANT State 1 Table 1: _Comparison of subgroup charges computed using the Voronoi-based approach and the Morse complex-based approach. The symbols_ _QVor_ <sup>_h_</sup> <sup>_and_</sup> <sup>_Qh_</sup> _MC_ <sup>_are_</sup> <sup>_used_</sup> <sup>_to_</sup> <sup>_denote_</sup> <sup>_the_</sup> <sup>_subgroup_</sup> <sup>_charge_</sup> <sup>_for_</sup> <sup>_hole_</sup> <sup>_NTO_</sup> <sup>_computed_</sup> <sup>_using_</sup> <sup>_Voronoi_</sup> <sup>_diagram-based_</sup> <sup>_and_</sup> <sup>_Morse_</sup> <sup>_complex-based_</sup> _approaches. Similarly, QVor_ <sup>_p_</sup> <sup>_and Q_</sup> _MC_ <sup>_p_</sup> <sup>_are used for particle NTO charges. The entries where the two approaches differ by more than_</sup> <sup>2%</sup> <sup>_are_</sup> _highlighted in red._ _Vor_ <sup>_h_</sup> <sup>_and_</sup> <sup>_Qh_</sup> _Vor_ <sup>_p_</sup> <sup>_and Qp_</sup> 14 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ References [AGL05] AHRENS J., GEVECI B., LAW C.: Paraview: An end-user tool for large data visualization. _The Visualization Handbook 717_ (2005). 7 [ASSK19] AL-SAADON R., SHIOZAKI T., KNIZIA G.: Visualizing complex-valued molecular orbitals. _The_ _Journal_ _of_ _Physical_ _Chemistry_ _A 123_ (2019), 3223–3228. 3 [Aur87] AURENHAMMER F.: Power diagrams: Properties, Algorithms and Applications. _SIAM J. Comput. 16_, 1 (1987), 78–96. 5 [Aur91] AURENHAMMER F.: Voronoi Diagrams - A survey of a Fundamental Geometric Data Structure. _ACM_ _Comput._ _Surv._ _23_, 3 (1991), 345–405. 5 [BAC11] BAHERS T. L., ADAMO C., CIOFINI I.: A Qualitative Index of Spatial Extent in Charge-Transfer Excitations. _J Chem. Theory Comput._ _7_ (2011), 2498–2506. 3 [Bad90] BADER R. F. W.: _Atoms_ _in_ _molecules_ _–_ _A_ _Quantum_ _Theory_ . International Series of Monographs on Chemistry. Wiley Online Library, 1990. 2, 3, 11 [BGL <sup>_∗_</sup> 18] BHATIA H., GYULASSY A. G., LORDI V., PASK J. E., PASCUCCI V., BREMER P.-T.: TopoMS: Comprehensive topological exploration for molecular and condensed-matter systems. _Journal of Compu-_ _tational Chemistry 39_, 16 (2018), 936–952. 3, 11 [BT20] BURCH M., TIMMERMANS N.: Sankeye: A Visualization Technique for AOI Transitions. In _ETRA’20 short papers_ (2020). 3 [CXDR18] CHAN G. Y.-Y., XU P., DAI Z., REN L.: VIBR: Visualizing Bipartite Relations at Scale with the Minimum Description Length Principle. _IEEE_ _Transactions_ _on_ _Visualization_ _and_ _Computer_ _Graphics_ _(TVCG)_ (2018). 4 [FTS <sup>_∗_</sup> 16] FRISCH M. J., TRUCKS G. W., SCHLEGEL H. B., SCUSERIA G. E., ET AL. M. A. R.:, 2016. Gaussian Inc. Wallingford CT. 2, 3, 8 [GAC10] GARCIA G., ADAMO C., CIOFINI I.: Evaluating push–pull dye efficiency using TD-DFT and charge transfer indices. _Phys._ _Chem._ _Chem. Phys. 15_ (2010), 20210–20219. 3 [GBCG <sup>_∗_</sup> 14] GÜNTHER D., BOTO R. A., CONTRERAS-GARCIA J., PIQUEMAL J.-P., TIERNY J.: Characterizing Molecular Interactions in Chemical Systems. _IEEE_ _Transactions_ _on_ _Visualization_ _and_ _Computer_ _Graphics (TVCG) 20_, 12 (2014), 2476–2485. 3 [GBP12] GYULASSY A., BREMER P.-T., PASCUCCI V.: Computing Morse-Smale Complexes with Accurate Geometry. _IEEE_ _Transactions_ _on Visualization and Computer_ _Graphics_ _(TVCG)_ _18_, 12 (2012), 2014– 2022. 3 [GCMA13] GUIDO C. A., CORTONA P., MENNUCCI B., ADAMO C.: On the Metric of Charge Transfer Molecular Excitations: A Simple Chemical Descriptor. _Journal_ _of_ _Computational_ _Chemistry_, 9 (2013), 3118–3126. 3 [GGL <sup>_∗_</sup> 14] GYULASSY A., GÜNTHER D., LEVINE J. A., TIERNY J., PASCUCCI V.: Conforming Morse-Smale Complexes. _IEEE_ _Transac-_ _tions_ _on_ _Visualization_ _and_ _Computer_ _Graphics_ _(TVCG)_ _20_, 12 (2014), 2595–2603. 3 [GHBB04] GUERRA C. F., HANDGRAAF J., BAERENDS E. J., BICKELHAUPT F. M.: Voronoi deformation density (VDD) charges: Assessment of the Mulliken, Bader, Hirshfeld, Weinhold, and VDD methods for charge analysis. _J. Comput. Chem. 25_, 2 (2004), 189–210. 2 [GKLW16] GYULASSY A., KNOLL A., LAU C., WANG B.: Interstitial and interlayer ion diffusion geometry extraction in graphitic nanosphere battery materials. _IEEE_ _Transactions_ _on_ _Visualization_ _and_ _Computer_ _Graphics (TVCG) 22_, 1 (2016). 3 [HAJ06] HENKELMAN G., ARNALDSSON A., JÓNSSON H.: A fast and robust algorithm for Bader decomposition of charge density. _Computa-_ _tional Materials Science 36_, 3 (2006), 354–360. 3, 11 [HG08] HARANCZYK M., GUTOWSKI M.: Visualization of molecular orbitals and the related electron densities. _Journal_ _of_ _Chemical_ _Theory_ _and Computation 4_, 5 (2008), 689–693. 1, 3 [Hir77] HIRSHFELD F.: Bonded-atom fragments for describing molecular charge densities. _Theoretica Chimica Acta 44_, 2 (1977), 129–138. 2 [HPMM <sup>_∗_</sup> 20] HUET L., PERFETTO A., MUNIZ-MIRANDA F., CAMPETELLA M., ADAMO C., CIOFINI I.: General DensityBased Index to Analyze Charge Transfer Phenomena: From Models to Butterfly Molecules. _J. Chem. Theory Comput. 16_ (2020), 4543–4553. 3 [HZAV <sup>_∗_</sup> 18] HEIDAR-ZADEH F., AYERS P. W., VERSTRAELEN T., VINOGRADOV I., VÖHRIGER-MARTINEZ E., BULTINCK P.: Information-Theoretic Approaches to Atoms-in-Molecules: Hirshfeld Family of Partitioning Schemes. _J._ _Phys._ _Chem._ _A_ _122_ (2018), 4219–4245. 2 [JBAC12] JACQUEMIN D., BAHERS T. L., ADAMO C., CIOFINI I.: What is the “best” atomic charge model to describe through-space charge-transfer excitations? _Phys. Chem. Chem. Phys. 14_ (2012), 5383– 5388. 3 [JSS <sup>_∗_</sup> 19] JÖNSSON D., STENETEG P., SUNDÉN E., ENGLUND R., KOTTRAVEL S., FALK M., YNNERMAN A., HOTZ I., ROPINSKI T.: Inviwo—a visualization system with usage abstraction levels. _IEEE_ _Transactions_ _on_ _Visualization_ _and_ _Computer_ _Graphics_ _(TVCG)_ (2019). 7 [KBH06] KOSARA R., BENDIX F., HAUSER H.: Parallel sets: Interactive exploration and visual analysis of categorical data. _IEEE Transactions on_ _Visualization and Computer Graphics (TVCG) 12_ (07 2006), 558–68. 7 [KFM <sup>_∗_</sup> 19] KOTTRAVEL S., FALK M., MASOOD T. B., LINARES M., HOTZ I.: Visual Analysis of Charge Flow Network for Complex Morphologies. _Computer Graphics Forum 38_, 3 (2019). 4 [KKL <sup>_∗_</sup> 15] KOZLIKOVA B., KRONE M., LINDOW N., FALK M., BAADEN M., BAUM D., VIOLA I., PARULEK J., HEGE H.-C.: Visualization of Molecular structure: The state of the art. In _Eurographics_ _Conference on Visualization (EuroVis) - STARs_ (2015). 3 [KKPR19] KIM H. W., KIM K., PARK S. W., RHEE Y. M.: Quantum chemistry for studying electronic spectroscopy and dynamics of complex molecular systems. In _Molecular_ _Spectroscopy:_ _A_ _Quantum_ _Chemistry_ _Approach_, vol. 1. Wiley Online Library, 2019. 1 [LEF <sup>_∗_</sup> 98] LIANG J., EDELSBRUNNER H., FU P., SUDHAKAR P. V., SUBRAMANIAM S.: Analytical shape computation of macromolecules: I. Molecular area and volume through alpha shape. _Proteins: Structure,_ _Function, and Bioinformatics 33_, 1 (1998), 1–17. 3 [LWX <sup>_∗_</sup> 20] LIU Q., WANG Q., XU M., LIU J., LIANG J.: DFT characterization and design of anthracene-based molecules for improving spectra and charge transfer. _Spectrochimica_ _Acta_ _Part_ _A:_ _Molecular_ _and_ _Biomolecular Spectroscopy 227_ (2020), 117627. 3 [Mar03] MARTIN R. L.: Natural Transition Orbitals. _The_ _Journal_ _of_ _Chemical Physics 118_, 11 (2003), 4775–4777. 2 [Mul32] MULLIKEN R. S.: Electronic Structures of Polyatomic Molecules and Valence. II. General Considerations. _Physical Review 41_, 1 (July 1932), 49–71. 2 [Mul55] MULLIKEN R.: Electronic Population Analysis on LCAO-MO Molecular Wave Functions. _Journal of Chemical Physics 23_, 10 (1955). 2 [NMSL19] NOBRE C., MEYER M., STREIT M., LEX A.: The State of the Art in Visualizing Multivariate Networks. _Computer Graphics Forum_ _38_, 3 (2019). 4 [PKKO07] PET REK <sup>ˇ</sup> M., KOŠINOVÁ P., KO CA <sup>ˇ</sup> J., OTYEPKA M.: MOLE: a Voronoi diagram-based explorer of molecular channels, pores, and tunnels. _Structure 15_, 11 (2007), 1357–1363. 3 [PLEP70] POLITZER P., LEUNG K. C., ELLIOTT J., PETERS S. K.: Properties of Atoms in Molecules I. A Proposed Definition of the Charge on an Atom in a Molecule. _J. Am. Chem. Soc. 92_, 22 (1970), 6451–6453. 2 [REL17] ROMBOUTS J., EHLERS A. W., LAMMERTSMA K.: A quantitative analysis of light-driven charge transfer processes using voronoi partitioning of time dependent DFT-derived electron densities. _J. Com-_ _put. Chem. 38_, 20 (2017), 1811–1818. 3 _Talha Bin Masood et al. / Visual Analysis of Electronic Densities and Transitions in Molecules_ 15 [RGH <sup>_∗_</sup> 12] REININGHAUS J., GÜNTHER D., HOTZ I., WEINKAUF T., SEIDEL H. P.: Combinatorial Gradient Fields for 2D Images with Empirically Convergent Separatrices. arXiv:1208.6523v1, 2012. 3 [RHF05] RIEHMANN P., HANFLER M., FROEHLICH B.: Interactive Sankey diagram. In _IEEE_ _Symposium_ _on_ _Information_ _Visualization_ (2005), vol. 1. 4 [Sch08] SCHMIDT M.: The Sankey Diagram in Energy and Material Flow Management, Part I: History. _Journal of Industrial Ecology_ (2008). 3, 7 [SHS <sup>_∗_</sup> 11] STONE J. E., HARDY D. J., SAAM J., VANDIVORT K. L., SCHULTEN K.: GPU-accelerated computation and interactive display of molecular orbitals. In _GPU Computing Gems Emerald Edition_, Applications of GPU Computing Series. Elsevier Inc., 2011, pp. 5–18. 1, 3 [SLM04] SCHROEDER W. J., LORENSEN B., MARTIN K.: _The_ _visual-_ _ization_ _toolkit:_ _an_ _object-oriented_ _approach_ _to_ _3D_ _graphics_ . Kitware, 2004. 7 [SSH <sup>_∗_</sup> 09] STONE A. J. E., SAAM J., HARDY D. J., VANDIVORT K. L., HWU W.-M. W., SCHULTEN K. J.: High performance computation and interactive display of molecular orbitals on GPUs and multi-core CPU. In _GPGPU-2:_ _Proceedings_ _of_ _2nd_ _Workshop_ _on_ _General_ _Purpose_ _Pro-_ _cessing on Graphics Processing Units_ (2009). 3 [TFL <sup>_∗_</sup> 17] TIERNY J., FAVELIER G., LEVINE J. A., GUEUNET C., MICHAUX M.: The topology toolkit. _IEEE Transactions on Visualization_ _and Computer Graphics (TVCG) 24_, 1 (2017), 832–842. 11 [XJ12] XIA J., JASTI R.: Synthesis, Characterization, and Crystal Structure of [6]Cycloparaphenylene. _Angewandte_ _Chemie International Edi-_ _tion 51_, 10 (2012), 2474–2476. 8

섹션 본문 83문단 · 44,564자

(제목 없음)

1The study of electronic transitions within a molecule connected to the absorption or emission of light is a common task in the process of the design of new materials. The transitions are complex quantum mechanical processes and a detailed analysis requires a breakdown of these processes into components that can be interpreted via characteristic chemical properties. We approach these tasks by providing a detailed analysis of the electron density field. This entails methods to quantify and visualize electron localization and transfer from molecular subgroups combining spatial and abstract representations. The core of our method uses geometric segmentation of the electronic density field coupled with a graph-theoretic formulation of charge transfer between molecular subgroups. The design of the methods has been guided by the goal of providing a generic and objective analysis following fundamental concepts. We illustrate the proposed approach using several case studies involving the study of electronic transitions in different molecular systems.

Introduction

2Molecular spectroscopy, dealing with the absorption or emission of light, plays an important role in material and biochemical applications. Its study is a common task when analyzing the chemical and physical properties of organic materials with a wide variety of technical applications, e.g., the design of new materials for organic solar cells. Absorption and emission of light are related to electronic transitions, which involve the promotion of electrons from one state to another by absorbing or emitting photons [KKPR19]. The complex quantum mechanical process behind these transitions can be numerically calculated using modern quantum chemistry methods such as Density Functional Theory (DFT).

3Visualization has traditionally played an important role in analyzing the resulting electron density fields [SHS * 11]. Statistical plots and energy diagrams are typically used, but spatial representations of the density field of a specific electronic state of the molecule are also studied. The spatial electron density distribution is often visualized using isosurfaces. An isovalue that 'best' depicts the system is manually chosen. This approach requires detailed knowledge about the molecule and localization of the elec- † {talha.bin.masood | signe.sidwall.thygesen | mathieu.linares | alexei.abrikossov | ingrid.hotz}@liu.se ‡ vijayn@iisc.ac.in trons [HG08]. As one can imagine, this approach can be cumbersome, time-consuming, and lacks any quantifiable information, thereby making comparisons across different molecules often difficult and sometimes impossible. A tool to quickly identify the character of each excitation and to facilitate the analysis of a series of molecules is missing.

4In this work, we propose an approach that automates the quantification and visualization of key measures for electron localization and transfer from molecular subgroups. From a data point of view, this is a scalar field analysis and visualization problem. The design of our visual analysis framework is guided by the goal to develop a generic and efficient pipeline (Fig. 2) that builds on fundamental concepts to generate effective and easy to interpret visualizations. More specifically, this includes (i) designing a simple yet powerful partitioning algorithm that is chemically plausible, efficiently computable, and easy to communicate, (ii) quantifying the field transition by solving a constrained optimization problem respecting simple rules, and (iii) providing a visualization that is easy to understand and capable of encoding the characteristics of the nature of the electronic transition.

5Our contributions can be summarized as:

6• Formulation of the charge transition problem as a general partitioning and constraint optimization problem. • Introduction of a new automated method for quantitative anal-ysis and comparison of charge distributions and transitions in molecular excitations.

7• Design and development of a framework for the visual analysis of electronic transitions in a series of molecules. • Demonstration of the utility and significance of the framework via four case studies on molecules and metal complexes.

8The paper is structured as follows. In Sec. 2, we summarize required background in chemistry for the application. Sec. 3 summarizes the relevant related work. The visualization task and analysis problem are formalized in Sec. 4. Sec. 5 describes in detail the methods of our proposed solution. We present four case studies with increasing complexity in Sec. 6. A discussion of the proposed framework considering user participation in the visualization design, robustness, and efficiency of the method is provided in Sec. 7 before we conclude in Sec. 8.

Electronic densities and transitions

9Atoms are composed of nuclei and electrons, with the latter occupying most of the space. The occupied space can be interpreted as an electronic cloud or a standing wave called orbital regions with the highest probability to find electrons. Within each atom, there is a series of available orbitals with specific energy levels, each orbital hosting a maximum of two electrons. In a molecule, the location of electrons is determined by the molecule as a whole, and molecular orbitals are formed by a linear combination of atomic orbitals [Mul32]. Thereby the electrons from the constituent atoms of the molecules fill the molecular orbitals starting from the lowest energy up to the Highest Occupied Molecular Orbital (HOMO) with two electrons per molecular orbital. The remaining orbitals are named Unoccupied orbitals with their lowest called the Lowest Unoccupied Molecular Orbital (LUMO). Molecular Orbitals are used not only to study the electron localization in a molecule but also to calculate chemical and physical properties such as the probability of finding an electron in any specific region or to calculate electronic transitions involved in the interaction between the molecule and light. When a molecule absorbs a photon, electrons are excited from the occupied orbitals to unoccupied orbitals.

10Mathematically, molecular orbitals are an approximate solution to the Schrödinger equation for the electrons in the field of the molecule's atomic nuclei. They can be calculated using modern quantum chemistry methods such as Density Functional Theory (DFT), e.g., implemented in the program Gaussian [FTS * 16]. Using the Time-Dependent formalism of DFT (TD-DFT) it is possible to study the electronic transitions within a molecule. The result of such a calculation is excitation energy and a set of coefficients describing the contribution of each orbital to the excited state. An electron promoted from an occupied level will be named a hole on the remaining orbital and will be promoted to a virtual level (particle). To understand electronic transitions it is not sufficient to look at the individual orbitals but the linear combination of molecular orbitals involved in the electronic transition. Therefore, a more compact orbital representation, named Natural Transition Orbital (NTO) has been proposed to describe what has been excited (the hole NTO) and to where it has been excited (the particle NTO) [Mar03].

11The output data of these calculations are scalar values given on a regular grid in a so-called 'cube' file. A typical analysis task is to identify the nature of the electronic transition. If both the NTO of the particle and hole are located on the same part of the molecule, one speaks of a Local Excitation (LE). In contrast, if the NTO of the particle and hole are located on different parts of the molecule, one speaks of a Charge Transfer excitation (CT). This task is generally approached by displaying an isosurface of the resulting scalar fields, Fig. 1 (d,f). This is a purely qualitative analysis and there is a need to quantify the character of LE and CT between each relevant part of the molecule. Moreover, a tool to identify quickly the character of each excitation is missing and would be really useful to facilitate the analysis of a series of molecules.

Related work

12Atoms in molecules. Atoms in molecules is a model assuming that the molecular structure can be analyzed using atoms and bonds as constitutive elements. The hypothesis is that some characteristic physical properties can be determined on a per-atom basis. In this context, the question of how to assign charges to the individual atoms in a molecule is still actively discussed in chemistry with a variety of methods being proposed. Since this segmentation is not a physically observable property but rather a concept supporting the reasoning over molecules, there is no ground truth and the methods have to be validated by their usefulness in a given context. The methods can be classified into two groups -wave-function based partitioning in Hilbert space, e.g., Mulliken's Population analysis [Mul55], and 3D space partitioning using an appropriate descriptor, e.g., the electron density distribution of the molecule. The electron density distribution is a scalar field, that can be interpreted as the probability of observing the amount of electrons in a specific volume. Often the second group is preferred since the results do not depend on the chosen basis functions for the molecular modeling [HZAV * 18]. This second group of methods can be further classified into methods based on direct space partitioning and fuzzy methods following a fractional charge assignment [HZAV * 18]. In the case of space partitioning methods, in a second step, the charge density is integrated over pre-determined atomic regions, an area associated with the atom [PLEP70]. This approach boils down to the question of how to partition the molecule into atomic regions. For linear molecules, Politzer [PLEP70] proposed segmentation of the space using separating planes orthogonal to the molecular axis. This approach has later been generalized to non-linear atoms using a Voronoi partitioning [GHBB04]. While these approaches are purely geometric, a topological field-based segmentation has been proposed by Bader [Bad90]. A fuzzy approach is followed by Hirshfeld [Hir77], who proposes to share the electronic density at each point among all atoms in relation to their atomic contribution of its spherically averaged ground-state density.

13Ground and excited state comparison. A frequent task is the comparison and characterization of the chemical nature of the electronic ground and excited states. In this context, the comparison of electron charge distributions plays an important role. For this purpose, a set of indexes serving as a descriptor for the charge transfer (CT) have been designed. These indexes are mostly based on a pointwise difference density field which is partitioned in positive and negative regions. The first indexes introduced by Ciofini et [REL17] who compare the segmented partial charges associated with the individual atoms. They propose to use atom-centered Voronoi cells for the partitioning. In contrast to the analysis of the difference-volume, this approach has the advantage that it is not sensitive to changes in the geometric configuration of the atomic positions. Our approach is closely related to this idea.

14Typical visualization methods used in the domain. Visualization plays an important role in most of the above-mentioned studies. The most dominant visualizations are statistical plots and energy diagrams. Also, spatial representations are omnipresent. The typically used methods can be summarized as a combination of schematic molecular representations and isosurface plots. VMD, a widely used visualization tool for biomolecular systems, even provides hardware support for efficient orbital surface rendering [SSH * 09, SHS * 11]. Isosurfaces, however, can be misleading when the isovalue is not carefully selected and adapted to the orbital energies. To overcome this limitation, Haranczyk et al. [HG08] propose to visualize orbitals or electron densities in a more consistent way using a pre-selected fraction of the total charge to determine an orbital-specific isovalue. A direct visualization of the complex-valued molecular orbitals has been proposed by Al-Saadon et al. [ASSK19]. The schematic molecular representations including ball-and-sticks or van der Waals surface representations [KKL * 15] provide an overview of the molecular structures. Electron density isosurface plots provide a view of the density distributions. Side-by-side visualization is used for the comparison of ground and excited states. Besides, electron density difference isosurface plots give a more direct impression of the differences in the charge densities. In a few papers, these representations are overlaid with arrows representing the charge transition [JBAC12]. Sometimes, color plots on a slice using a divergent color map can be seen to give a more complete overview of the molecular electrostatic potential [LWX * 20]. While such plots give a good first qualitative impression about the charge transfer the pictures are not suitable for quantitative analysis. The chosen isovalue is a critical parameter in all these visualizations.

15Volume segmentation for visualization. Segmentation of scalar fields is a prevalent topic in visualization. Also, the segmentation of the electron density field has been explored to provide insight into the properties of molecules and materials. Existing methods can be categorized as geometric and topological methods with two different goals. The first task is to assign charges to atoms in molecules and it requires high geometric accuracy. For this purpose, a numerical algorithm to divide the space into regions separated by zero flux surfaces has been presented by Henkelman [HAJ06]. TopoMS, which combines numerical integration with concepts from computational topology and provides an accurate segmentation while still guaranteeing topological consistency. The second goal of topological segmentation is the analysis of atomic bonds where geometric accuracy is secondary. However, a robust extraction of the topological skeleton is essential. In this context, methods from computational topology are very successful [GBCG * 14]. For the analysis of ion diffusion in battery materials, a geometric segmentation of carbon nanospheres, inspired by the Delaunay triangulation, was proposed by Gyulassy et al. [GKLW16]. Segmentation based on the Voronoi diagram and its dual Delaunay triangulation has also been extensively studied in the context of macromolecules and used to measure their geometric properties such as volume and surface area [LEF * 98, PKKO07].

16Bipartite graph visualization. A common approach to visualize bipartite graphs, which consist of two disjoint sets of nodes, is to represent the two node sets as parallel lines and to draw edges between pairs of nodes that are connected by an edge. For weighted graphs, a frequently used representation is the Sankey diagram encoding the weights or magnitude of the flow in the width of the connecting arrows. It was developed over 100 years ago for material flow analysis [Sch08] and is now used in many applications [BT20]. They are especially useful for simple graphs with a limited number of nodes and edges. Some variants can also cope with more complex scenarios including interactive ex- Figure 2: Overview of the method. The first step is to segment the volume and calculate the charge for atoms and subgroups, both for hole and particle Natural Transition Orbitals (NTO), described in Sec. 5.1. Then we set up the constraint optimization problem to calculate the charge transfer between subgroups (Sec. 5.2). The charge results are visualized, both at atomic and subgroup level, this is described in Sec. 5.3.

17ploration [RHF05]. The chord diagram is another visual representation targeting similar data. Here, the nodes are arranged along a circle and connected by arcs scaled according to the ratio of the outand in-flow of the respective nodes. Such diagrams have been used in many applications including charge flow networks [KFM * 19]. Considering weighted bipartite graphs as a special case of more general flow graphs or transition matrices, all related graph drawing methods are principally applicable [NMSL19]. There are also methods that focus on the visualization of large scale bipartite graphs with tens of thousands of nodes and edges [CXDR18] which goes far beyond our needs.

Problem specification and definition

18In the following, we translate the computational chemists' requirements described above in Sec. 2 into a data-analysis and visualization problem. We start with specifying the visualization tasks and then give a precise mathematical formulation of the related data analysis problem.

Visualization and analysis tasks

19We identified two data analysis tasks (A1 and A2) and three visualization tasks (V1, V2, and V3) specified below:

20A1 Parameter-free quantification of charges associated to atoms. A2 Parameter-free quantification of electronic charge transfer between the hole and particle NTO at the chemical subgroup level. V1 Visualization of the hole and particle charge distribution. V2 Visualization of charge differences at atoms to emphasize the loss or gain of electronic charge during the electronic transition. V3 Visualization of the charge transfer emphasizing the nature of the electronic transition as Local Excitation (LE) or Charge Transfer excitation (CT).

21The two analysis task relate to quantification of charge and the charge transfer using methods which do not require any dataspecific user-defined parameters. We decided to take a parameterfree approach to facilitate easy integration of these methods in automated analysis pipelines for processing a large set of molecules. The three visualization tasks are aimed at discerning the nature of the electronic transition through visual analysis both at the chemical subgroup and atomic level of detail.

Formal problem specification

22The basis for all the visualization tasks is an objective quantification of diverse charge contributions and transitions which should follow clear rules. The data is a set of scalar fields from TD-DFT calculations and the input configuration of the molecules constituted of atoms and atomic groups. The problems to solve are fundamentally partitioning and transfer computation tasks.

23Input. We are given the following information:

24• A set of atoms A = {a 1 , a 2 , . . . , a N } where each atom a i is a sphere centered at p i = (x i , y i , z i ) ∈ R 3 with radius r i , e.g., the van der Waals radius. where s j ⊆ A, ∪ s j ∈S = A and s i ∩ s j = ∅ for i = j. • Natural Transition Orbital (NTO) for the hole Φ h : R 3 → R and the particle Φp : R 3 → R. • In practice the scalar fields Φ h and Φp are provided as sampled over a 3D grid G of size nx × ny × nz corresponding to a subset D ⊂ R 3 . The grid G consists of voxels of uniform size.

25Problem. Given this, the problem can be specified as follows:

26• Determine the hole charge q h i for each atom a i such that the total

27• Similarly, determine the particle charge q p i for each atom a i such that the total particle charge ∑ N i=1 q p i = D ||Φp|| 2 . • Also, determine the hole charge Q h j for each subgroup s j and the corresponding particle charge Q p j .

28• Determine the amount of charge transferQ jk between all pairs of subgroups s j and s k according to a few given constraints.

Method

29An overview of our visual analysis pipeline is presented in Fig. 2. The individual steps are described in the following sections.

Segmentation and charge computation (Task A1)

30To compute the charge of an atom we partition the volume D into regions, each belonging to one atom. The charge of an atom is then calculated as the charge within the region based on the charge density derived from the NTO, both for particle (Φp) and hole (Φ h ).

31Segmentation of the volume. We find a partition of the volume D into non-overlapping regions

32To solve this segmentation problem we considered both topological and geometrical segmentation methods. We investigated the Morse-Smale complex and the weighted Voronoi segmentation and concluded that the resulting subgroup charges were very similar for these two segmentation algorithms, refer to the appendix for a detailed comparison. Since we are mainly interested in the subgroup charge and also the fact that we want an efficient and fast method, our choice was the weighted Voronoi due to its simplicity. Chemists are also familiar with this segmentation approach thus making it easier to communicate to domain experts.

33Voronoi segmentation. Given N seed points, the Voronoi diagram divides the space into N regions, each region consisting of the points in space closest to one particular seed point [Aur91]. A more general version is the weighted Voronoi diagram where each seed point has a weight. This weighted version is called a power diagram when using the power distance to measure the distance between a point x and seed point p i with weight

34. It partitions a volume D such that the region belonging to atom a i at position p i and radius r i can be described as

35This segmentation algorithm only considers the atom positions and their radii together with the volume dimensions and is not dependent on the scalar field values. This means that we do not need to recalculate the segmentation for the different scalar fields Φ h and Φp for the same molecule. An example of a weighted Voronoi segmentation of the volume is shown in Fig. 3.

36We implement the weighted Voronoi algorithm in the discrete setting. In parallel, for each point in the volume grid G, we compare the power distances to all the atom positions and pick the one giving the minimum value. The result will be a volume, where each voxel is labeled with the index of the closest atom.

37Charge computation in each region. The charge density in a point x is calculated by taking the square of the Natural Transition Orbital value in that point

38Given the set of N regions V = {V 1 , V 2 , . . . , V N } partitioning our volume D ⊂ R 3 , and the Natural Transition Orbitals Φ h and Φp sampled over D we want to calculate the sum of all charge densities for each region, the charge for each atom, for both Φ h and Φp.

39We obtain this by using Eqn. 2 for each point in V i and integrating over all points in that region. This integral can be approximated by adding the charge over all voxels

40Let the volume of a voxel in G be vol, then the charge q h i can be computed as:

41Similarly, the particle charge q p i for all the atoms is also computed. The charge for each subgroup is the accumulated value for all atoms within the subgroup

Charge transfer (Task A2)

42To study the charge transfer at the level of subgroups, it would be beneficial to quantify the charge transfer between two subgroups. However, there is no unique solution for this problem as the system of equations is underdetermined. We describe this in the following subsections and propose some solutions for the charge transfer problem under reasonable assumptions.

43Problem specification. The charge transfer problem requires determination of the charge transferQ i j from a subgroup s i to another subgroup s j under two constraints: (1) the total charge transfer from a subgroup s i should be equal to the hole charge Q h i of the subgroup, and (2) the total charge transfer to a subgroup s j should be equal to

44The matrixQ M×M can be interpreted as a weighted complete directed graph. The subgroups S correspond to the vertex set and the matrix elements correspond to the edge weights. See Fig. 4 (left) for an example with four subgroups.

45This assumption, along with the two constraints in 6, lead to the following assignment of values to the diagonal of the matrixQ:

46Considering equations 7 to 10, we can remove all the diagonal elements fromQ M×M and the non-diagonal elements which are 0 to obtain a smaller matrix T n×m with n rows corresponding to the donors and m columns corresponding to the acceptors. The matrix T represents weights of the edges in a complete bipartite graph with directed edges from the set D to A. See Fig. 4 for an example. t i j denotes the charge transfer between donor d i and acceptor a j . The charge transfer for all donor-acceptor pairs is represented as

47The index maps I D and I A provide the element corresponding to t i j ∈ T n×m within the matrixQ N×N as t i j =Q I D (i)I A ( j) . We use the notation Q d i to mean Q I D (i) and Qa j to mean Q I A ( j)

48The total charge transfer from a donor d i to acceptors should be equal to the charge deficit at d i . So, for all d

49The above set of equations gives us n row-sum constraints. Similarly, total charge transfer to an acceptor a j from all donors should be equal to the charge excess at a j . So, for all a j ∈ A:

50This provides the additional m column-sum constraints. The constraints 11 and 12 follow directly from 6 respectively. The goal is to determine matrix T under these two constraints 11 and 12. Additionally, we have the non-negativity constraints,

51In total, we have n + m equations, of which n + m − 1 are linearly independent. However, we have n × m unknowns. A unique solution exists only in the scenario when there is only one donor or in the case when there is only one acceptor.

52Proportional charge division approach. One way to arrive at a solution for the charge transfer problem would be to assume t i j to be directly proportional to the charge differences at the donor d i and the acceptor a j . That is,

53With this assumption and the constraints 11 and 12, we arrive at a unique solution for t i j which we refer to as proportional solution:

54whereQ is the total charge transfer:

55It is easy to observe that such a solution satisfies the nonnegativity constraint (13). Further, we show that it also satisfies the row sum constraint (11) and column sum constraint (12):

56Quadratic optimization approach. We now discuss a general approach that provides the flexibility of determining an optimal solution under different assumptions and criteria. The matrix T n×m can be represented as a column vector t having n × m components by sequencing the terms t i j in row major order. Constraints in 11 and 12 can be combined as an equality constraint

57where B is an (n + m − 1) × (n × m) matrix containing the binary coefficients of n + m − 1 linearly independent constraints as the rows. The n row constraints are specified first followed by the m − 1 column constraints.

58. . , Q d a m−1 ] T corresponds to the value for these constraints. Secondly, we have the non-negativity constraint as specified in 13 that is converted into the inequality constraint:

59Let us consider the simple case of two donors and two acceptors to understand this conversion to vectors. The matrix T is:

60The four constraints are:

61We can ignore one of the above constraints resulting in a set of linearly independent constraints. Let us assume we ignore the last equation. . In this case, we can set up an optimization problem to find the optimal to which is closest to tp but satisfies the constraints 16 and 17. More formally, we can write this as the following optimization problem:

62Minimize ||t − tp|| 2 subject to t ≥ 0 and Bt = b

63We recognize this as a quadratic optimization problem that can be solved to obtain an optimal solution to which we refer to as quadratic solution. Note that tp does not have to be a uniform vector, it can have different weights and allows the possibility of computing optimal to under different scenarios.

Visualization

64We use various spatial and information visualization methods to facilitate detailed visual analysis of electronic transitions. We describe these methods in brief in the following paragraphs. The implementation was primarily done in Python using VTK [SLM04]. We also used Inviwo [JSS * 19] and Paraview [AGL05] for prototyping and generating some higher quality images.

65Spatial visualization (Task V1, V2). We employ standard scalar field visualization techniques like volume rendering, slicing and isosurface extraction for visualization of the orbitals Φ h , Φp and the derived density fields ρ h = ||Φ h || 2 and ρp = ||Φp|| 2 . For direct volume rendering of scalar field Φ h and Φp, we employ a diverging blue to red color map with a V-shaped transfer function for opacity so that the voxels with extreme positive and negative values are emphasized, see Fig. 1 (c,e). Two isosurfaces represent the orbitals Φ h and Φp, for a given value v, one for value v and the other for −v. They are displayed together colored orange and blue respectively, see the first two columns of Fig. 5. For visualization of the fields ρ h and ρp, we use a linear color map and opacity transfer functions.

66The molecules are shown embedded in the same volume represented either as ball-and-stick or the space-fill model with the radii scaled proportionally to their van der Waals radii. We use color mapping on the balls representing the atoms to show various scalar quantities like hole charge q h , particle charge q p and charge difference q d defined as q p − q h . In case of charge difference, we use a red-to-blue diverging color map highlighting the donor atoms in shades of red and acceptor atoms in shades of blue, see the q d column of Fig. 5. For q h and q p , a linear white-to-blue color map is used, refer to the q h and q p columns in Fig. 5. Additionally, we support the coloring of atoms based on atomic type using the Corey-Pauling-Koltun (CPK) color model. Lastly, color mapping to highlight the different subgroups is also supported, see Fig. 1(a, b).

67Within this 3D spatial visualization, we also support the visualization of the Voronoi segments corresponding to the atoms or the combined Voronoi segments corresponding to the subgroups, see Fig. 3. We do not use direct volume rendering for such a visualization as it suffers from occlusion and discretization artifacts. Instead, we extract the bounding surface of each segment separately and smoothen the surface using a standard Gaussian filter. Further, the segment for atom a i is clipped by a ball of radius 2r i . middle, connectors are drawn such that their width is proportional to the charge transferQ i j . The colors of the bars are based on the subgroups and can be chosen by the user. Brushing and linking is supported between the 3D spatial view and the 2D visualizations.

Results

68The data for the case studies is calculated using the Gaussian software package [FTS * 16]. The cube files for individual molecular orbitals were generated using the included gencube program. The particle and hole NTOs were generated based on the set of coefficients describing the contribution that each particle-hole pair makes to the excited state.

Case study 1: Thiophene-Quinoxaline

69As a first simple example, we study the thiophene-quinoxaline molecule which is composed of two subgroups as shown in Figure 1(b). Polythiophene polymer has been widely used in the field of organic electronics and in particular in organic field-effect transistors and organic solar cells because of its high conductivity. Thiophene and quinoxaline have very different properties since they are an acceptor and a donor of electrons, respectively. These properties provoke a charge transfer from the thiophene to the quinoxaline moieties making this a perfect model system to test our analysis and visualization pipeline. As can be seen in Fig. 5, the 4th and 9th excited states have very different properties. For excited state 4, the hole is localized on the thiophene moiety and the particle on the quinoxaline moiety. However, for the excited state 9, the hole is more delocalized over the whole molecule. This difference can be observed qualitatively by looking at the charge distribution for the hole and the particle as well as the charge difference between them. All this information is included in the transition diagram that provides a quantitative measurement of the nature of the transition. Here, a charge transfer of 87.1% between the thiophene and quinoxaline for state 4, and a local excitation of the quinoxaline (83.5%) for state 9 is observed.

Case study 2: [6]cycloparaphenylene

70As the second case study, we investigated [6]cycloparaphenylene, a molecule composed of 6 benzene rings connected by covalent bonds in the para positions to form a ring Fig. 6 [XJ12]. Note that for the other three case studies in this paper, the number of subgroups is at most three which implies the charge transfer problem has a unique solution. Here, the molecule is fragmented into six groups, the six phenyl rings, and thus provides a good study of a system having more than one donor and acceptor. In this case, the charge transfer problem is not uniquely determined, and the transition diagrams computed using proportional and quadratic approaches may differ. We are here focusing on the first three excited states (Fig. 7). While for the first state, both the hole and the particle are delocalized over the whole molecule; the second and third excited states present a clear charge transfer character. When looking at the NTO for those two states, they appear to be very similar. However, looking at the charge difference density and the transition diagrams, we can observe subtle differences such as the difference of localization of the particle NTO mainly shared on two cycles for the second excited state and three cycles for the third excited state. The difference observed between the proportional and quadratic transition diagrams are marginal for our case but might be important in other systems bearing a large number of subgroups.

Case study 3: Metal complexes

71Metal complexes present very interesting electronic structure properties and are used in a range of applications such as catalysis, organic solar cells, and organic light-emitting devices. They are composed of one or several metallic atoms and one or several molecules (called ligands) which organize around the metal atom. Quantum chemistry has been widely used to study these systems and to identify if specific electronic excitations are localized on a specific part of a molecule or if there is a transfer from the metal to a specific ligand. Identifying the nature of these excitations is a prerequisite for designing new molecules with specific properties. We looked at the series of metal complexes made of one metal atom from group 11 (Copper Cu, Silver Ag and Gold Au) and two phenanthroline (Phe) molecules arranged around it (Fig. 8). Here, we are focusing on the first excited states for the three metal complexes. As expected for complexes made with a metal atom from the same group, the particle charge distribution Q p for all three molecules is similar. However, the hole charge distribution Q h is different with Cu-Phe having the most concentrated charge on Cu (71.6%). In Ag-Phe, Q h Ag = 52.3% and in Au-Phe, Q h Au = 50.2%. In Au-Phe, the hole charge on the two Phe ligands is asymmetric (29.8% and 20.0%) as compared to the hole charge on Phe in Ag-Phe (23.0% and 24.7%) and Cu-Phe (14.6% and 13.8%). The transition diagrams allow to identify the differences between the three complexes with a larger charge transfer from the metal to the Phe for Cu-Phe in comparison with Ag-Phe and Au-Phe.

Case study 4: Copper complexes with various ligands

72We investigate a series of copper complexes bearing two ligands. The first ligand phenanthroline (Phe) is always the same in all complexes, while the second ligand varies: 2,9-diphenylphenanthroline (PhePhe), 2,9-dimethyl-phenanthroline (Pheme), 2,9-dimethoxy-phenanthroline (Pheome), a N-heterocyclic Carbene (IPR), and a diphosphine ligand (XANT). We are focusing here on the first excited states. The transition diagrams presented in Fig. 9 enable identification of the differences between the copper complexes as for Cu-Phe and Cu-Phe-PhePhe, the charge transfer occurs from the copper atom to both ligands. However, for the four other complexes, the charge transfer to Phe is coming from both the copper atom and the other ligands. Moreover, we observe that Cu-Phe-XANT presents a unique behavior since more of the transfer comes from the diphosphine ligand than from the Copper atom. This illustrates how this approach can be used on a series of molecules to identify quickly the typical differences between them.

Discussion

73Here we discuss some of the visualization design decisions and report the domain expert feedback. Discussion on the robustness and run-time performance of the method follows afterwards.

74Visualization design. Our framework has been developed with computational chemists in the loop with constant feedback. During these discussions and along with the first experiments, the visualization and analysis tasks listed in Sec. 4 were developed. The process started with designs using bar charts which did not show the charge transfer. On the way to the final visualization design, we experimented with, among other visual representations, chord diagrams which were difficult to interpret for the chemists. Finally, we settled on Sankey diagram which is a simple yet effective visualization intuitively fulfilling all our visualization requirements. The transition diagram displays the charge distributions of hole and particle in the bottom and top bars and simplifies the comparison of the distributions. Showing the hole charge distribution at the bottom and particle at the top was natural for chemists because of their familiarity with energy diagrams, as against the standard practice of showing the flow in a Sankey diagram from left to right. Further, the transition diagram clearly distinguishes localized and non-localized charge transfer, a key requirement for chemists. In retrospect, we can summarize the design guidelines as providing a simple and direct visualization restricted to the most relevant aspects.

75User feedback. In summary, the user feedback on the final result was very positive. There was an agreement that this visualization fills a gap in the analysis tools typically used for this task. The visualization gives easy access to quantitative information about the electronic transition that can be hardly derived from the sideby-side comparison of isosurfaces, a method that is typically used in such scenarios. The four use cases discussed above represent real-world examples, both in their type and complexity. While appreciating the presented methods, the computational chemists also stimulated discussion of further developments with respect to an increasing number and complexity of the configurations investigated, which we briefly discuss next in Section 8.

76Robustness. As evident from the presented case studies and user feedback, the transition diagrams present the complete information about the subgroup charges and charge transfer very well for a small number of subgroups. They also capture the similarities and differences in transitions for a given set of molecules, even when the order of subgroups is changed as long as the order is changed consistently for all the molecules. However, further investigation is needed to study the scalability of these diagrams with an increasing number of subgroups. Novel visualization techniques may be needed to address these challenges.

77One of the advantages of using the weighted Voronoi diagrambased segmentation method is that it is dependent only on the atomic positions and radii, and not on the density field or its quality. However, the grid resolution does affect the segmentation quality in a discrete setting. The effect of the grid resolution on the quality of segmentation and computed charges need further investigation, but it is easy to see that higher resolution grids would be required for molecules containing a larger number of atoms. We also compared the weighted Voronoi-based segmentation with a gradient-based segmentation and found the computed charges at the subgroup level to be very similar, see the appendix (Table 1) for details.

78Run time analysis. We performed some experiments to study the run time performance of our implementation and found that the segmentation was the most time-consuming stage of the pipeline. Although efficient implementation was not the focus of this work, we exploited parallelism during the segmentation and charge computation stages of the pipeline. The run times are dependant on the number of atoms and the grid size. For the molecules we considered in our case studies, we observed running times in the range of 50 ms (23 atoms) to 150 ms (97 atoms) on a workstation with an Intel i9 processor having 10 cores. All the grids in our case studies were of similar sizes with around half a million voxels.

Conclusions and future directions

79In this paper, we have presented a pipeline for visual analysis of electronic transitions by looking at the Natural Transition Orbitals for the hole and particle. Our quantitative analysis adds a new perspective to a common problem in quantum chemistry with many applications. The proposed visual representation provides valuable information when comparing different designs of molecules concerning their physical and chemical properties.

80The proposed pipeline represents a generic approach for applications where segmentation and transitions between those are of interest. However, the individual steps are using application-specific design decisions that have been driven by the goal to provide an efficient, simple, and chemically plausible solution to the problem. This is at first the choice of using a weighted Voronoi diagram for the segmentation. Second, the set of constraints in the optimization model are based on chemically plausible conditions. When applying the proposed pipeline to other settings, e.g., when moving from the investigation of molecules to crystal structures, the decisions may need to be reconsidered and adapted to the new application.

81We will investigate alternatives for specific design decisions in the future. This includes different geometric, and topological approaches for volume segmentation and a larger variety of geometric constraints in the optimization. We also plan to extend this work to facilitate the automated classification of electronic transitions of ensembles of molecules. Further, integration of other physical and chemical properties of the transitions like transition energy and oscillatory strength would also be valuable to the chemists.

82Appendix A: Comparison of Voronoi segmentation with gradient-based segmentation For segmenting charge density field spatially among the atoms of the molecule, gradient-based partitioning was suggested by Bader [Bad90]. In practice, this idea has been implemented in software like TopoMS [BGL * 18] and an implementation by Henkelman et al. [HAJ06]. However, both these software failed to generate a segmentation for our input charge density fields i.e. NTOs. We believe this is because of the fact that these software are tailored for analysis of full charge density fields. The NTO charge density however is different, for example, it may not have any charge density maxima corresponding to some atoms, which is a crucial assumption made by both these software, resulting in failure to generate a segmentation.

83In order to compare the Voronoi segmentation with some gradient-based approach, we then decided to use the Morse-Smale complex as implemented in Topology Toolkit (TTK) [TFL * 17]. It uses discrete Morse theory for computation of combinatorial gradient-based segmentation. To compute the segmentation, as a first step the maxima along with their ascending manifolds are computed using TTK. The ascending manifold of a maximum is the set of all points in the domain which reach this maximum after repeated integration in the gradient direction. Then in the second step, we used an approach suggested by TopoMS to assign a maximum to the closest atom, to compute the segmentation and charge per atom. The atomic charge can then be added to compute the subgroup charges. Table 1 lists this detailed comparison for all the data sets used in our case studies. We can observe that Voronoi and gradient-based techniques provide very similar division of charge at the level of subgroups. The instances where the charge computed by Voronoi and Morse complex based approaches differ by more than 2% are highlighted in red. We observed only 6 such cases out of 102 computations of charges at the level of subgroup. Five of these six cases are observed in the case of metal complexes where one of the subgroups consist of just atom which can result in more noticeable differences in atomic boundaries. : Case study 4: Copper complexes with various ligands. Columns 1 and 2 show selected isosurfaces for the hole and particle NTOs respectively. Column 3 shows the volume segmentation for the different subgroups. Column 4 shows how the charge changes during the electronic excitation. The last column shows the transition diagram for the different ligands. Notice how the transition diagrams in top two rows (Phe and PhePhe) are similar and how they differ from the second category, the next four rows.

참고문헌 37건

  1. ParaView: An End-User Tool for Large-Data Visualization Elsevier eBooks · Elsevier BV · 2005 10.1016/b978-012387582-2/50038-1
  2. Atoms in molecules : a quantum theory Clarendon Press eBooks · Clarendon Press · 1990
  3. Interstitial and Interlayer Ion Diffusion Geometry Extraction in Graphitic Nanosphere Battery Materials IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tvcg.2015.2467432
  4. Voronoi diagrams—a survey of a fundamental geometric data structure ACM Computing Surveys · Association for Computing Machinery · 1991 10.1145/116873.116880
  5. Visualization of Molecular Orbitals and the Related Electron Densities Journal of Chemical Theory and Computation · American Chemical Society · 2008 10.1021/ct800043a
  6. Conforming Morse-Smale Complexes IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tvcg.2014.2346434
  7. Electronic Structures of Polyatomic Molecules and Valence. II. General Considerations Physical Review · American Institute of Physics · 1932 10.1103/physrev.41.49
  8. Properties of atoms in molecules. I. Proposed definition of the charge on an atom in a molecule Journal of the American Chemical Society · American Chemical Society · 1970 10.1021/ja00725a011
  9. Natural transition orbitals The Journal of Chemical Physics · American Institute of Physics · 2003 10.1063/1.1558471
  10. Computing Morse-Smale Complexes with Accurate Geometry IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2012 10.1109/tvcg.2012.209
  11. A fast and robust algorithm for Bader decomposition of charge density Computational Materials Science · Elsevier BV · 2005 10.1016/j.commatsci.2005.04.010
  12. MOLE: A Voronoi Diagram-Based Explorer of Molecular Channels, Pores, and Tunnels Structure · Elsevier BV · 2007 10.1016/j.str.2007.10.007
  13. The Visualization Toolkit: An Object-Oriented Approach to 3-D Graphics 1997
  14. Power Diagrams: Properties, Algorithms and Applications SIAM Journal on Computing · Society for Industrial and Applied Mathematics · 1987 10.1137/0216006
  15. Bonded-atom fragments for describing molecular charge densities Theoretical Chemistry Accounts · Springer Science+Business Media · 1977 10.1007/bf00549096
  16. High performance computation and interactive display of molecular orbitals on GPUs and multi-core CPUs 2009 10.1145/1513895.1513897
  17. Analytical shape computation of macromolecules: I. molecular area and volume through alpha shape Proteins Structure Function and Bioinformatics · Wiley · 1998 10.1002/(sici)1097-0134(19981001)33:1<1::aid-prot1>3.0.co;2-o
  18. Synthesis, Characterization, and Crystal Structure of [6]Cycloparaphenylene Angewandte Chemie International Edition · Wiley · 2012 10.1002/anie.201108167
  19. Voronoi deformation density (VDD) charges: Assessment of the Mulliken, Bader, Hirshfeld, Weinhold, and VDD methods for charge analysis Journal of Computational Chemistry · Wiley · 2003 10.1002/jcc.10351
  20. Parallel Sets: interactive exploration and visual analysis of categorical data IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2006 10.1109/tvcg.2006.76
  21. Characterizing Molecular Interactions in Chemical Systems IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tvcg.2014.2346403
  22. Evaluating push–pull dye efficiency using TD-DFT and charge transfer indices Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2013 10.1039/c3cp53740d
  23. What is the “best” atomic charge model to describe through-space charge-transfer excitations? Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2012 10.1039/c2cp40261k
  24. On the Metric of Charge Transfer Molecular Excitations: A Simple Chemical Descriptor Journal of Chemical Theory and Computation · American Chemical Society · 2013 10.1021/ct400337e
  25. A Qualitative Index of Spatial Extent in Charge-Transfer Excitations Journal of Chemical Theory and Computation · American Chemical Society · 2011 10.1021/ct200308m
  26. GPU-Accelerated Computation and Interactive Display of Molecular Orbitals Elsevier eBooks · Elsevier BV · 2011 10.1016/b978-0-12-384988-5.00001-2
  27. A quantitative analysis of light‐driven charge transfer processes using voronoi partitioning of time dependent DFT‐derived electron densities Journal of Computational Chemistry · Wiley · 2017 10.1002/jcc.24822
  28. Information-Theoretic Approaches to Atoms-in-Molecules: Hirshfeld Family of Partitioning Schemes The Journal of Physical Chemistry A · American Chemical Society · 2017 10.1021/acs.jpca.7b08966
  29. <i>T<scp>opo</scp>MS</i>: Comprehensive topological exploration for molecular and condensed‐matter systems Journal of Computational Chemistry · Wiley · 2018 10.1002/jcc.25181
  30. Visualizing Complex-Valued Molecular Orbitals The Journal of Physical Chemistry A · American Chemical Society · 2019 10.1021/acs.jpca.9b01134
  31. Quantum Chemistry for Studying Electronic Spectroscopy and Dynamics of Complex Molecular Systems Molecular spectroscopy · Royal Society of Chemistry · 2019 10.1002/9783527814596.ch3
  32. The State of the Art in Visualizing Multivariate Networks Computer Graphics Forum · Wiley · 2019 10.1111/cgf.13728
  33. Visual Analysis of Charge Flow Networks for Complex Morphologies Computer Graphics Forum · Wiley · 2019 10.1111/cgf.13704
  34. DFT characterization and design of anthracene-based molecules for improving spectra and charge transfer Spectrochimica Acta Part A Molecular and Biomolecular Spectroscopy · Elsevier BV · 2019 10.1016/j.saa.2019.117627
  35. General Density-Based Index to Analyze Charge Transfer Phenomena: From Models to Butterfly Molecules Journal of Chemical Theory and Computation · American Chemical Society · 2020 10.1021/acs.jctc.0c00296
  36. Sankeye: A Visualization Technique for AOI Transitions ACM Symposium on Eye Tracking Research and Applications · 2020 10.1145/3379156.3391833
  37. The Sankey Diagram in Energy and Material Flow Management Journal of Industrial Ecology · Wiley · 2008 10.1111/j.1530-9290.2008.00004.x