betaFeedback

WorksPhysics and Astronomy

Hypergraph modelling of wave scattering to speed-up material design

Abstract

Hypergraphs offer a generalized framework for understanding complex systems, covering group interactions of different orders beyond traditional pairwise interactions. This modelling allows for the simplified description of simultaneous interactions among multiple elements in coupled oscillators, graph neural networks, and entangled qubits. Here, we employ this generalized framework to describe wave-matter interactions for material design acceleration. By devising the set operations for multiparticle systems, we develop the hypergraph model, which compactly describes wave interferences among multiparticles in scattering events by hyperedges of different orders. This compactness enables an evolutionary algorithm with O(N1/2) time complexity and approximated accuracy for designing stealthy hyperuniform materials, which is superior to traditional methods of O(N) scaling. By hybridizing our hypergraph evolutions to the conventional collective-coordinate method, we preserve the original accuracy, while achieving substantial speed-up in approaching near the optimum. Our result paves the way toward scalable material design and compact interpretations of large-scale multiparticle systems.

@page 1/38 starts_mid=0 ends_mid=1 conventional collective-coordinate method, we preserve the original accuracy, while achieving substantial speed-up in approaching near the optimum. Our result paves the way toward scalable material design and compact interpretations of large-scale multiparticle systems.

Introduction

Employing a statistical perspective on material science has substantially extended material phases characterized by microstructures[1]. Beyond the traditional classification of ordered and disordered phases that are represented by crystals and Poisson materials, respectively, the concept of correlated disorder has unveiled various counterintuitive wave phenomena2. For example, utilizing the reciprocal-space design of two-point correlation functions, hyperuniformity3 and stealthiness4 enable the coexistence of wave behaviours traditionally considered those in crystals and in Poisson materials: perfect bandgaps and transparency with statistically isotropic responses5,6.

To exploit such statistically defined material phases, it is crucial to develop efficient design strategy of large-scale systems for satisfying preconditions, such as statistical homogeneity and ergodicity[1]. Representative approaches include variational methods7-9, evolutionary designs10-12, and deep learning13,14. In all these methods, the critical issue lies in realizing the fast and accurate design process. Although the methods based on governing equations offer relatively high accuracy, their time complexity usually has a lower bound of O(N)O(N), where NN denotes the number of elements. Recently, deep learning has attracted much attention because of excellent speed-up at a given NN, despite its relatively degraded accuracy13. However, the increase of NN in deep learning based on matrix operations requires severely degraded scaling of ∼O(N2)\sim O(N^{2}) in preparing datasets, training neural networks, and conducting inferences.

To resolve this issue, we can envisage reducing the effective number of elements for a given NN. This reduction can be accomplished by grouping related sub-elements across the entire system—an approach analogous to hypergraphs in network science15-17. The concept of hypergraphs has enabled the representation of interactions among groups of elements— hyperedges—which provides the compact descriptions of long-range entangled qubits18,19, neural network weights20,21, and social interactions22,23. By introducing hypergraphs to material design, we can expect the representation of collective wave-matter interactions of a group of elements by a hyperedge, thereby allowing for the reduction of design parameters.

Here, we develop the hypergraph modelling of wave scattering, which we call scattering hypergraph, to accelerate material design. For multiparticle systems, we define set operations to generate a large-scale system from seed subsets. Using these set operations under the Born approximation, we model interferences among each particle group as hyperedges of different orders. The obtained hypergraph represents scattering events with greatly reduced design parameters, allowing for O(N1/2)O(N^{1/2}) time complexity in our example of designing stealthy hyperuniform (SHU) materials. By combining this model to the collective-coordinate method7, we simultaneously achieve the substantial speed-up of material design while preserving its accuracy. Our hypergraph model with the hybrid design method offers not only remarkable performance figures in material design but also a viewpoint on capturing collective wave-matter interactions.

Results

Set operations for scattering hypergraphs

Consider an NN-particle system composed of non-interacting identical point particles. The system is characterized by a set of particle positions, as R={rn:1≤n≤N}\mathbf{R} = \{\mathbf{r}_n: 1 \le n \le N\}, where rn\mathbf{r}_n is the position of the nnth particle. For a planewave incidence under the first-order Born approximation, the scattering intensity is proportional to the structure factor24, S(k)=∣∑nexp⁡(−ik⋅rn)∣2/NS(\mathbf{k}) = \left|\sum_n \exp(-i\mathbf{k}\cdot\mathbf{r}_n)\right|^2/N, where k=ks−ki\mathbf{k} = \mathbf{k}_s - \mathbf{k}_i is the wavevector shift between the incident and scattered wavevectors ki\mathbf{k}_i and ks\mathbf{k}_s, respectively (Figure 1a).

Set operations for scattering hypergraphs

Figure 1. Set operations for scattering hypergraphs. a, Scattering from a multiparticle system. The black circle represents the multiparticle system. Green and cyan arrows represent incident and scattered waves with wavevector ki\mathbf{k}_i and ks\mathbf{k}_s, respectively. The grey line indicates the structure factor of the system, while the lengths of the grey arrows describe the angular scattering intensity. b, The scattering network modelling of the system. Each dot and solid line represent a node and an edge, respectively. Only a small portion of the edges are shown. The transparency of the solid lines indicates the edge weights. The red dots represent the nnth and n′n'th nodes, and the red solid line represents the edge connecting the two nodes. c,d,h, The seed set Q\mathbf{Q} (c) decomposed into three subsets Q1\mathbf{Q}_1, Q2\mathbf{Q}_2, and Q3\mathbf{Q}_3 (d) and the material phase R\mathbf{R} satisfying R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 (h). e-g, Three types of set operations: the union (e), complement (f), and Minkowski addition (g).

As demonstrated in the previous work12, the overall scattering response of the system can be modelled with a graph network, which possesses self- and pairwise interactions, or equivalently, first- and second-order interactions. In this modelling, a node and an edge of the graph correspond to a particle and the scattering interference between a pair of particles, respectively, leading to the following edge weight between the nnth and n′n'th nodes:

wn,n′=⟨cos⁡[k⋅(rn−rn′)]⟩K≜wm,(1)w_{n,n'}=\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}_n-\mathbf{r}_{n'}\right)\right]\right\rangle_{\mathbf{K}}\triangleq w_m, \tag*{(1)}

where mm denotes the index of the edge (n≠n′n\ne n', 1≤m≤M1\le m\le M for M=N(N−1)/2M=N(N-1)/2), K\mathbf{K} is the region of interest in reciprocal space, and ⟨…⟩K\langle\ldots\rangle_{\mathbf{K}} denotes the average inside K\mathbf{K} (Figure 1b). According to Eq. (1), this weighted graph allows for describing wave scattering using network parameters, as follows:

⟨S(k)⟩K=1+2N∑m=1Mwm=1+1N∑n=1Ndn,(2)\left\langle S(\mathbf{k})\right\rangle_{\mathbf{K}}=1+\frac{2}{N}\sum_{m=1}^{M}w_m=1+\frac{1}{N}\sum_{n=1}^{N}d_n, \tag*{(2)}

where dnd_n is the node degree of the nnth node. As examined in network science25, the node degree represents the centrality of each node, quantifying the impact of the node on the entire scattering. Despite the advantages of this graph modelling, such as the evolutionary design12 analogous to scale-free networks26, its computational efficiency is equivalent to traditional scattering theory: O(N)O(N) scaling in evaluating NN node degrees.

Revisiting critical advantages of hypergraphs in describing collective dynamics in social22,23, biological27,28, chemical29, and quantum systems18,19, we employ the concept of hypergraphs to the modelling of scattering events, focusing on grouping shared interactions, and therefore, achieving below O(N)O(N) computation efficiency. In this context, inspired by the hyperedge in hypergraph theory15, which is classified by its order—the number of connected nodes—we introduce the concept of the hyperedge classified by the number of participating particles in the scattering event.

To characterize participating particles in a hyperedge, we introduce a seed set of particle positions Q={rq:1≤q≤NQ}\mathbf{Q} = \{r_q: 1 \leq q \leq N_Q\} (Figure 1c) and its subsets Ql⊂Q\mathbf{Q}_l \subset\mathbf{Q}, each composed of NlN_l particles (1≤l≤L1 \leq l \leq L; Figure 1d), where Ql\mathbf{Q}_l are mutually exclusive sets satisfying Q=⋃lQl\mathbf{Q} = \bigcup_l \mathbf{Q}_l and NQ=∑lNlN_Q = \sum_l N_l.

As the mathematical foundation of defining hyperedges, we develop three fundamental set operations: union (Q1∪Q2\mathbf{Q}_1 \cup\mathbf{Q}_2, Figure 1e), complement (Q1∖Q2\mathbf{Q}_1 \setminus\mathbf{Q}_2, Figure 1f), and Minkowski addition (Q1+Q2\mathbf{Q}_1 + \mathbf{Q}_2, Figure 1g). By combining these set operations, we can obtain diverse particle systems distinct from Q\mathbf{Q}, possessing different particle distributions and unpreserved particle number. Figure 1h shows an example of resulting systems from R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3, which includes N=N1N2+N3N = N_1N_2 + N_3 particles. When considering the particle number of Q\mathbf{Q}, NQ=N1+N2+N3N_Q = N_1 + N_2 + N_3, we can expect the systematic design of large-scale systems from a small seed system.

Scattering hypergraphs

Under the set operations described in Figure 1, we develop a hypergraph model to describe scattering from a multiparticle system R\mathbf{R}, where the nodes of the hypergraph correspond to particles of the seed system Q=⋃lQl\mathbf{Q} = \bigcup_l Q_l, and the hyperedges are characterized by the participating set operations. Notably, there are an infinite number of allowed combinations of the set operations as described in Figure 2a, each of which represents a distinct multiparticle system. As an example, we illustrate the hypergraph modelling for the relation R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 (Figure 2b,Figure 2c). By examining the scattering from the system R\mathbf{R} under the Born approximation (Figure 2b), the scattering intensity, which is identical to the structure factor S(k)S(\mathbf{k}), can be expressed as (Supplementary Note S1):

Scattering hypergraph configuration

Figure 2. Scattering hypergraph configuration. a, A seed material Q=Q1∪Q2∪Q3\mathbf{Q} = \mathbf{Q}_1 \cup\mathbf{Q}_2 \cup\mathbf{Q}_3, allowing for generating various material phases through set operations, such as R\mathbf{R}, R′\mathbf{R}', and R′′\mathbf{R}''. b, Wave scattering from R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3. Green and cyan arrows represent incident and scattered waves with wavevectors ki\mathbf{k}_i and ks\mathbf{k}_s, respectively. c, The scattering hypergraph for R\mathbf{R}. Because every group of nodes of type i=(1,1)i = (1,1), (2,2)(2,2), (3,3)(3,3), (1,2,3)(1,2,3), or (1,1,2,2)(1,1,2,2) is linked by an ii-type hyperedge, only a portion of hyperedges is visualized. For example, the (1,2,3)(1,2,3)-type hyperedge connecting three nodes at rn∈Q1\mathbf{r}_n \in\mathbf{Q}_1, rn′∈Q2\mathbf{r}_{n'} \in\mathbf{Q}_2, and rn′′∈Q3\mathbf{r}_{n''} \in\mathbf{Q}_3 is illustrated. Its weight is defined as Eq. (4).

⟨S(k)⟩K=1+2N∑iηi∑m=1Miwmi,(3)\left\langle S(\mathbf{k}) \right\rangle_{\mathbf{K}} = 1 + \frac{2}{N} \sum_i \eta_i \sum_{m=1}^{M_i} w_m^i, \tag*{(3)}

where ii and mm denote the type and index of hyperedges, respectively, MiM_i is the number of the ii-type hyperedges, wmiw_m^i denotes the weight of the mmth ii-type hyperedge, and ηi\eta_i represents the group weight of ii-type hyperedges.

Equation (3) illustrates the hypergraph representation of the scattering from the material R\mathbf{R}. In the hypergraph, hyperedges are classified by their type i=(l1,l2,…)i = (l_1, l_2, \ldots), which depicts the subsystems of participating nodes in each hyperedge. While the allowed types are determined by the governing set operation, here, R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 (Figure 2c; Supplementary Note S1), each type possesses its unique expression of a hyperedge weight (Supplementary Tables S1-S3). For example, the type of i=(1,2,3)i = (1, 2, 3) dictates the participating nodes of rn∈Q1\mathbf{r}_n \in\mathbf{Q}_1, rn′∈Q2\mathbf{r}_{n'} \in\mathbf{Q}_2, and rn′′∈Q3\mathbf{r}_{n''} \in\mathbf{Q}_3 (Figure 2c). According to the set operation R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3, the resulting particles in R\mathbf{R} are located at rn+rn′\mathbf{r}_n + \mathbf{r}_{n'} and rn′′\mathbf{r}_{n''}. The scattering interference from these particles (Figure 2b) leads to the following third-order hyperedge (Figure 2c):

wm(1,2,3)=⟨cos⁡[k⋅(rn+rn′−rn′′)]⟩K,(4)w_m^{(1,2,3)} = \left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}_n+\mathbf{r}_{n'}-\mathbf{r}_{n''}\right)\right]\right\rangle_{\mathbf{K}}, \tag*{(4)}

where mm is the index of the (1,2,3)(1,2,3)-type hyperedge (1≤m≤M(1,2,3)=N1N2N31 \le m \le M_{(1,2,3)} = N_1N_2N_3) for the set (rn,rn′,rn′′)(\mathbf{r}_n, \mathbf{r}_{n'}, \mathbf{r}_{n''}). Because both pairwise- and hyper-graph models represent the same scattering. phenomenon, we can always find the corresponding pairwise edges for each hyperedge, while demonstrating the superior compactness of the hypergraph model (Supplementary Note S2).

As the generalization of node degrees in network science25, we define the ii-type hyperdegree dnid_n^i by summing all the ii-type hyperedge weight at each node, which quantifies the impact of the nnth node in Q\mathbf{Q} on the ii-type scattering (Methods). While a node in Q\mathbf{Q} imposes differentiated impacts on each type of hyperedges, the contribution of each hyperedge type to the overall scattering is also differentiated, which is characterized by the group weight ηi\eta_i. Such an increased expressivity of network structures allows for the representation of diverse multiparticle systems R\mathbf{R} using a small seed system Q\mathbf{Q}.

Hypergraph generation of materials

Based on the hypergraph modelling of scattering, we demonstrate the designer generation of large-scale multiparticle systems R\mathbf{R} from a small-scale seed system Q\mathbf{Q}. As an illustrative example, we investigate the set operation R=Q1+Q2\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2, which enables the generation of 10410^4 particle systems with the target scattering responses by manipulating 200 particles of N1=N2=100N_1 = N_2 = 100.

For the multiparticle system generation, we develop the evolutionary design process of a scattering hypergraph (Figure 3a-Figure 3d), which is constituted with the ‘Growth’ and ‘Projection’ processes. In the ‘Growth’ stage at each epoch, a new node is attached to one of the seed subsystems Q1Q_1 or Q2Q_2 at the optimal position to minimize a specific cost function for the target scattering (from Figure 3a to Figure 3c). In the ‘Projection’ stage, the new node is projected to a real space according to the set operation in Figure 1, leading to the generation of multiparticles in a real space (from Figure 3b to Figure 3d). This emergence of multiparticles enables large-scale system generation in our hypergraph modelling.

Hypergraph design of SHU materials

Figure 3. Hypergraph design of SHU materials. a,c, Scattering hypergraphs before (a) and after (c) the attachment of a new node of Q1Q_1 from the ‘Growth’ process. The spatial configuration of the nodes represents the seed system Q=Q1∪Q2Q = Q_1 \cup Q_2. b,d, Generated materials R=Q1+Q2R = Q_1 + Q_2 before (b) and after (d) the ’Projection’ process. e,f, Evolution of material structures of QQ (e) and RR (f) at t=20t = 20, 5050, and 198198. Because each subsystem evolves in alternating order, the particle number of RR is N=(t/2+1)2N = (t/2 + 1)^2 for even epoch tt. The boxes represent the supercell. g,h, Time evolutions of ⟨S(k)⟩K\langle S(k)\rangle_K (g) and SiS_i (h). 100 realizations are investigated with different Monte Carlo sampling of a real space (Methods).

As an example, we apply our design process to generate SHU materials3, which are characterized by suppressed scattering responses against long-wavelength incident waves: ⟨S(k)⟩K≈0\langle S(\mathbf{k}) \rangle_{\mathbf{K}} \approx0, where the region of interest K\mathbf{K} denotes a finite reciprocal space around k=0\mathbf{k} = 0 (Methods). To minimize ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} in Eq. (3), the cost function is defined as (Supplementary Note S3):

ρ(r;l)=∑iηidevoli(r;l),(5)\rho(\mathbf{r};l) = \sum_i \eta_i d_{\mathrm{evol}}^i(\mathbf{r};l), \tag*{(5)}

where devoli(r;l)d_{\mathrm{evol}}^i(\mathbf{r};l) denotes the ii-type hyperdegree of a node located at r\mathbf{r} in the llth subsystem QlQ_l (l=1l = 1 or 22). When attaching new nodes and evaluating S(k)S(\mathbf{k}), we employ the periodic boundary condition with a supercell configuration (Methods).

Figures 3e and 3f illustrate the evolutions of hypergraph nodes Q=Q1∪Q2\mathbf{Q} = \mathbf{Q}_1 \cup\mathbf{Q}_2 and the corresponding multiparticle system R\mathbf{R}, respectively, and the resulting evolution ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} is shown in Figure 3g (Supplementary Note S4 for other set operations). The evolutions show that the optimization process operates well with rapid reduction of ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} before experiencing the finite boundary of the supercell near the epoch t=22t = 22. Although the overall trend of decreasing ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_K maintains also after t=22t = 22, the speed of ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_K suppression becomes substantially reduced, hindering the ultimate approach to the desired level of suppression (Supplementary Video S1 for the time evolutions of material systems Q and R).

To investigate the origin of this phenomenon, we examine the effect of each hyperedge, which can be quantified by Si=∑m2ηiwmi/NS_i = \sum_m 2\eta_i w_m^i/N (i=(1,1)i = (1,1), (2,2)(2,2), or (1,1,2,2)(1,1,2,2)), where ⟨S(k)⟩K=1+∑iSi\langle S(\mathbf{k})\rangle_K = 1 + \sum_i S_i from Eq. (3). Figure 3h shows the evolution of each edge component, representing their differentiated contributions to the total cost function. We note that such contributions are tunable by imposing the preference on each hyperedge (Supplementary Note S5). However, the existence of undesired contributions, here from S(1,1,2,2)S_{(1,1,2,2)}, hinders the complete suppression of wave scattering in R, and therefore, the realization of the target material. Considering the handling of large-scale systems from the ‘Projection’ process and the rapid decrease before experiencing boundary effects, we can characterize the properties of hypergraph material generation—speed-up but rough design process to the optimum.

Time complexity and hybrid design

To estimate and advance the proposed design method, we analyse the scalability in time complexity (Figure 4a) and accuracy (Figure 4b) of our method compared to the traditional collective-coordinate method7 and pairwise-edge evolving networks12. fig:4a demonstrates O(N1/2)O(N^{1/2}) time complexity of the proposed method in generating NN-particle SHU systems, which is superior to O(N)O(N) scaling of both the collective-coordinate method and evolving scattering networks. We note that, despite recent advances in the collective-coordinate method to accelerate large-scale SHU design30,31, the complexity remains O(N)O(N) for a fixed suppression region K\mathbf{K}. The observed improvement in our approach originates from the quadratic scaling of the particle number N=O(t2)N = O(t^2) for the employed set operation R=Q1+Q2\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2 (Supplementary Note S6 and Supplementary Algorithm S1 for details). Therefore, we can achieve further improvements by adopting different set operations, for example, O(N1/3)O(N^{1/3}) for R=Q1+Q2+Q3\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2 + \mathbf{Q}_3.

Figure 4. a,b, Computation time for the design of an NN-particle material (a) and resulting scattering response ⟨S(k)⟩K\langle S(k)\rangle_K (b) using the collective-coordinate method (orange) and time evolution of scattering networks (green) and scattering hypergraphs (blue). c, Temporal variation of ⟨S(k)⟩K\langle S(k)\rangle_K during the optimization process from the collective-coordinate method (orange) and the hybrid approach (purple). In the hybrid design approach, hypergraph evolution is terminated at the dotted vertical line and collective-coordinate optimization follows. The final particle number is set to N=5002N = 500^{2} in both methods for comparison. Circular points and error bands denote the ensemble average and the standard deviation of an ensemble of 50 realizations for each design method in (a-c). See Methods for details.

However, as expected from Figure 3g and Figure 3h, superior scalability appears with the degraded design accuracy, as shown in ⟨S(k)⟩K\langle S(k) \rangle_{\mathbf{K}} in Figure 4b. While evolutionary methods outperform the collective-coordinate method with uniformly random initializations for small NN, they cannot completely suppress wave scattering for large-NN systems in contrast to the collective-coordinate method. Notably, hypergraph design exhibits even worse accuracy than pairwise-edge networks due to the reduction of design freedom from the hyperedge grouping of interferences.

To reconcile design speed-up and strict SHU constraints, we develop a hybrid method that combines scattering hypergraphs and collective-coordinate methods, analogous to quantum-classical hybrid acceleration in reinforcement learning32. At the first stage of the design, scattering hypergraph evolves to achieve an NN-particle quasi-SHU system with O(N1/2)O(N^{1/2}) time scaling. In the subsequent stage, we apply collective-coordinate optimization to fine-tune the obtained system for the strict SHU condition. Figure 4c shows superior design performance of the proposed hybrid design compared to the stand-alone collective-coordinate method.

Discussion

When considering the rapid and highly accurate convergence of our hybrid method to the optimum, the hypergraph evolution stage in the method can be interpreted as the preparation of well-operating initial conditions applied to the collective-coordinate method. We note that this preparation is efficient to search for the global optimum, because of the evolutionary nature of the proposed hypergraph design starting from one particle that possesses the minimum initial constraint. This idea indicates a general recipe for developing a hybrid of evolving and static design procedures not restricted to our hypergraph modelling.

Although we have demonstrated the emergence of fourth-order hyperedges and design acceleration with the simplest Minkowski addition, R=Q1+Q2\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2, the systematic investigation on extended set operations will fully realize the potential of our method. For instance, generalizing R=Q1+Q2\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2 into R=Q1+Q2+…+QL\mathbf{R} = \mathbf{Q}_1 + \mathbf{Q}_2 + \ldots+ \mathbf{Q}_L could facilitate very-large-scale material design with O(N1/L)O(N^{1/L}) time complexity through up to 2L2L-order hyperedge modelling. Considering the major impact of evolving algorithms—varying system sizes and updating rules25,33,34—we can also envisage the dynamical change of set operations along the evolution.

In summary, we have developed a hypergraph framework for scalable design of materials with the target scattering. Based on the set operations for multiple particles and their combinations, we interpreted scattering responses through hyperedges of different orders. This hypergraph modelling substantially reduces the effective particle number representing large-scale systems, allowing for the quadratic reduction in computation time in our example. We note that such a group interaction modelling resembles the tensor-product representation in quantum states35, which inspires the hybrid algorithm combined with conventional high-accuracy design method analogous to quantum-classical hybrid learning32. We envisage the extension of our perspective beyond scattering events to various wave phenomena.

Methods

Node hyperdegrees. Analogous to Eq. (2) that decomposes the scattering response of the entire system into the contributions of each node—the node degree—we examine the scattering response of the material R\mathbf{R} through node hyperdegrees. Equation (2) follows directly from the handshaking lemma for pairwise graphs:

∑n=1Ndn=2∑m=1Mwm.(6)\sum_{n=1}^{N} d_n = 2\sum_{m=1}^{M} w_m. \tag*{(6)}

The handshaking lemma is generalized for kk-uniform hypergraphs, which only contain hyperedges of order kk. Because scattering hypergraphs include hyperedges of diverse orders, we apply the generalized handshaking lemma to each interaction type ii, as follows:

∑n=1Ndni=∣i∣∑m=1Miwmi(7)\sum_{n=1}^{N} d_n^i = |i|\sum_{m=1}^{M_i} w_m^i \tag*{(7)}

where ∣i∣|i| denotes the order of ii-type hyperedges. Substituting Eq. (7) into Eq. (3) yields a direct link between the total scattering response and node hyperdegrees:

⟨S(k)⟩k=1+2N∑iηi∣i∣∑n=1Ndni.(8)\langle S(\mathbf{k})\rangle_{\mathbf{k}} = 1 + \frac{2}{N}\sum_i \frac{\eta_i}{|i|}\sum_{n=1}^{N} d_n^i. \tag*{(8)}

Preconditions for SHU material design. We impose a periodic boundary condition on Q\mathbf{Q} and R\mathbf{R} with the fundamental cell Ω={(x,y):−0.5≤x,y<0.5}\mathbf{\Omega} = \{(x,y): -0.5 \leq x,y < 0.5\}. We note that the Minkowski addition between two periodic subsystems Q1\mathbf{Q}_1 and Q2\mathbf{Q}_2 is defined the modulo periodicity, as Q1+Q2={(x+x′−⌊x+x′+0.5⌋,y+y′−⌊y+y′+0.5⌋):(x,y)∈Q1,(x′,y′)∈Q2}\mathbf{Q}_1+\mathbf{Q}_2 = \{(x+x'-\lfloor x+x'+0.5\rfloor, y+y'-\lfloor y+y'+0.5\rfloor): (x,y)\in\mathbf{Q}_1, (x',y')\in\mathbf{Q}_2\}, where ⌊⋯ ⌋\lfloor\cdots\rfloor denotes the floor function. In designing SHU materials with suppressed long-wavelength scattering, we focus on the reciprocal space region K={k∈Λ:0<∣k∣≤kth}\mathbf{K} = \{\mathbf{k}\in\mathbf{\Lambda}: 0 < |\mathbf{k}| \leq k_{\mathrm{th}}\}, where Λ=(2πZ)2\mathbf{\Lambda} = (2\pi\mathbb{Z})^2 is the reciprocal lattice. We set the threshold wavenumber kth=20πk_{\mathrm{th}} = 20\pi.

Evolutionary design process. We initialize the target material as R={0}\mathbf{R}=\{0\} and set both seed subsystems as Q1=Q2={0}\mathbf{Q}_1=\mathbf{Q}_2=\{0\}. These initial conditions do not lose generality because of the invariance of the structure factor against any translational shifts of the material R\mathbf{R} and the application of the periodic boundary condition. During the hypergraph evolution, each subsystem Ql\mathbf{Q}_l evolves in alternating order, starting from Q1\mathbf{Q}_1. The cost function is evaluated for candidate points Ωcand\mathbf{\Omega}_{\mathrm{cand}} randomly sampled in the fundamental cell Ω\mathbf{\Omega} through the Monte Carlo method. The number of Monte Carlo sampling points are set to $10^4$. Because the cost function can be evaluated in O(1)O(1) computation time independent of the current material size $N (Supplementary Note S6), the overall time complexity for hypergraph material design is O(t)=O(N1/2)O(t) = O(N^{1/2}) for the time step tt. On the other hand, the pairwise graph model corresponds to a trivial set operation R=Q\mathbf{R} = \mathbf{Q}, exhibiting O(t)=O(N)O(t) = O(N) scaling. See Supplementary Algorithm S1 for the pseudo-code form of our hypergraph evolution.

Collective-coordinate design process. The collective-coordinate algorithm minimizes ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_{\mathbf{K}} via gradient descent. Starting from an initial random configuration R={rn:1≤n≤N}\mathbf{R} = \{\mathbf{r}_n: 1 \le n \le N\} in Ω\mathbf{\Omega}, at each epoch, the collective-coordinate variables μ(k)=∑nexp⁡(−ik⋅rn)\mu(\mathbf{k}) = \sum_n \exp(-i\mathbf{k}\cdot\mathbf{r}_n) for all k∈K\mathbf{k} \in\mathbf{K} are computed. The gradient of ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_{\mathbf{K}} for the nnth particle is evaluated as:

∇rn⟨S(k)⟩K=2N⟨k⋅Im⁡(e−ik⋅rnμ∗(k))⟩K.(9)\nabla_{\mathbf{r}_n}\langle S(\mathbf{k})\rangle_{\mathbf{K}} = \frac{2}{N}\left\langle\mathbf{k}\cdot\operatorname{Im}\left(e^{-i\mathbf{k}\cdot\mathbf{r}_n}\mu^*(\mathbf{k})\right)\right\rangle_{\mathbf{K}}. \tag*{(9)}

Using the gradients for every particle, each particle position is updated by:

rn→rn−ε⋅∇rn⟨S(k)⟩K,(10)\mathbf{r}_n \to\mathbf{r}_n - \varepsilon\cdot\nabla_{\mathbf{r}_n}\langle S(\mathbf{k})\rangle_{\mathbf{K}}, \tag*{(10)}

where ε=0.05\varepsilon= 0.05 is the learning rate. This algorithm yields O(N)O(N) time complexity for a fixed number of iterations. We perform 1000 iterations for Figure 4a and Figure 4b.

Data availability

The data used in this study are available from the corresponding authors upon request and can also be accessed by running the code provided as Supplementary Code S1.

Code availability

The code used in this study is provided as Supplementary Code S1 to reproduce all data presented in this paper.

Acknowledgements

We acknowledge financial support from the National Research Foundation of Korea (NRF) through the Basic Research Laboratory (No. RS-2024-00397664), Innovation Research Center (No. RS-2024-00413957), Young Researcher Programs (No. 2021R1C1C1005031), and Midcareer Researcher Program (No. RS-2023-00274348), all funded by the Korean government. This work was supported by Creative-Pioneering Researchers Program and the BK21 FOUR program of the Education and Research Program for Future ICT Pioneers in 2024, through Seoul National University. We also acknowledge administrative support from SOFT foundry institute.

Author contributions

K.P. and S.Yu conceived the idea. K.P. developed the theoretical tool and performed the numerical analysis. I.L., S.Youn, and G.L. examined the theoretical and numerical analysis. N.P. proposed the application of hybrid approach. S.Yu and N.P. supervised the findings of this work. All authors discussed the results and wrote the final manuscript.

Competing interests

The authors have no conflicts of interest to declare.

Additional information

Correspondence and requests for materials should be addressed to N.P. or S.Y.

Figure Legends

Figure 1. Set operations for scattering hypergraphs. a, Scattering from a multiparticle system. The black circle represents the multiparticle system. Green and cyan arrows represent incident and scattered waves with wavevector ki\mathbf{k}_{i} and ks\mathbf{k}_{s}, respectively. The grey line indicates the structure factor of the system, while the lengths of the grey arrows describe the angular scattering intensity. b, The scattering network modelling of the system. Each dot and solid line represent a node and an edge, respectively. Only a small portion of the edges are shown. The transparency of the solid lines indicates the edge weights. The red dots represent the nnth and n′n'th nodes, and the red solid line represents the edge connecting the two nodes. c,d,h, The seed set Q\mathbf{Q} (c) decomposed into three subsets Q1\mathbf{Q}_{1}, Q2\mathbf{Q}_{2}, and Q3\mathbf{Q}_{3} (d) and the material phase R\mathbf{R} satisfying R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_{1} + \mathbf{Q}_{2}) \cup\mathbf{Q}_{3} (h). e-g, Three types of set operations: the union (e), complement (f), and Minkowski addition (g).

Fig. 2. Scattering hypergraph configuration. a, A seed material Q=Q1∪Q2∪Q3\mathbf{Q} = \mathbf{Q}_{1} \cup\mathbf{Q}_{2} \cup\mathbf{Q}_{3}, allowing for generating various material phases through set operations, such as R\mathbf{R}, R′\mathbf{R}', and R′′\mathbf{R}''. b, Wave scattering from R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_{1} + \mathbf{Q}_{2}) \cup\mathbf{Q}_{3}. Green and cyan arrows represent incident and scattered waves with wavevectors ki\mathbf{k}_{i} and ks\mathbf{k}_{s}, respectively. c, The scattering hypergraph for R\mathbf{R}. Because every group of nodes of type i=(1,1)i = (1,1), (2,2)(2,2), (3,3)(3,3), (1,2,3)(1,2,3), or (1,1,2,2)(1,1,2,2) is linked by an ii-type hyperedge, only a portion of hyperedges is visualized. For example, the (1,2,3)(1,2,3)-type hyperedge connecting three nodes at rn∈Q1\mathbf{r}_{n} \in\mathbf{Q}_{1}, rn′∈Q2\mathbf{r}_{n'} \in\mathbf{Q}_{2}, and rn′′∈Q3\mathbf{r}_{n''} \in\mathbf{Q}_{3} is illustrated. Its weight is defined as Eq. (4).

Figure 3. Hypergraph design of SHU materials. a,c, Scattering hypergraphs before (a) and after (c) the attachment of a new node of Q1\mathbf{Q}_{1} from the ‘Growth’ process. The spatial configuration of the nodes represents the seed system Q=Q1∪Q2\mathbf{Q} = \mathbf{Q}_{1} \cup\mathbf{Q}_{2}. b,d, Generated materials R=Q1+Q2\mathbf{R} = \mathbf{Q}_{1} + \mathbf{Q}_{2} before (b) and after (d) the ’Projection’ process. e,f, Evolution of material structures of Q\mathbf{Q} (e) and R\mathbf{R} (f) at t=20t = 20, 5050, and 198198. Because each subsystem evolves in alternating order, the particle number of R\mathbf{R} is N=(t/2+1)2N = (t/2 + 1)^2 for even epoch tt. The boxes represent the supercell. g,h, Time evolutions of ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} (g) and SiS_{i} (h). 100 realizations are investigated with different Monte Carlo sampling of a real space (Methods).

Figure 4. Time complexity analysis. a,b, Computation time for the design of an NN-particle material (a) and resulting scattering response ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} (b) using the collective-coordinate method (orange) and time evolution of scattering networks (green) and scattering hypergraphs (blue). c, Temporal variation of ⟨S(k)⟩K\langle S(\mathbf{k}) \rangle_{\mathbf{K}} during the optimization process from the collective-coordinate method (orange) and the hybrid approach (purple). In the hybrid design approach, hypergraph evolution is terminated at the dotted vertical line and collective-coordinate optimization follows. The final particle number is set to N=5002N = 500^2 in both methods for comparison. Circular points and error bands denote the ensemble average and the standard deviation of an ensemble of 50 realizations for each design method in (a-c). See Methods for details.

Supplementary Information for “Hypergraph modelling of wave scattering to speed-up material design”

Kunwoo Park; Ikbeom Lee; Seungmok Youn; Gitae Lee; Namkyoo Park; Sunkyu Yu

Note S1. Derivation of scattering hypergraph models

The first-order scattering intensity of a multiparticle system R={rn:1≤n≤N}\mathbf{R}=\{\mathbf{r}_n:1\le n\le N\} is proportional to its structure factor S(k)=∣∑nexp⁡(−ik⋅rn)∣2/NS(\mathbf{k})=\lvert\sum_n\exp(-i\mathbf{k}\cdot\mathbf{r}_n)\rvert^2/N. From Eq. (1) and Eq. (2) in the main text, the averaged scattering across K\mathbf{K} is proportional to:

⟨S(k)⟩K=1+2N∑k<n′⟨cos⁡[k⋅(rn−rn′)]⟩K.(11)\left\langle S(\mathbf{k})\right\rangle_{\mathbf{K}}=1+\frac{2}{N}\sum_{k<n'}\left\langle\cos\left[\mathbf{k}\cdot(\mathbf{r}_n-\mathbf{r}_{n'})\right]\right\rangle_{\mathbf{K}}. \tag*{(11)}

This expression underpins the definition of edge weights in the previous study on pairwise-edge network modelling of wave scattering[1].

To generalize the above pairwise graph modelling to hypergraphs, we introduce a seed set Q\mathbf{Q} and its mutually exclusive subsets Ql={rnl:1≤n≤Nl}\mathbf{Q}_l=\{\mathbf{r}_n^l:1\le n\le N_l\} as defined in the main text. These subsets collectively determine the target material system R\mathbf{R} through set operations. Inspired by Eq. (11), we express the scattering by R\mathbf{R} in the form of Eq. (3) in the main text, allowing for introducing a set of hyperedges that are determined by the applied set operations in constructing R\mathbf{R}. In the following, we derive hyperedge weights and group weights, which characterize hyperedges, for three different examples of R\mathbf{R}: (i) R=Q1+Q2\mathbf{R}=\mathbf{Q}_1+\mathbf{Q}_2, (ii) R=(Q1+Q2)∪Q3\mathbf{R}=(\mathbf{Q}_1+\mathbf{Q}_2)\cup\mathbf{Q}_3, and (iii) R=(Q1+Q2)∖Q3\mathbf{R}=(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3. The resulting hypergraph for each example provides an alternative interpretation of wave scattering from R\mathbf{R} through the connectivity between hypergraph nodes that are the elements of Q\mathbf{Q}.

(i) R=Q1+Q2\mathbf{R}=\mathbf{Q}_1+\mathbf{Q}_2: By definition, the structure factor of R\mathbf{R} is

S(k)=1+1N{∑n2=1N2∑n1=1n1≠n1′N1cos⁡[k⋅((rn11+rn22)−(rn1′1+rn22))]+∑n1=1N1∑n2=1n2≠n2′N2cos⁡[k⋅((rn11+rn22)−(rn11+rn2′2))]+∑n1≠n1′n2≠n2′cos⁡[k⋅((rn11+rn22)−(rn1′1+rn2′2))]}.(12)\begin{aligned} S(\mathbf{k})={}&1+\frac{1}{N}\Bigg\{\sum_{n_2=1}^{N_2}\sum_{\substack{n_1=1\\n_1\ne n_1'}}^{N_1}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}_{n_1}^{1}+\mathbf{r}_{n_2}^{2}\right)-\left(\mathbf{r}_{n_1'}^{1}+\mathbf{r}_{n_2}^{2}\right)\right)\right]\\ &+\sum_{n_1=1}^{N_1}\sum_{\substack{n_2=1\\n_2\ne n_2'}}^{N_2}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}_{n_1}^{1}+\mathbf{r}_{n_2}^{2}\right)-\left(\mathbf{r}_{n_1}^{1}+\mathbf{r}_{n_2'}^{2}\right)\right)\right]\\ &+\sum_{\substack{n_1\ne n_1'\\n_2\ne n_2'}}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}_{n_1}^{1}+\mathbf{r}_{n_2}^{2}\right)-\left(\mathbf{r}_{n_1'}^{1}+\mathbf{r}_{n_2'}^{2}\right)\right)\right]\Bigg\}. \tag*{(12)} \end{aligned}

which results in the average across K\mathbf{K}:

⟨S(k)⟩K=1+2N{N2∑n1<n1′⟨cos⁡[k⋅(rn11−rn1′1)]⟩K+N1∑n2<n2′⟨cos⁡[k⋅(rn22−rn2′2)]⟩K+2∑n1<n1′∑n2<n2′⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩K}.(13)\langle S(\mathbf{k})\rangle_{\mathrm{K}}=1+\frac{2}{N}\left\{N_{2}\sum_{n_{1}<n'_{1}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\right\rangle_{\mathrm{K}}+N_{1}\sum_{n_{2}<n'_{2}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathrm{K}} +2\sum_{n_{1}<n'_{1}}\sum_{n_{2}<n'_{2}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathrm{K}}\right\}. \tag*{(13)}

Comparing Eq. (13) with Eq. (3) in the main text, hyperedge weights, group weights, and the number of hyperedges for each group are obtained as Table S1.

Riiwmiw^{i}_{m}ηi\eta_{i}MiM_{i}
Q1+Q2\mathbf{Q}_{1}+\mathbf{Q}_{2}(1,1)⟨cos⁡[k⋅(rn11−rn1′1)]⟩K\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\right\rangle_{\mathrm{K}}N2N_{2}N1(N1−1)/2N_{1}(N_{1}-1)/2
Q1+Q2\mathbf{Q}_{1}+\mathbf{Q}_{2}(2,2)⟨cos⁡[k⋅(rn22−rn2′2)]⟩K\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathrm{K}}N1N_{1}N2(N2−1)/2N_{2}(N_{2}-1)/2
Q1+Q2\mathbf{Q}_{1}+\mathbf{Q}_{2}(1,1,2,2)⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩K\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathrm{K}}22N1(N1−1)N2(N2−1)/4N_{1}(N_{1}-1)N_{2}(N_{2}-1)/4

Table S1. Table S1. Hypergraph definitions of R=Q1+Q2\mathbf{R}=\mathbf{Q}_{1}+\mathbf{Q}_{2}. ii and mm denote the type and index of hyperedges, respectively, MiM_{i} is the number of the ii-type hyperedges, wmiw^{i}_{m} is the weight of the mmth ii-type hyperedge, and ηi\eta_{i} is the group weight of ii-type hyperedges.

(ii) R=(Q1+Q2)∪Q3\mathbf{R}=(\mathbf{Q}_{1}+\mathbf{Q}_{2})\cup\mathbf{Q}_{3}: The structure factor and its average across K\mathbf{K} become

S(k)=1+1N{∑n2=1n1≠n1′N2cos⁡[k⋅((rn11+rn22)−(rn1′1+rn22))]+∑n1=1n2≠n2′N1cos⁡[k⋅((rn11+rn22)−(rn11+rn2′2))]+∑n3≠n3′cos⁡[k⋅(rn33−rn3′3)]+2∑n1=1N1∑n2=1N2∑n3=1N3cos⁡[k⋅((rn11+rn22)−rn33)]+∑n1≠n1′∑n2≠n2′cos⁡[k⋅((rn11+rn22)−(rn1′1+rn2′2))]},(14)S(\mathbf{k})= 1+\frac{1}{N}\left\{\sum_{\substack{n_{2}=1\\n_{1}\ne n'_{1}}}^{N_{2}}\cos\left[\mathbf{k}\cdot\left((\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}})-(\mathbf{r}^{1}_{n'_{1}}+\mathbf{r}^{2}_{n_{2}})\right)\right]+\sum_{\substack{n_{1}=1\\n_{2}\ne n'_{2}}}^{N_{1}}\cos\left[\mathbf{k}\cdot\left((\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}})-(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n'_{2}})\right)\right] +\sum_{n_{3}\ne n'_{3}}\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_{3}}-\mathbf{r}^{3}_{n'_{3}}\right)\right]+2\sum_{n_{1}=1}^{N_{1}}\sum_{n_{2}=1}^{N_{2}}\sum_{n_{3}=1}^{N_{3}}\cos\left[\mathbf{k}\cdot\left((\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}})-\mathbf{r}^{3}_{n_{3}}\right)\right] +\sum_{n_{1}\ne n'_{1}}\sum_{n_{2}\ne n'_{2}}\cos\left[\mathbf{k}\cdot\left((\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}})-(\mathbf{r}^{1}_{n'_{1}}+\mathbf{r}^{2}_{n'_{2}})\right)\right]\right\}, \tag*{(14)}
⟨S(k)⟩k=1+2N{N2∑n1<n1′⟨cos⁡[k⋅(rn11−rn1′1)]⟩k+N1∑n2<n2′⟨cos⁡[k⋅(rn22−rn2′2)]⟩k+∑n3<n3′⟨cos⁡[k⋅(rn33−rn3′3)]⟩k+∑n1=1N1∑n2=1N2∑n3=1N3⟨cos⁡[k⋅(rn11+rn22−rn33)]⟩k+2∑n1<n1′∑n2<n2′⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩k}.(15)\langle S(\mathbf{k})\rangle_{\mathbf{k}}=1+\frac{2}{N}\left\{N_{2}\sum_{n_{1}<n'_{1}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\right\rangle_{\mathbf{k}}+N_{1}\sum_{n_{2}<n'_{2}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathbf{k}} +\sum_{n_{3}<n'_{3}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_{3}}-\mathbf{r}^{3}_{n'_{3}}\right)\right]\right\rangle_{\mathbf{k}}+\sum_{n_{1}=1}^{N_{1}}\sum_{n_{2}=1}^{N_{2}}\sum_{n_{3}=1}^{N_{3}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{3}_{n_{3}}\right)\right]\right\rangle_{\mathbf{k}} +2\sum_{n_{1}<n'_{1}}\sum_{n_{2}<n'_{2}}\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathbf{k}}\right\}. \tag*{(15)}

Again comparing Eq. (15) with Eq. (3) in the main text, we obtain hyperedge weights, group weights, and the number of hyperedges for each group in Table S2.

R\mathrm{R}iiwmiw^{i}_{m}ηi\eta_{i}MiM_{i}
(Q1+Q2)∪Q3(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}(1,1)(1,1)⟨cos⁡[k⋅(rn11−rn1′1)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\right\rangle_{\mathbf{k}}N2N_{2}N1(N1−1)/2N_{1}(N_{1}-1)/2
(Q1+Q2)∪Q3(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}(2,2)(2,2)⟨cos⁡[k⋅(rn22−rn2′2)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathbf{k}}N1N_{1}N2(N2−1)/2N_{2}(N_{2}-1)/2
(Q1+Q2)∪Q3(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}(3,3)(3,3)⟨cos⁡[k⋅(rn33−rn3′3)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_{3}}-\mathbf{r}^{3}_{n'_{3}}\right)\right]\right\rangle_{\mathbf{k}}11N3(N3−1)/2N_{3}(N_{3}-1)/2
(Q1+Q2)∪Q3(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}(1,2,3)(1,2,3)⟨cos⁡[k⋅(rn11+rn22−rn33)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{3}_{n_{3}}\right)\right]\right\rangle_{\mathbf{k}}11N1N2N3N_{1}N_{2}N_{3}
(Q1+Q2)∪Q3(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}(1,1,2,2)(1,1,2,2)⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_{1}}-\mathbf{r}^{1}_{n'_{1}}\right)\right]\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_{2}}-\mathbf{r}^{2}_{n'_{2}}\right)\right]\right\rangle_{\mathbf{k}}22N1(N1−1)N2(N2−1)/4N_{1}(N_{1}-1)N_{2}(N_{2}-1)/4

Table S2. Hypergraph definitions of R=(Q1+Q2)∪Q3\mathrm{R}=(\mathrm{Q}_{1}+\mathrm{Q}_{2})\cup\mathrm{Q}_{3}.

(iii) R=(Q1+Q2)∖Q3\mathrm{R}=(\mathrm{Q}_{1}+\mathrm{Q}_{2})\setminus\mathrm{Q}_{3}: Similarly, we obtain

S(k)=1+1N{2∑n3=1N3cos⁡[k⋅(rn33−rn3′3)]+∑n2=1N2∑n1≠n1′cos⁡[k⋅((rn11+rn22)−(rn1′1+rn22))]+∑n1=1N1∑n2≠n2′cos⁡[k⋅((rn11+rn22)−(rn11+rn2′2))]+∑n3≠n3′cos⁡[k⋅(rn33−rn3′3)]−2∑n1=1N1∑n2=1N2∑n3=1N3cos⁡[k⋅((rn11+rn22)−rn33)]+∑n1≠n1′∑n2≠n2′cos⁡[k⋅((rn11+rn22)−(rn1′1+rn2′2))]},(16)S(\mathbf{k})= 1+\frac{1}{N}\left\{2\sum_{n_{3}=1}^{N_{3}}\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_{3}}-\mathbf{r}^{3}_{n'_{3}}\right)\right]+\sum_{n_{2}=1}^{N_{2}}\sum_{n_{1}\ne n'_{1}}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}\right)-\left(\mathbf{r}^{1}_{n'_{1}}+\mathbf{r}^{2}_{n_{2}}\right)\right)\right] +\sum_{n_{1}=1}^{N_{1}}\sum_{n_{2}\ne n'_{2}}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}\right)-\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n'_{2}}\right)\right)\right]+\sum_{n_{3}\ne n'_{3}}\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_{3}}-\mathbf{r}^{3}_{n'_{3}}\right)\right] -2\sum_{n_{1}=1}^{N_{1}}\sum_{n_{2}=1}^{N_{2}}\sum_{n_{3}=1}^{N_{3}}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}\right)-\mathbf{r}^{3}_{n_{3}}\right)\right]+\sum_{n_{1}\ne n'_{1}}\sum_{n_{2}\ne n'_{2}}\cos\left[\mathbf{k}\cdot\left(\left(\mathbf{r}^{1}_{n_{1}}+\mathbf{r}^{2}_{n_{2}}\right)-\left(\mathbf{r}^{1}_{n'_{1}}+\mathbf{r}^{2}_{n'_{2}}\right)\right)\right]\right\}, \tag*{(16)}
⟨S(k)⟩k=1+2N{∑n3=1N3[1+N2∑n1<n1′⟨cos⁡[k⋅(rn11−rn1′1)]⟩k+N1∑n2<n2′⟨cos⁡[k⋅(rn22−rn2′2)]⟩k]+∑n3<n3′⟨cos⁡[k⋅(rn33−rn3′3)]⟩k−∑n1=1N1∑n2=1N2∑n3=1N3⟨cos⁡[k⋅(rn11+rn22−rn33)]⟩k+2∑n1<n1′∑n2<n2′⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩k}.(17)\langle S(\mathbf{k})\rangle_{\mathbf{k}}=1+\frac{2}{N}\{\sum_{n_3=1}^{N_3}[1+N_2\sum_{n_1<n'_1}\langle\cos[\mathbf{k}\cdot(\mathbf{r}^{1}_{n_1}-\mathbf{r}^{1}_{n'_1})]\rangle_{\mathbf{k}}+N_1\sum_{n_2<n'_2}\langle\cos[\mathbf{k}\cdot(\mathbf{r}^{2}_{n_2}-\mathbf{r}^{2}_{n'_2})]\rangle_{\mathbf{k}}] \\ +\sum_{n_3<n'_3}\langle\cos[\mathbf{k}\cdot(\mathbf{r}^{3}_{n_3}-\mathbf{r}^{3}_{n'_3})]\rangle_{\mathbf{k}}-\sum_{n_1=1}^{N_1}\sum_{n_2=1}^{N_2}\sum_{n_3=1}^{N_3}\langle\cos[\mathbf{k}\cdot(\mathbf{r}^{1}_{n_1}+\mathbf{r}^{2}_{n_2}-\mathbf{r}^{3}_{n_3})]\rangle_{\mathbf{k}} \\ +2\sum_{n_1<n'_1}\sum_{n_2<n'_2}\langle\cos[\mathbf{k}\cdot(\mathbf{r}^{1}_{n_1}-\mathbf{r}^{1}_{n'_1})]\cos[\mathbf{k}\cdot(\mathbf{r}^{2}_{n_2}-\mathbf{r}^{2}_{n'_2})]\rangle_{\mathbf{k}}\}. \tag*{(17)}

which results in the corresponding hypergraph parameters in Table S3.

R\mathbf{R}iiwmiw_m^iηi\eta_iMiM_i
(3)11N3N_3
(Q1+Q2)∖Q3(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3(1,1)⟨cos⁡[k⋅(rn11−rn1′1)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_1}-\mathbf{r}^{1}_{n'_1}\right)\right]\right\rangle_{\mathbf{k}}N2N_2N1(N1−1)/2N_1(N_1-1)/2
(Q1+Q2)∖Q3(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3(2,2)⟨cos⁡[k⋅(rn22−rn2′2)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_2}-\mathbf{r}^{2}_{n'_2}\right)\right]\right\rangle_{\mathbf{k}}N1N_1N2(N2−1)/2N_2(N_2-1)/2
(Q1+Q2)∖Q3(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3(3,3)⟨cos⁡[k⋅(rn33−rn3′3)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{3}_{n_3}-\mathbf{r}^{3}_{n'_3}\right)\right]\right\rangle_{\mathbf{k}}1N3(N3−1)/2N_3(N_3-1)/2
(Q1+Q2)∖Q3(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3(1,2,3)⟨cos⁡[k⋅(rn11+rn22−rn33)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_1}+\mathbf{r}^{2}_{n_2}-\mathbf{r}^{3}_{n_3}\right)\right]\right\rangle_{\mathbf{k}}−1-1N1N2N3N_1N_2N_3
(Q1+Q2)∖Q3(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3(1,1,2,2)⟨cos⁡[k⋅(rn11−rn1′1)]cos⁡[k⋅(rn22−rn2′2)]⟩k\left\langle\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{1}_{n_1}-\mathbf{r}^{1}_{n'_1}\right)\right]\cos\left[\mathbf{k}\cdot\left(\mathbf{r}^{2}_{n_2}-\mathbf{r}^{2}_{n'_2}\right)\right]\right\rangle_{\mathbf{k}}2N1(N1−1)N2(N2−1)/4N_1(N_1-1)N_2(N_2-1)/4

Table S3. Hypergraph definitions of R=(Q1+Q2)∖Q3\mathbf{R}=(\mathbf{Q}_1+\mathbf{Q}_2)\setminus\mathbf{Q}_3.

Note S2. Correspondence between pairwise- and hyper-graph models

We establish the correspondence between the pairwise graph and hypergraph models of wave scattering. Consider an illustrative example of three seed subsets Ql={rnl:1≤n≤Nl}Q_l = \{\mathbf{r}_n^l: 1 \le n \le N_l\} with particle numbers N1=3N_1 = 3, N2=2N_2 = 2, and N3=2N_3 = 2, with the set operations R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3. Figure S1 illustrates the pairwise- and hyper-graph models for the material characterized by R\mathbf{R}. To interpret the emergence of five hyperedge types and their weights and group weights, we show corresponding pairwise edges for each type of hyperedges. As shown, a hyperedge of type ii in the hypergraph model corresponds to ηi\eta_i edges, which is the group weight of ii-type hyperedges, in the pairwise graph model, while the negative value of ηi\eta_i leads to the number of the removals of the pairwise edges. We note that such a one to multiple correspondence between hyperedges and pairwise edges is the origin of the superior compactness of the proposed hypergraph model. One can also easily verify that the weight of a hyperedge represents the average weight of the corresponding edges.

Correspondence between pairwise graph and hypergraph modelling of wave scattering

Figure S1. Correspondence between pairwise graph and hypergraph modelling of wave scattering. a,b, The scattering hypergraph (a) and scattering pairwise network (b), which model wave scattering from R=(Q1+Q2)∪Q3R = (Q_1 + Q_2) \cup Q_3. Edge colour in (b) represents the interaction type of the corresponding hyperedge in (a).

To obtain the explicit relationship between the numbers of hyperedges MiM_i and pairwise edges MM, we introduce the unweighted model by assuming the coincidence of all hypergraph nodes, which leads to the condition of

∑iηiMi=∑iηi∑m=1Mi1=lim⁡∀rj′→0∑iηi∑m=1Miwmi=lim⁡∀rj′→0N2(⟨S(k)⟩k−1)=N(N−1)2=M.(18)\sum_i \eta_i M_i = \sum_i \eta_i \sum_{m=1}^{M_i} 1 = \lim_{\forall\mathbf{r}'_j \to0} \sum_i \eta_i \sum_{m=1}^{M_i} w_m^i = \lim_{\forall\mathbf{r}'_j \to0} \frac{N}{2}\left(\langle S(\mathbf{k})\rangle_{\mathbf{k}} - 1\right) = \frac{N(N-1)}{2} = M. \tag*{(18)}

leading to ∑iηiMi=M\sum_i \eta_i M_i = M. As shown, the compactness of the hypergraph model is determined by the set of ηi\eta_i that can be found in Table S1 to Table S3 for each example.

Note S3. Definition of the cost function

Consider an arbitrary scattering hypergraph with hyperedges of weight wmiw_m^i (1≤m≤Mi1 \le m \le M_i) and group weight ηi\eta_i, which models wave response of the material R\mathbf{R} with NN particles by Eq. (3) in the main text. After the attachment of a node located at r\mathbf{r} in the llth subsystem, the material at the next epoch, denoted by R′\mathbf{R}', possesses different particle number N′N' and new hyperedges emerging with hyperedge weights wmiw_m^i (Mi<m≤Mi′M_i < m \le M_i'). We note that the summation of weights for newly attached ii-type hyperedges, by definition, equals the ii-type hyperdegree of the attached node, devoli(r;l)d_{\mathrm{evol}}^i(\mathbf{r};l).

Because the group weights can also depend on subsystem sizes (Table S1-Table S3), we define the ii-type group weight of the evolved hypergraph as ηi′\eta_i'. The scattering response of the material R′\mathbf{R}' becomes:

⟨Sevol(k)⟩k=1+2N′∑iηi′∑m=1Mi′wmi=1+2N+ΔN∑i(ηi+Δηi)(∑m=1Miwmi+devoli(r;l)).(19)\left\langle S_{\mathrm{evol}}(\mathbf{k})\right\rangle_{\mathbf{k}}=1+\frac{2}{N'}\sum_i\eta_i'\sum_{m=1}^{M_i'}w_m^{i} \\ =1+\frac{2}{N+\Delta N}\sum_i(\eta_i+\Delta\eta_i)\left(\sum_{m=1}^{M_i}w_m^{i}+d_{\mathrm{evol}}^i(\mathbf{r};l)\right). \tag*{(19)}

where ΔN=N′−N\Delta N=N'-N and Δηi=ηi′−ηi\Delta\eta_i=\eta_i'-\eta_i. Because devoli(r;l)=0d_{\mathrm{evol}}^i(\mathbf{r};l)=0 when Δηi≠0\Delta\eta_i\ne0 (Table S1-Table S3),

⟨Sevol(k)⟩k=1+2N+ΔN{∑i(ηi+Δηi)∑m=1Miwmi+∑iηidevoli(r;l)}.(20)\left\langle S_{\mathrm{evol}}(\mathbf{k})\right\rangle_{\mathbf{k}}=1+\frac{2}{N+\Delta N}\left\{\sum_i(\eta_i+\Delta\eta_i)\sum_{m=1}^{M_i}w_m^{i}+\sum_i\eta_i d_{\mathrm{evol}}^i(\mathbf{r};l)\right\}. \tag*{(20)}

By substituting Eq. (3) in the main text, we obtain

⟨Sevol(k)⟩k=1+2N+ΔN{N2(⟨S(k)⟩k−1)+∑iΔηi∑m=1Miwmi+ρ(r;l)}=N⟨S(k)⟩k+ΔNN+ΔN+2N+ΔN(ρ(r;l)+∑iΔηi∑m=1Miwmi),(21)\left\langle S_{\mathrm{evol}}(\mathbf{k})\right\rangle_{\mathbf{k}}=1+\frac{2}{N+\Delta N}\left\{\frac{N}{2}\left(\left\langle S(\mathbf{k})\right\rangle_{\mathbf{k}}-1\right)+\sum_i\Delta\eta_i\sum_{m=1}^{M_i}w_m^{i}+\rho(\mathbf{r};l)\right\} \\ =\frac{N\left\langle S(\mathbf{k})\right\rangle_{\mathbf{k}}+\Delta N}{N+\Delta N}+\frac{2}{N+\Delta N}\left(\rho(\mathbf{r};l)+\sum_i\Delta\eta_i\sum_{m=1}^{M_i}w_m^{i}\right), \tag*{(21)}

for ρ(r;l)\rho(\mathbf{r};l) defined in Eq. (5) in the main text. Equation (21) shows that the minimization of ρ(r;l)\rho(\mathbf{r};l) directly corresponds to the minimization of the structure factor and the corresponding scattering intensity.

Note S4. Hypergraph evolutions for other set operations

Figure S2 represents hypergraph evolutions for set operations R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 and R=(Q1+Q2)∖Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \setminus\mathbf{Q}_3. Figures S2a-d illustrate the evolutions of Q\mathbf{Q} and R\mathbf{R} for each set operation (See Videos S2 and S3 for the evolution with each set operation), showing similar behaviour of ⟨S(k)⟩K\langle S(k)\rangle_K to that of Figure 3g in the main text due to the vanishing contribution of hyperedges of the types i=(3)i = (3), (3,3)(3,3), and (1,2,3)(1,2,3) determined by Q3\mathbf{Q}_3 for large tt (Figure S2 and Figure S2). Because of the final subsystem sizes N1=N2=100N_1 = N_2 = 100 and N3=99N_3 = 99 at t=297t = 297, the scattering response of R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 or (Q1+Q2)∖Q3(\mathbf{Q}_1 + \mathbf{Q}_2) \setminus\mathbf{Q}_3 is largely influenced by the 10410^4-particle system Q1+Q2\mathbf{Q}_1 + \mathbf{Q}_2, rather than 99-particle system Q3\mathbf{Q}_3.

Hypergraph evolutions involving union and complement operations

Figure S2. Hypergraph evolutions involving union and complement operations. a-d, Evolutions of seed systems Q\mathbf{Q} (a,c) and target materials R\mathbf{R} (b,d) for set operations R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 (a,b) and R=(Q1+Q2)∖Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \setminus\mathbf{Q}_3 (c,d) at the epoch t=30t = 30, 100, and 297. Each subsystem evolves in alternating order. The outer boxes represent the supercell boundary. e-h, Time evolution of ⟨S(k)⟩K\langle S(k) \rangle_{\mathrm{K}} (e,g) and SiS_i (f,h) for the set operations R=(Q1+Q2)∪Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \cup\mathbf{Q}_3 (e,f) and R=(Q1+Q2)∖Q3\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \setminus\mathbf{Q}_3 (g,h). 100 realizations are investigated with different initial sampling of real space (Methods).

Preferential evolution of hyperedges

Figure S3 explores hypergraph phases of SHU materials by manipulating the hyperedge scattering, S(1,1,2,2)S_{(1,1,2,2)}, while targeting the suppression performance, ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_{\mathrm{K}}. We consider the modified cost function:

Preferential evolutions: scattering response, i-type scattering, resulting seed systems, and target materials

Figure S3. Preferential evolutions. a,b, Scattering response ⟨S(k)⟩K\langle S(\mathbf{k})\rangle_{\mathrm{K}} (a) and ii-type scattering SiS_i (b) for different α\alpha. Horizontal lines represent mean values from the default evolution process, α=1\alpha=1. 50 realizations are examined for each α\alpha. c-f, A realization example of resulting seed systems Q (c,e) and the target material R (d,f) for α=0.05\alpha=0.05 (c,d) and α=1.05\alpha=1.05 (e,f).

ρ(r;l)=η(1,1)devol(1,1)(r;l)+η(2,2)devol(2,2)(r;l)+α⋅η(1,1,2,2)devol(1,1,2,2)(r;l),(22)\rho(\mathbf{r};l)=\eta_{(1,1)}d_{\mathrm{evol}}^{(1,1)}(\mathbf{r};l)+\eta_{(2,2)}d_{\mathrm{evol}}^{(2,2)}(\mathbf{r};l)+\alpha\cdot\eta_{(1,1,2,2)}d_{\mathrm{evol}}^{(1,1,2,2)}(\mathbf{r};l), \tag*{(22)}

where α\alpha denotes the preference of S(1,1,2,2)S_{(1,1,2,2)} in the evolution: strengthen (α<1\alpha<1) or weaken (α>1\alpha>1) S(1,1,2,2)S_{(1,1,2,2)} compared to the default value α=1\alpha=1. Figure S3a shows acceptable suppression performance (⟨S(k)⟩K≲0.05\langle S(\mathbf{k})\rangle_{\mathrm{K}}\lesssim0.05) for α\alpha within the range of [0.05,1.05][0.05,1.05], where the contribution of the hyperedge S(1,1,2,2)S_{(1,1,2,2)} to the entire scattering drastically differs from strong positive to strong negative (Fig. S3b). Substantial differences are also identified from the resulting materials Q and R for α=0.05\alpha=0.05 and 1.051.05 (Fig. S3c-f).

Computational details in evaluating the cost function

After tt epochs of hypergraph evolution for the set operation R=Q1+Q2\mathbf{R}=\mathbf{Q}_1+\mathbf{Q}_2, the particle number of the designed system becomes N=O(t2)N=O(t^2). Therefore, to maintain O(N1/2)O(N^{1/2}) design complexity, computational cost for each epoch should remain constant regardless of the updated size of a hypergraph. Given the formula for the cost function in Eq. (5) of the main text, we need to compute the hyperdegree devoli(r;l)d_{\mathrm{evol}}^{i}(\mathbf{r};l) in O(1)O(1). Although the number of hyperedges attached to a new node increases in time step tt, we can achieve the required O(1)O(1) efficiency by introducing auxiliary lookup maps cl(k)c_l(\mathbf{k}) and sl(k)s_l(\mathbf{k}) (1≤l≤L1\le l\le L, k∈K\mathbf{k}\in\mathbf{K}):

cl(k)=∑r∈Qlcos⁡[k⋅r](23)c_l(\mathbf{k})=\sum_{\mathbf{r}\in Q_l}\cos[\mathbf{k}\cdot\mathbf{r}] \tag*{(23)}
sl(k)=∑r∈Qlsin⁡[k⋅r](24)s_l(\mathbf{k})=\sum_{\mathbf{r}\in Q_l}\sin[\mathbf{k}\cdot\mathbf{r}] \tag*{(24)}

where 1≤l≤L1\le l\le L and k∈K\mathbf{k}\in\mathbf{K}. The time complexity for updating these lookup maps at each epoch, and the space complexity for their storage, only scale with the size of K\mathbf{K} rather than Q\mathbf{Q} or R\mathbf{R}. Using the lookup maps and basic trigonometric algebra, we derive following formulae for evaluating hyperdegrees of each order in O(1)O(1) complexity.

(i) First-order (i=(3)i=(3))

devol(3)(r;l)={0(l=1,2)1(l=3)(25)d_{\mathrm{evol}}^{(3)}(\mathbf{r};l)= \begin{cases} 0 & (l=1,2)\\ 1 & (l=3) \end{cases} \tag*{(25)}

(ii) Second-order (i=(l,l′)i=(l,l') for l=1,2,l=1,2, or 33)

devol(l,l′)(r;l′)={⟨cos⁡[k⋅r]cl(k)+sin⁡[k⋅r]sl(k)−1⟩k(l=l′)0(l≠l′)(26)d_{\mathrm{evol}}^{(l,l')}(\mathbf{r};l')= \begin{cases} \left\langle\cos[\mathbf{k}\cdot\mathbf{r}]c_l(\mathbf{k})+\sin[\mathbf{k}\cdot\mathbf{r}]s_l(\mathbf{k})-1\right\rangle_{\mathbf{k}} & (l=l')\\ 0 & (l\ne l') \end{cases} \tag*{(26)}

(iii) Third-order (i=(1,2,3)i=(1,2,3))

devol(1,2,3)(r;l)={⟨cos⁡[k⋅r](c2(k)c3(k)+s2(k)s3(k))−sin⁡[k⋅r](s2(k)c3(k)−c2(k)s3(k))⟩k(l=1)⟨cos⁡[k⋅r](c1(k)c3(k)+s1(k)s3(k))−sin⁡[k⋅r](s1(k)c3(k)−c1(k)s3(k))⟩k(l=2)⟨cos⁡[k⋅r](c1(k)c2(k)−s1(k)s2(k))+sin⁡[k⋅r](s1(k)c2(k)−c1(k)s2(k))⟩k(l=3)(27)d_{\mathrm{evol}}^{(1,2,3)}(\mathbf{r};l)= \begin{cases} \left\langle\cos\left[\mathbf{k}\cdot\mathbf{r}\right]\left(c_{2}(\mathbf{k})c_{3}(\mathbf{k})+s_{2}(\mathbf{k})s_{3}(\mathbf{k})\right)-\sin\left[\mathbf{k}\cdot\mathbf{r}\right]\left(s_{2}(\mathbf{k})c_{3}(\mathbf{k})-c_{2}(\mathbf{k})s_{3}(\mathbf{k})\right)\right\rangle_{\mathbf{k}} & (l=1)\\ \left\langle\cos\left[\mathbf{k}\cdot\mathbf{r}\right]\left(c_{1}(\mathbf{k})c_{3}(\mathbf{k})+s_{1}(\mathbf{k})s_{3}(\mathbf{k})\right)-\sin\left[\mathbf{k}\cdot\mathbf{r}\right]\left(s_{1}(\mathbf{k})c_{3}(\mathbf{k})-c_{1}(\mathbf{k})s_{3}(\mathbf{k})\right)\right\rangle_{\mathbf{k}} & (l=2)\\ \left\langle\cos\left[\mathbf{k}\cdot\mathbf{r}\right]\left(c_{1}(\mathbf{k})c_{2}(\mathbf{k})-s_{1}(\mathbf{k})s_{2}(\mathbf{k})\right)+\sin\left[\mathbf{k}\cdot\mathbf{r}\right]\left(s_{1}(\mathbf{k})c_{2}(\mathbf{k})-c_{1}(\mathbf{k})s_{2}(\mathbf{k})\right)\right\rangle_{\mathbf{k}} & (l=3) \end{cases} \tag*{(27)}

(iv) Fourth-order (i=(1,1,2,2)i=(1,1,2,2))

devol(1,1,2,2)(r;l)={⟨(cos⁡[k⋅r]c1(k)+sin⁡[k⋅r]s1(k)−1)(c22(k)+s22(k)−N2)/2⟩k(l=1)⟨(cos⁡[k⋅r]c2(k)+sin⁡[k⋅r]s2(k)−1)(c12(k)+s12(k)−N1)/2⟩k(l=2)0(l=3)(28)d_{\mathrm{evol}}^{(1,1,2,2)}(\mathbf{r};l)= \begin{cases} \left\langle\left(\cos\left[\mathbf{k}\cdot\mathbf{r}\right]c_{1}(\mathbf{k})+\sin\left[\mathbf{k}\cdot\mathbf{r}\right]s_{1}(\mathbf{k})-1\right)\left(c_{2}^{2}(\mathbf{k})+s_{2}^{2}(\mathbf{k})-N_{2}\right)/2\right\rangle_{\mathbf{k}} & (l=1)\\ \left\langle\left(\cos\left[\mathbf{k}\cdot\mathbf{r}\right]c_{2}(\mathbf{k})+\sin\left[\mathbf{k}\cdot\mathbf{r}\right]s_{2}(\mathbf{k})-1\right)\left(c_{1}^{2}(\mathbf{k})+s_{1}^{2}(\mathbf{k})-N_{1}\right)/2\right\rangle_{\mathbf{k}} & (l=2)\\ 0 & (l=3) \end{cases} \tag*{(28)}

Algorithm S1. Pseudo-code for hypergraph evolution.

  1. Initialize the governing set operations

  2. Initialize the total evolution steps tmax⁡t_{\max}

  3. Initialize the number of discretized points ndiscn_{\mathrm{disc}}

  4. Initialize the material systems Q\mathbf{Q} and R\mathbf{R}

  5. Initialize the scattering hypergraph parameters

  6. Initialize the reciprocal space of interest K\mathbf{K} for the evolution process

  7. Initialize the auxiliary lookup maps cl(k)c_l(\mathbf{k}) and sl(k)s_l(\mathbf{k})

  8. for every tt where 1≤t≤tmax⁡1 \le t \le t_{\max} do

    1. Select the subsystem ll to evolve

    2. if (R=(Q1+Q2)∖Q3)(\mathbf{R} = (\mathbf{Q}_1 + \mathbf{Q}_2) \setminus\mathbf{Q}_3) and (l=3)(l = 3) do

    3. Define candidate positions Ωcand=R\mathbf{\Omega}_{\mathrm{cand}} = \mathbf{R}

    4. else do

    5. Define candidate positions Ωcand\mathbf{\Omega}_{\mathrm{cand}} through Monte Carlo discretization

    6. Calculate hyperdegrees devoli(r;l)d_{\mathrm{evol}}^{i}(\mathbf{r};l) for each candidate position r\mathbf{r} using Eq. (25)-18)

    7. Calculate cost functions ρ(r;l)\rho(\mathbf{r};l) for each candidate position r\mathbf{r} using Eq. (5) or (S12)

    8. Select r=argmin⁡ρ(r;l)\mathbf{r} = \operatorname{argmin}\rho(\mathbf{r};l) for r∈Ωcand\mathbf{r} \in\mathbf{\Omega}_{\mathrm{cand}}

    9. Update the material systems Q\mathbf{Q} and R\mathbf{R}

    10. Update the scattering hypergraph parameters using Eq. (3)

    11. Update the auxiliary lookup maps cl(k)c_l(\mathbf{k}) and sl(k)s_l(\mathbf{k})

  9. end for

References

  1. [1]Yu, S. Evolving scattering networks for engineering disorder. Nat. Comput. Sci. 3, 128-138 (2023).DOI

Paper details

vlnc:W_dswjsvrb
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents