{'fraction_non_alphanumeric': 0.04111439969115944, 'fraction_numerical': 0.013769141680607387, 'mean_word_length': 4.75240562546262, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Indicators of wavefunction (de)localization in the avoided crossing in a quadrupole cavity

We study the relation between wavefunction (de)localization and the avoided crossing in a quadrupole billiard. We employ the inverse participation ratio, the Renyi entropy and the root-mean-square (rms) image contrast as the three types of measures for wavefunction (de)localization. It is found that all these measures behave similarly, exhibiting a minimum at the center of avoided crossing, where wavefunction is maximally delocalized. Our results show that these quantities can be good indicators for wavefunction (de)localization although the rms contrast yields the most sensitive measure among them.


Introduction
Avoided crossing is a phenomenon in which two eigenvalues of the Hamiltonian of a quantum system come closer when a system parameter is varied, but they repel each other [1]. Since the introduction of quantum mechanics, avoided crossing has been fundamental because it manifests the presence of subtle interactions between states in the quantum system. It has been extensively studied in various physical systems such as nanowires [2,3], crystalline solids [4], topological magnons [5], charged ions [6], and quantum billiards [7,8]. Particularly in the case of cavity resonators (related to avoided crossing), several intriguing physical properties of exceptional points [9,10], unidirectional emission [11], and dynamical tunnelling [12] have been explored. Avoided crossing is basically considered based on the behaviour of eigenvalues [1]. However, in general, the behaviours of the wavefunctions also undergo certain changes from the influence of avoided crossing [13,14,15]. Here, we examine this issue in the framework of the wavefunction (de)localisation.
Localisation or delocalisation is a useful notion to probe spatial features and also determine essential physical properties. For example, conductance in condensed matter physics [16,17] is controlled by the degree of localisation; the localised and delocalised electron wavefunctions correspond to the insulators and conductors, respectively. Anderson localisation has been investigated for systems such as aperiodic super lattices [18] and monolayer graphene [19]. In quantum billiard problems, wavefunction localisation is also an important issue for the scar, which refers to the wavefunction localisation on unstable periodic orbits in the semi-classical limit [20]. Numerous scar phenomena have been observed in various chaotic systems such as molecular systems, atomic systems, and micro-cavities [21,22,23]. Following these pioneering studies, the study of quasi-scars [24,25] (without any association with classical periodic orbits) as well as scar-like modes in integrable systems [26,27] were conducted. Furthermore, localisation associated with chaotic diffusion has also been studied [28,29].
In our previous studies [30,31], we investigated the Shannon entropy and its relation to avoided crossing in the microcavity. We found that the Shannon entropies increase as the centre of the avoided crossing is approached, and are exchanged across the avoided crossing. The definition of Shannon entropy is a relevant measure of the average amount of information for a random variable with a specific probability distribution [32]; however, the physical meaning of Shannon entropy in our system still remains unclear. Therefore, we elucidate it in the view point of the wavefunction (de)localisation in this work. For this purpose, we study the relation between the Shannon entropy to inverse participation ratio [33,34], Rényi entropy [35,36] and the root-mean-square (RMS) image contrast [37,38,39].
The remainder of this paper is organised as follows. In Sec. 2, the avoided crossing of two interacting modes in a quadrupole billiard is introduced. In Sec. 3, we study the inverse participation ratio. The Rényi entropy is discussed in Sec. 4. The RMS contrast is studied in Sec. 5. In Sec. 6, we compare the three measures based on the wavefunction delocalisation. Finally, we summarise our work in Sec. 7.

Avoided Crossing of Two Interacting Modes
Now, we consider a closed quadrupole cavity as a model for the chaotic billiard in order to study the avoided crossing; the non-linearity in a chaotic system leads to the avoided crossing [40,41]. The geometric shape of the quadrupole is precisely described by r(φ) = 1 √ 1+ε 2 /2 (1 + ε cos(2φ)), where ε is the deformation parameter and φ is the angle in the polar coordinate. The pre-factor 1/ 1 + ε 2 /2 is adopted for an areapreserving condition. We obtain the eigenvalues and their wavefunctions by solving the Helmholtz equation ∇ 2 ψ + n 2 k 2 ψ = 0 equipped with the boundary element method [42] for the transverse magnetic modes. We used the Dirichlet boundary conditions for closed (billiard) systems. Here, k denotes the (vacuum) wavenumber, n is the refractive index of the cavity whose value is n = 3.3 in this paper and ψ is the vertical component of In figure 1, the eigenvalues (i.e., wavenumbers) of two interacting modes (denoted by red dashed and blue solid lines) and the intensities of representative wavefunctions [(a), (b), (c), (d), (e), and (f)], as a function of the deformation parameter ε, are plotted in the restricted range 0.75 ≤ ε ≤ 0.11. In this range, the phase space shows soft chaos (the transition region between regular and chaotic system). In particular, eigenstates (a), (d), (c), and (f) are associated with regular invariant torus. The avoided crossing occurs at ε ≈ 0.091. We can also observe that the wavefunctions corresponding to (a) and (d) are mixing together at (b) and (e) in the state of the coherent superposition of wavefunctions. Subsequently, they exhibit an exchanging pattern of wavefunctions at (c) and (f). Here, we investigate the features of this avoided crossing by considering wavefunction (de)localisation.

Analysis of the Inverse Participation Ratio
The inverse participation ratio I is widely employed in percolation systems [43], flat bands [44], and quantum chaos [45] to quantify the degree of localisation of the wavefunction with given probability distributions. It is defined by the summation (or integral) over the square of the probability density in the position and momentum space (or phase space). In the case of position space, we can simply define the formula as follows: where ρ(x j ) = |ψ(x j )| 2 . To apply I to our quadrupole system, we normalise the intensity of the wavefunction as N j=1 |ψ(x j )| 2 = 1. Here, N is the total number of mesh points for the cavity area, and we assume that it corresponds to an effective basis set {|j } N j=1 for the position space. The inverse participation ratio has a maximal value of I = 1 when the wavefunction is localised at the specific basis state |j p , owing to the fact that ρ(x j ) = δ jp . Figure 2(a) presents a plot of the inverse participation ratio of the normalised intensity distributions for the two interacting modes in figure 1. The values of I that are distant from the centre of the avoided crossing have relatively higher values than those at the centre of the avoided crossing. In other words, the values of I decrease when the centre of the avoided crossing is approached. This directly indicates that the wavefunction localisation of two interacting modes increases when the mixing of the wavefunction decreases (i.e., moving away from the centre of avoided crossing).
The inverse Shannon entropy H −1 S of the intensity distributions of the two interacting modes (in figure1) is shown in figure2(b) for a relative comparison. The Shannon entropy was obtained in a similar manner as in our previous studies [30,31], that is, H S ({ρ(x i )}) = − N j=1 ρ(x j ) log ρ(x j ). Note, that the Shannon entropy is a relevant measure of the average amount of information content, and we used it as a measure of the degree of uniformity for a given mode pattern. However, we confirm that the Shannon entropy can also be used to measure the wavefunction (de)localisation

Quantifying the Delocalisation from Rényi Entropy
Intuitively, the inverse of the inverse participation ratio I −1 can be a natural measure of delocalisation. However, we consider the logarithm of I −1 instead of I −1 , which enables us to extend the concept of delocalisation to the information theory.
To achieve this, we first introduce the definition of Rényi entropy [35,36], which is a generalisation of the Shannon entropy, Hartley entropy, min-entropy, and collision entropy [35]. The definition of order α Rényi entropy for a discrete probability distribution {ρ j } (with α ≥ 0 and α = 1) is given by under a normalisation condition such that N j=1 ρ j = 1. Note that, the logarithm of I −1 is equal to the Rényi entropy with α = 2; that is, H 2 ({ρ j }) ≡ log(I −1 ). In this manner, the delocalisation measured by the inverse of the inverse participation ratio is related to the concept of entropy. Furthermore, the limiting case of H α , as α → 1, is the Shannon entropy in the form of (3) It can be easily proven using the L'Hôspital rule as follows: , where f (α) = log ( N j=1 ρ α j ) and g(α) = 1 − α, and their derivatives f (α) and g (α), respectively.
We make use of the Rényi entropy to study the wavefunction (de)localisation for avoided crossing in figure1; the explicit results are shown in figure3. As shown in figure3(a), the red spheres and orange stars correspond to the cases of Shannon entropy (H S ) and Rényi entropy (H α ), respectively, for α=2.0, 1.8, 1.6, 1.4, 1.2, and 1.001. Both can be obtained from the normalised intensity distributions of the red mode in figure1, and these are maximised at the centre of the avoided crossing point (i.e., ε ≈ 0.91) for each α. The H α profiles converge to H S as α approaches 1, which confirms Eq. (3). In addition, H S and H α in panel (b) were observed to behave similar to those in panel (a) in figure3.
Moreover, when α does not converge to 1 (the Shannon entropy), particularly when we compare the Rényi entropy at α = 2 with the Shannon entropy, we can easily observe that their profiles are significantly similar to each other, despite their absolute values being different. This fact reveals that Shannon entropy can also be a useful method to quantify the wavefunction (de)localisation for avoided crossing in a quantum billiard.

Root-Mean-Square Image Contrast
In this section, we assume that the effective basis |i for the position space corresponds to the pixel of the morphology (or image) of the wavefunction. Then, we can exploit the wavefunction intensity ρ(x j ) as the pixel intensity I P (x j ) of the image of the wavefunction. In doing so, the measure of wavefunction (de)localisation can be converted into the measure of the intensity contrast of the image.
For this approach, we introduce the RMS contrast C [37,38,39] in terms of the pixel intensity defined as follows: where I P is the average of all pixel intensities in the image, I j P is the jth pixel intensity, and N is the total number of pixels. Contrary to other contrast measures, the RMS contrast does not depend on the specific morphology of the image. That is, we can quantitatively compare the contrast having different morphologies by using RMS contrast [37,38,39]. Figure 4 presents the results.
The RMS contrast of the pixel intensity of the wavefunctions for two interacting modes in figure 1 is shown in figure 4. The two values (indicated by red squares and blue circles) of C decrease as the centre of the avoided crossing is approached, and they are exchanged across the avoided crossing. This behaviour is also significantly similar to the inverse participation ratio in figure 2(a). Thus, the RMS contrast C, which is more intuitive and practical, can be used as a measure of the wavefunction (de)localisation property.

Comparison of Three-Type Measures
The inverse participation ratio I, inverse of the Shannon entropy H −1 S , and RMS contrast C, are compared. These quantities are shown in figures 5(a), 5(b), and 5(c), respectively. For a fair comparison, we consider that all quantities must be normalised to their maximal values (See the caption in figure 5). It is clearly observed that all of them behave in a similar manner. That is, they are minimised at the centre of the avoided crossing and are also exchanged across the centre of the avoided crossing. These results indicate that H −1 S and C can also be meaningful indicators for wavefunction (de)localisation along with I. Furthermore, we observe that the difference between the maximal and minimal values of C is larger than those of the other two quantities. Thus, we can consider that C is the most sensitive measure at least in our conducted numerical study (not in general case).
However, each quantity has its advantages. The inverse participation ratio I is well defined in the position space, momentum space, or in the total phase space [45]. We can extend the wavefunction (de)localisation to the information theory by addressing H −1 S , whereas C may be a useful tool for interpreting the wavefunction (de)localisation in the framework of image processing tasks. In addition, the localisation measures in previous work [45] are related to those in this paper but are different. Those in the work [45] are defined on the phase space and are suitable for analysing the chaotic eigenfunctions whereas our measures are defined on the position space and are more suitable for analysing the effect of the mixing of wavefunctions under the avoided crossings.
In addition, to demonstrate the general validity of our argument, we apply the three-type measures to an open elliptic billiard in 6. We notice that a similar trend is observed with the closed quadrupole billiard. This is not a trivial result sine the avoided crossing in 1 comes from the nonlinear dynamical effects in a chaotic system whereas the avoided crossing in 6 comes from the openness effects in non-Hermitian system [30,46].

Conclusions
The inverse participation ratio, Rényi entropy, and RMS image contrast were investigated in a quadrupole billiard and an open elliptic billiard for the measurement of the wavefunction (de)localisation in an avoided crossing. The inverse participation ratio, as a measure of wavefunction localisation, is minimised at the centre of the avoided crossing and increases towards the ends of the avoided crossing. For the extension from the wavefunction delocalisation to the information theory, we employed the logarithm of the inverse of the inverse participation ratio instead of the inverse of the inverse participation ratio.
We confirmed that Shannon entropy can also be another indicator of wavefunction delocalisation. Moreover, we exploited the RMS image contrast of the pixel intensity of the mode pattern to quantify the wavefunction localisation, and the RMS image contrast was minimised as the centre of interaction approached. Consequently, we confirmed that the strength of the interaction can be related to the image contrast. The three indicators of wavefunction (de)localisation behave similarly; however, the RMS image contrast is the most sensitive at least in our presented example. The eigenvalues that we have used in this paper are in the low-energy region, and not in the semiclassical region. Apparently, one can expect that the effects of (de)localisation would be enhanced in the semi-classical (high-energy) range. We will address these conjectures on phase space as well as configuration space in our future works.