Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Photonic simulation of entanglement growth and engineering after a spin chain quench

## Abstract

The time evolution of quantum many-body systems is one of the most important processes for benchmarking quantum simulators. The most curious feature of such dynamics is the growth of quantum entanglement to an amount proportional to the system size (volume law) even when interactions are local. This phenomenon has great ramifications for fundamental aspects, while its optimisation clearly has an impact on technology (e.g., for on-chip quantum networking). Here we use an integrated photonic chip with a circuit-based approach to simulate the dynamics of a spin chain and maximise the entanglement generation. The resulting entanglement is certified by constructing a second chip, which measures the entanglement between multiple distant pairs of simulated spins, as well as the block entanglement entropy. This is the first photonic simulation and optimisation of the extensive growth of entanglement in a spin chain, and opens up the use of photonic circuits for optimising quantum devices.

## Introduction

Richard Feynman suggested the idea of a quantum simulator: using a controllable quantum system to mimic the behaviour of a different, more complex one1. An important milestone for such a simulator in any platform is to demonstrate the ability to reproduce characteristically quantum features of the model to be simulated. Exactly solvable models of statistical mechanics2 are an ideal testbed for benchmarking the simulator, since they provide a plethora of exact results for genuinely quantum attributes, such as the extensive growth of entanglement after a quantum non-equilibrium dynamics. For example, a sudden global change of a many-body Hamiltonian (a quantum quench) can induce a dynamics that ultimately entangles two complementary parts of the system by an amount proportional to their size: a volume law3,4,5,6,7,8 (see ref. 3 for an up-to-date review). This quench-induced entanglement growth is not only a phenomenon to benchmark genuinely quantum features of exactly solvable models, but is of pivotal importance in many other areas, as it underpins the ubiquitous process of equilibration7, 9, and, through a holographic correspondence, the dynamical formation of black holes in space-time10, 11. Entanglement12, entanglement growth13, and its propagation14,15,16 due to quenches have been verified in atomic/ionic many-body simulators. However, a complete maximisation of the entanglement between two complementary blocks of spins due to the dynamics of spin chains remains to be observed, even in a few-body setting.

In a generic spin chain, after the dynamics following a quench, the entanglement between complementary blocks is proportional to the blocks’ size (volume law). However, it is of highly multipartite form, so that the entanglement between individual spins is vanishing. Even for a Hamiltonian only comprising of permanent nearest-neighbour interactions, the generated entanglement can be tuned, through appropriate engineering of the couplings, into that between individual distant pairs of spins17, 18. It is this latter form that is directly useful (without distillation) for, say, quantum teleportation, and thereby for quantum networking. The same high degree of control also enables its usage as ballistic quantum wires19,20,21,22,23 and computers24. This degree of control in entanglement generation is yet to be achieved in any quantum simulator of condensed matter Hamiltonians. Photonic circuits have been used for realising varied phenomena such as bosonic and fermionic quantum walks25, 26, quantum-classical differences in complexity27,28,29,30, quantum chemistry31 and localisation in transport32. The ground states of some few-body spin systems33,34,35, as well as some analogues of quantum state transfer (QST) through spin chains using coherent optics36, 37, have been realised in photonics.

Here we show, using an appropriately engineered photonic circuit, the capability of photonic devices to simultaneously accomplish the following: (i) the verification of the expected extensive growth of entanglement from the dynamics of a spin chain following a quench, and (ii) the demonstration of a high level of control and optimisation of the generated entanglement, as necessary for building future devices. The simulation of the many-body dynamics is obtained by first mapping the evolution to a continuous time quantum-walk, and then by implementing it via a circuit-based (discrete-step) approach. We demostrate the ability to measure not only the entropy of a block of simulated spins, which would be needed to assess naturally occuring equilibration in generic spin chains that are mappable to free fermions, but also the ability to measure optimised distant entanglement between multiple spin pairs, which would be very difficult in other quantum simulators. Our achievements are made possible by engineering two novel photonic chips as follows: (a) the quantum transport chip and (b) the entanglement characterisation chip. The first chip is designed to implement a spin chain dynamics, which generates multiple entangled pairs of distant “simulated” spins. This pattern is simultaneously of an useful form, as well as one which demonstrates volume law. Entanglement, however, is a notoriously difficult entity to detect even for single pairs and require local measurements in at least two non-commuting bases. Thus, we design the second chip that directly interferes distant output modes of the first chip to make entanglement detection (both the entanglement entropy and the pair-wise spin entanglements) feasible through photon counting. This detection methodology is unique to the field of photonic chips, as it would be extremely difficult to bring several distant atomic paths to interfere.

## Results

### Theory

Through our quantum transport chip, we simulate the dynamics induced by a “quantum quench”—a process in which the interactions inside a many-body system are suddenly changed. Let us consider preparing initially the Néel state $$\big| {\psi _{{\rm{N}} \acute{\rm e}{\rm e}{\rm l}}} \big\rangle = \big| { \downarrow \uparrow \downarrow ... \uparrow \downarrow } \big\rangle$$ of simulated spins, which is one of the ground states of the antiferromagnetic Ising chain and manifestly has no entanglement between any pairs of spins (the whole state is a separable state). In a condensed matter scenario, this state would be prepared by cooling under a Ising Hamiltonian. In photonic technology, we simply inject our apparatus with a simulated Néel state as to be described later. Immediately following the injection, the state starts evolving in accordance to the Hamiltonian simulated by our chip. This corresponds to one of the most extensively theoretically studied spin chain quench6, 17, 18, 38 in which the system Hamiltonian is suddenly changed from the Ising model to the XY model

$$H = \mathop {\sum}\limits_{i = 1}^{N - 1} \frac{1}{2}{J_i}\left( {\sigma _i^X\sigma _{i + 1}^X + \sigma _i^Y\sigma _{i + 1}^Y} \right),$$
(1)

where $$\sigma _i^\alpha$$ for α = X, Y, Z represent the Pauli matrices for the spin in the site i and N is the length of the chain. Further, the photonics platform enables us to set the $${J_i} = \sqrt {i(N - i)}$$ (which has not yet been feasible in the atomic/ionic platforms for quench). Then, one generates, after a relevant time t *, a remarkable pattern of nested entangled states17, 39, also dubbed as “rainbow states”40 (cf Fig. 1):

$$\big| {{\psi _{{\rm{v}}{\rm{.l}}{\rm{.}}}}} \big\rangle = \big| {\psi _{1,N}^ + } \big\rangle \big| {\psi _{2,N - 1}^ + } \big\rangle ...,$$
(2)

where $$\big| {\psi _{i,j}^ + } \big\rangle = \frac{1}{{\sqrt 2 }}( {{{\big| { \uparrow \downarrow } \big\rangle }_{ij}} + {{\big| { \downarrow \uparrow } \big\rangle }_{ij}}} )$$. This state corresponds to a “volume law” for entanglement as the number of entangled pairs is ~N/2 (exactly N/2 for even N and (N − 1)/2 for the odd N). In other words, the amount of entanglement between the left and the right halves of the spin chain generated due to the quench dynamics scales as the size ~N/2 of each part. This corresponds to the maximal entropy of entanglement, a much discussed quantity in recent theory and experiment12, between the left and the right blocks of the spin chain. Although the “pattern” of the entanglement is not of the multipartite type, as in a generic equilibrated state, in quasi-free models, the dynamical mechanism giving rise to the rainbow state is precisely the same: the propagation of quasiparticles in superposition in opposite directions after the quench3, 7. However, note here that the machanism of equilibration in non-integrable systems is quite different5, 41. Only a precise interference between the amplitudes of all the quasiparticle propagations, whose mechanism is related to perfect QST20, can give rise to the rainbow state. Thus, the “same type of dynamics” as the one behind equilibration can be evidenced by generating and verifying the rainbow state, although the latter has a different form from a generic equilibrated state. Simultaneously, producing the rainbow state demonstrates the ability to optimise the entanglement pattern.

Our simulation technique combines three principal ingredients. Firstly, using the Jordan–Wigner transformation2, 3, 17, 18, it is possible to map spin excitations in a chain with nearest-neighbour interactions onto non-interacting fermions hopping in a lattice (hence the name quantum transport chip). Indeed, $$H \equiv \mathop {\sum}\nolimits_n {J_n}c_n^\dag {c_{n + 1}} + {\rm{h}}{\rm{.c}}{\rm{.}}$$, where the creation/annihilation operators, defined by $$c_n^\dag = \sigma _n^ + \mathop {\prod}\nolimits_{j = 1}^{n - 1} ( { - \sigma _j^Z} )$$ with $$\sigma _n^ + = \left( {\sigma _n^X + i\sigma _n^Y} \right){\rm{/}}2$$, satisfy canonical anti-commutation relations. Moreover, as discussed in Supplementary Note 1, in spite of the non-local nature of this transformation, a generic spin state with a fixed number L of spin up, $$\big| \psi \big\rangle = \mathop {\sum}\nolimits_{{m_1} < \ldots < {m_L}} \psi_{m_1,\dots,m_L} \mathop {\prod}\nolimits_{i = 1}^L \sigma _{{m_i}}^ + \big| { \downarrow \ldots \downarrow } \big\rangle$$, can be written as a L-fermion state $$\big| \psi \big\rangle \equiv \mathop {\sum}\nolimits_{{m_1} < \ldots < {m_L}} \psi_{m_1,\ldots,m_L}\mathop {\prod}\nolimits_{i = 1}^L c_{{m_i}}^\dag \big| 0 \big\rangle$$, where we identify a spin up state with the presence of the fermion: $$\big| 0 \big\rangle \equiv \big| \downarrow \big\rangle$$, $$\big| 1 \big\rangle \equiv \big| \uparrow \big\rangle$$. In spite of the mapping to a free fermion model, it is customary to regard Eq. (1) as a many-body spin model, in the same sense of quantum Ising model, which has the same feature2. Secondly, fermionic behaviour can be simulated in photonic platforms using anti-symmetric configurations of the photons’ internal degrees of freedom; in this respect, two-photon polarisation-entangled states have already been exploited for simulating several phenomena such as Bosonic–Fermionic continuous transition25, 26, Anderson localisation32 and Fano interference effect in quantum decay42. The injection of an anti-symmetric two-photon state in the even modes of the 5-mode interferometer corresponds thus to setting the initial state of the simulator in the equivalent of the 5-sites Néel state. The quenching from the Ising Hamiltonian to the XY Hamiltonian is simulated when the initial state is injected in the quantum transport chip. Third is the fact that, while the spin chain dynamics maps effectively to a continuous time quantum walk of multiple fermions, it can be simulated via discrete quantum walks in the weak transmission limit43. Discrete quantum walks provide more accurate control over the implemented Hamiltonian44 due to the additional degree of freedom given by the coin operator. An N-sites continuous quantum walk for a ‘fixed’ time t with site-to-site coupling J i can be simulated by a photonic network constituted by M layers of beamsplitters in cascade (Fig. 1) with transmissivities $${T_i} = {\rm{si}}{{\rm{n}}^{\rm{2}}}\left( {\epsilon {J_i}} \right)$$, where $$\epsilon = \frac{t}{M}$$ is the time step implemented by each layer. The accuracy of this approximation increases with larger number of steps. In essence, this third ingredient is thus a circuit-based approach to quantum simulations as recently undertaken in superconducting networks45. Further details on the theoretical model are provided in Supplementary Notes 15 and Supplementary Figs. 15.

### Experiments

In our work, the quantum transport chip is a 5-sites-, 6-steps-integrated interferometer with engineered couplings for approximating the dynamical generation of the rainbow state of Eq. (2), which displays the volume law. We studied the evolution of a two-particle fermionic state (equivalent to the Néel state of a 5-site antiferromagnet) and its bosonic counterpart, analysing the different statistics at the output and confirming the prediction for creation of the rainbow pattern of entanglement in the fermionic case. This has been possible by merging several experimental techniques such as entanglement generation in bulk optics, state propagation in polarisation-insensitive integrated circuits and entanglement analysis in a 3D tuneable integrated circuit.

### Optical circuits fabrication

The Quantum Transport Chip (QTC) is a 5 input–output waveguide interferometer, encompassing a series of directional couplers as shown in Fig. 2a. In this scheme, each spin particle site is represented by a waveguide, and the directional couplers discretise the interaction between the spins. The spin states at each site are encoded by the presence of a photon for state $$\big| \uparrow \big\rangle$$ and by the absence of a photon for state $$\big| \downarrow \big\rangle$$.

In order to properly reproduce the discrete-time quantum state transfer, it is required to use two different transmission values, T bulk = 0.36 and T end = 0.25, for the internal and the external beam splitters, respectively (Fig. 2b and Supplementary Note 3). This can be achieved by increasing the separation between the two waveguides in the interaction region of the external couplers.

The initial state of the spin chain is prepared by injecting two polarisation-entangled photons (see below). Since the entanglement in the  polarization degree of freedom is exploited to emulate the particle statistics, it should not directly influence the propagation of the two-photon state, thus the chip needs to be polarisation insensitive. This is achieved by means of the tilted geometry design of the directional couplers, allowing equal transmissivity for both horizontal and vertical polarisation25.

The entanglement characterisation chip (ECC) is a 5 waveguide device designed with the purpose of evaluating the entanglement generated in the QTC chip (as seen in Fig. 2a). The ECC interferes the signal from the QTC output by using two polarisation insensitive directional couplers between waveguides 1–5 & 2–4. By means of two thermal phase shifters fabricated over waveguides 2 and 5, the chip allows to scan the interference between the two pairs of waveguides by modulating the phase (Fig. 2c)46, 47.

The ECC adopts a fully three-dimensional design. The waveguides start at a shallow depth of 25 μm on the collection side, so that the heating elements will operate efficiently. Then they go deeper at 65 μm to form the couplers without any physical crossing of the waveguides (see Fig. 2a inset). The central waveguide is not interacting with any other one.

### Measurements with the quantum transport chip

The simulation of the spin chain dynamics on the photonic platform has been performed by exploiting polarisation-entangled pairs of photons, generated by type-II parametric downconversion process in a beta barium borate (BBO) crystal (see Methods section, Supplementary Note 6 and Supplementary Figs. 6 and 7 for more details). The general expression for the state of the generated photons can be written as $$\big| {\Psi _{2{\rm{p}}}^{\,\chi} } \big\rangle { = 2^{ - 1/2}}\left( {\big| {{\rm{HV}}} \big\rangle + {e^{i\chi }}\big| {{\rm{VH}}} \big\rangle } \right)$$, where the subscript 2p indicates a two-photon state. The phase parameter χ can be controlled by means of an electrically configurable liquid crystal positioned on one of the two-photon paths. Thus both bosonic and fermionic statistics can be simulated by using the Bell states $$\big| {\Psi _{2{\rm{p}}}^ + } \big\rangle$$ and $$\big| {\Psi _{2{\rm{p}}}^ - } \big\rangle$$, respectively for their symmetric and anti-symmetric wavefunctions25.

The Néel state $$\big| { \downarrow \uparrow \downarrow \uparrow \downarrow } \big\rangle$$ of the spin chain was simulated by injecting the polarisation-entangled state $$\big| {\Psi _{2{\rm{p}}}^ - } \big\rangle$$ in the inputs 2 and 4 of the QTC (Fig. 2a, b) through a single mode fibre array and, after evolution into the interferometers, photons are collected via a multimode fiber array and sent to single-photon avalanche photodiodes (APDs). At the output, we collect coincidence measurements from all pairs of outputs to measure the off-diagonal elements (outputs i ≠ j); for the diagonal contributions (outputs i = j) an in-fiber beam-splitter is inserted in each single output mode. The same experiment is also performed with $$\big| {\Psi _{2{\rm{p}}}^ + } \big\rangle$$ to capture the distinctive features of bosonic and fermionic dynamics on the QTC. It is important to observe that this is achievable due to the polarisation insensitivity of the waveguides, and that the input state is insensitive to phase instabilities between two arms of the interferometer. Furthermore, we note that entanglement in two different degrees of freedom is present in the simulator. On one side, polarisation-entanglement is generated by the photon source, and is employed to simulate particles statistics. On the other side, mode entanglement is generated by the QTC as a result of the evolution, and corresponds to the emergence of entanglement between the spins of the simulated chain.

In the limit of a QTC with an infinite number of steps, one would expect a perfect generation of the entangled state of the form (2) exhibiting the volume law at t *. A device with 6 steps (whose unitary we denote U), when injected with a Néel state, would give unbalanced $$\big| {{\psi ^ + }} \big\rangle$$ states at symmetric sites (see below). Finally, one has to take into account imperfections of the implemented unitary (Supplementary Note 7), by considering also the possible small residual difference when acting on photons with different polarisations ($${\tilde U^{\rm{H}}}$$ and $${\tilde U^{\rm{V}}}$$).

As a first step, tomographic reconstruction of the unitary transformation matrix by exploiting single-photon and two-photon measurements48, 49 has been performed for both polarisations H and V (Supplementary Note 8 and Supplementary Figs. 811). The fidelities of the reconstructed unitaries with respect to the expected one, defined as $${{\cal F}^\pi } = | {{\rm{Tr}}\left( {{U^\dag }{{\tilde U}^\pi }} \right)} |{\rm{/}}5$$ for π = H, V, is found to be $${{\cal F}^{\rm{H}}} = 0.962 \pm 0.001$$ and $${{\cal F}^{\rm{V}}} = 0.977 \pm 0.002$$, proving the high quality and the polarisation independence of the device.

The results of the quantum dynamics are shown in Fig. 3 for both bosonic and fermionic behaviour, where the experimental $$( {\tilde \Gamma _{ij}^{{\rm{B}}/{\rm{F}}}} )$$ and theoretical ($$\Gamma _{ij}^{{\rm{B}}/{\rm{F}}}$$, calculated from the 6-steps unitary U) correlation functions50, 51 are reported. The output probabilities detected experimentally are related to the correlation function by the equations $${\tilde \Gamma _{ii}} = {P_{ii}}$$ and $${\tilde \Gamma _{ij}} = \frac{{{P_{ij}}}}{2}$$, due to the symmetrisation of the correlation function matrix. The difference between the two dynamics is clear by observing that bosonic behaviour presents a strong contribution on the diagonal terms, while the latter are suppressed in the fermionic case. Finally, we calculated the similarities between the experimental distributions and the theoretical predictions, defined as $${{\cal S}^{{\rm{B}}/{\rm{F}}}} = {[ {\mathop {\sum}\nolimits_{i,j} {{( {\Gamma _{i,j}^{{\rm{B}}/{\rm{F}}}\tilde \Gamma _{i,j}^{{\rm{B}}/{\rm{F}}}} )}^{1/2}}} ]^2}$$, which are found to be $${{\cal S}^{\rm{B}}} = 0.942 \pm 0.005$$ and $${{\cal S}^{\rm{F}}} = 0.836 \pm 0.004$$.

### Entanglement certification

The time evolution of the state $${\big| {\Psi _{2{\rm{p}}}^ - } \big\rangle _{24}}$$ (which simulates the Néel state) through an effective Hamiltonian of the form (1) acting on simulated spins gives a state equal to $${\big| {\psi _{1{\rm{p}}}^ + } \big\rangle _{15}}{\big| {\psi _{1{\rm{p}}}^ + } \big\rangle _{24}}{\big| 0 \big\rangle _3}$$ at time t *, where $${\big| {\psi _{1{\rm{p}}}^ + } \big\rangle _{ij}}$$ denotes the one-photon path-encoded Bell state $$\big| {{\psi ^ + }} \big\rangle$$ over the modes i and j 52. This state simulates the volume-law-entangled state $$\big| {{\psi _{{\rm{v}}{\rm{.l}}{\rm{.}}}}} \big\rangle$$ of Eq. (2). As we perform the evolution with a finite number of steps, we get a state of the form $$\big| {{\psi _{{\rm{out}}}}} \big\rangle = ( {\alpha {{\big| { \uparrow \downarrow } \big\rangle }_{15}} + \beta {{\big| { \downarrow \uparrow } \big\rangle }_{15}}} )( {\gamma {{\big| { \uparrow \downarrow } \big\rangle }_{24}} + \delta {{\big| { \downarrow \uparrow } \big\rangle }_{24}}} ){\big| \downarrow \big\rangle _3}$$. The imbalance between α and β and between γ and δ, which can be observed in Fig. 3, comes from the fact that a finite number of discrete step is an approximation of a perfect state transfer. To check the coherence between the terms $${\big| { \uparrow \downarrow } \big\rangle _{ij}}$$ and $${\big| { \downarrow \uparrow } \big\rangle _{ij}}$$, a phase shift and a beamsplitter transformation over the modes i and j can be applied, where (i, j) = (1, 5) and (2, 4). This transformation is implemented in the ECC device shown in Fig. 2c (see Methods section, Supplementary Note 9 and Supplementary Fig. 12 for more details).

We first measured the two-photon interference fringes obtained by varying the phases ϕ 2 and ϕ 5. More specifically, we defined the quantities I i (see Methods section), which depend on the effects of one variable phase shift on a single waveguide, and are independent of cross-talk effects by heat dispersion over neighbouring modes. Interference fringes for quantities I 1 and I 5 (I 2 and I 4) obtained when varying phase shift ϕ 5 (ϕ 2) are shown in Fig. 4a, b.

To characterise the degree of entanglement, we first evaluated the entanglement fraction of systems 1–5 and 2–4 with respect to the ideal one-photon Bell state $$\big| {\psi _{1{\rm{p}}}^ + } \big\rangle$$: $${{\cal E}_{i,j}}{ = _{ij}}\big\langle {\psi _{1{\rm{p}}}^ + } \big|{\rho _{ij}}{\big| {\psi _{1{\rm{p}}}^ + } \big\rangle _{ij}}$$, where ρ ij is the reduced density matrix for two qubits in positions i and j 53. These quantities can be evaluated by measuring the single-photon probabilities N i and two-photon probabilities $$P_{ij}^\prime$$ after evolution through the second device. Indeed, one can find that $${{\cal E}_{1,5}} = N_5^\prime - P_{15}^\prime$$ and $${{\cal E}_{2,4}} = N_2^\prime - P_{24}^\prime - P_{23}^\prime + P_{34}^\prime$$ (Supplementary Note 4). The first expression implies finding a photon in mode 5 and no photons in mode 1. The second one keeps non-local terms from the mapping, from spin excitations to fermions, which in the case of $${{\cal E}_{1,5}}$$ are factorised into a fixed phase term. By evaluating the entanglement fractions from the two-photon probabilities shown in Fig. 4c, we obtain $${{\cal E}_{1,5}} = 0.66 \pm 0.03$$ and $${{\cal E}_{2,4}} = 0.74 \pm 0.03.$$ This amounts to an approximate verification of Eq. (2) and thereby the growth of entanglement to a volume law.

A further verification of the presence of entanglement, without assuming a specific form for the output state, can be obtained from the measured data. We evaluated the entanglement entropy S A,B = S(ρ A) = S(ρ B) of a given bipartition ρ A/ρ B of the chain. The volume law corresponds here to a scaling of S A,BN. This quantity can be evaluated directly from the measured data or by exploiting a maximum likelihood approach (see Supplementary Notes 10 and 11 and Supplementary Figs. 1315 for more details). The second approach permits also to estimate the overall entropy of the state S AB = S(ρ AB) and its purity. Here we consider the bipartition A = (1, 2) and B = (3, 4, 5). We obtain S A,B = 1.640 ± 0.016 for the entanglement entropy, S AB = 0.22 ± 0.05 for the overall entropy and $$\tilde \Psi = 0.943 \pm 0.017$$ for the purity. From these results it is then possible to evaluate a lower bound on the amount of distillable entanglement by exploiting the hashing inequality53, which reads EDA,B>S A,B − S AB. The experimental value obtained from the complete set of measured data leads to $${\rm{E}}{{\rm{D}}_{{\rm{A}},{\rm{B}}}} >{\overline {{\rm{ED}}} _{{\rm{A}},{\rm{B}}}} = 1.42 \pm 0.06$$.

## Discussion

Using integrated photonics quantum simulation, we show that we can verify the expected growth of entanglement in a spin chain after a quench, as well as its engineering for future applications. The amount of entanglement between the two halves of the spin chain is measured in a 5-site simulated chain after an appropriate time t *, and is found to be close to the expected maximal possible value for such a block of spins. The combination of spin chain dynamics, its optimisation to get a rainbow pattern, and the verification of distant entanglement are unique to this photonic realisation. Such results further provide an approach to benchmark the simulator, thus opening up the way for the exploitation of photonic circuits for a significant range of fundamental and practical many-body dynamics investigations. In the future, the technique will allow scaling of such devices to larger spin chains, also enabled by the possibity of fully anti-symmetric states of more photons26, for example, using additional degrees of freedom, thus mimicking more fermions. The level of control offered by integrated photonics makes it already feasible to include the capability of dynamically reconfiguring the evolution46, 47. Moreover, our methodology of designing the QTC, in particular, a time discretisation of the dynamics that we exploit, makes it amenable to alter the chip design to simulate a large range of such spin chain dynamics—e.g., driven Hamiltonians54, 55. Furthermore, by introducing nonlinearities to the waveguides56, a larger range of spin Hamiltonians such as those that exhibit thermalisation and are intractable in classical simulations, can be accessed. The principles demonstrated through the ECC, on the other hand, are versatile: both the block entanglement entropy (which can evidence generic many-body entanglement), as well as the entanglement between distant pairs (which depicts its optimisation for usefulness) was measured. Moreover, as we show in Supplementary Note 12, the combination of an ECC chip and photo-detection can be used in the future also in the non-integrable case to measure entanglement by extending the technique developed in refs 57, 58. Aside the fundamental interest, the level of control shown by the generation of the rainbow states with a high entangled fraction, will make integrated photonics a suitable platform to benchmark and optimise quantum nano-devices of the future.

## Methods

### Single-photon source

Pairs of entangled single photons were generated by a Spontaneous Parametric Down Conversion (SPDC) process occurring in a 2 mm beta barium borate (BBO) crystal, pumped by a 160 fs pulsed beam at 392.5 nm wavelength. The detected generation rates were ~120 kHz for single-photon counts and ~7 kHz for two-fold coincidences. The phase of the generated entangled state was controlled by means of an electrically-tunable liquid crystal device.

### Devices fabrication technique

In both chips, the QTC and the ECC, the waveguides are inscribed by femtosecond laser writing in Corning Eagle-2000 borosilicate glass. We used a femtosecond Yb:KYW cavity-dumped oscillator at 1030 nm wavelength, emitting pulses with 300 fs duration, and at a 1 MHz repetition rate. The laser beam was focused through a 50×, 0.6 NA microscope objective lens into the glass substrate, which was translated by a computer-controlled three-axis Aerotech FiberGlide 3D series stage, at a velocity of 40 mm/s. In the QTC, the waveguides are inscribed using 220 mW of laser power at a depth of 170 μm. In the ECC, the power of inscription was slightly lower at 210 mW since the waveguides were closer to the surface.

### QTC characterisation

After fabrication, the circuit was characterised classically using a diode laser. The overall performance was verified by collecting the output power distribution for each individual input and comparing it to the theoretically expected one. The polarisation response of the chip was identical for both vertical and horizontal polarisations within 2%, and the similarities between the theoretically expected and experimentally measured output distributions were $${{\cal S}^{\rm{H}}} = 0.963 \pm 0.002$$ and $${{\cal S}^{\rm{V}}} = 0.976 \pm 0.002$$.

### ECC characterisation

Before using the ECC in the actual quantum experiment, the device was characterised independently by coupling it to a chip containing balanced directional couplers, thus forming Mach–Zehnder interferometers. By applying different voltages to the heating electrodes it was possible to observe the interference fringes at the output of the corresponding interferometers with visibilities V 1–5 = 0.86 ± 0.02 and V 2–4 = 0.94 ± 0.02 (for an expected value of V ij  = 1). In addition, we verified the stability of the thermal tuning of the phase and we have observed that a constant phase value could be maintained for a period of 8 h with a standard deviation $${\sigma _\Phi } = {0.03}$$ radians.

### Interference fringes measurement

Let us define $${I_1} = P_{12}^\prime + P_{14}^\prime$$, where $$P_{ij}^\prime$$ is the two-photon probability at the outputs i and j of the second device. Such quantity depends only from the tuning of phase ϕ 5 on mode 5, while being insensitive to possible thermal cross-talks between the modes. Analogous quantities can be defined for modes 2, 4 and 5 ($${I_2} = P_{21}^\prime + P_{25}^\prime$$, $${I_4} = P_{41}^\prime + P_{45}^\prime$$ and $${I_5} = P_{52}^\prime + P_{54}^\prime$$). The recorded visibilities were $${V_{{I_1}}} = 0.51 \pm 0.05$$, $${V_{{I_5}}} = 0.40 \pm 0.03$$, $${V_{{I_2}}} = 0.74 \pm 0.03$$, and $${V_{{I_4}}} = 0.82 \pm 0.03$$.

### Data availability

The data sets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.

## References

1. 1.

Feynman, R. P. Simulating physics with computers. Int. J. Theor. Phys. 21, 467–488 (1982).

2. 2.

Polkovnikov, A., Sengupta, K., Silva, A. & Vengalattore, M. Nonequilibrium dynamics of closed interacting quantum systems. Rev. Mod. Phys. 83, 863 (2011).

3. 3.

Calabrese, P. & Cardy, J. Quantum quenches in 1+1 dimensional conformal field theories. J. Stat. Mech., 064003 (2016).

4. 4.

Fagotti, M. & Calabrese, P. Evolution of entanglement entropy following a quantum quench: analytic results for the XY chain in a transverse magnetic field. Phys. Rev. A. 78, 010306 (2008).

5. 5.

Kim, H. & Huse, D. A. Ballistic spreading of entanglement in a diffusive nonintegrable system. Phys. Rev. Lett. 111, 127205 (2013).

6. 6.

De Chiara, G., Montangero, S., Calabrese, P. & Fazio, R. Entanglement entropy dynamics of Heisenberg chains. J. Stat. Mech. P03001 (2006).

7. 7.

Altman, E. & Vosk, R. Universal dynamics and renormalization in many-body localized systems. Annu. Rev. Condens. Matter Phys. 6, 383–409 (2015).

8. 8.

Bardarson, J. H., Pollmann, F. & Moore, J. E. Unbounded growth of entanglement in models of many-body localization. Phys. Rev. Lett. 109, 017202 (2012).

9. 9.

Eisert, J., Friesdorf, M. & Gogolin, C. Quantum many-body systems out of equilibrium. Nat. Phys. 11, 124–130 (2015).

10. 10.

Takayanagi, T. & Ugajin, T. Measuring the black hole formation by entanglement entropy via coarse-graining. JHEP 11, 1–23 (2010).

11. 11.

Liu, H. & Suh, S. J. Entanglement tsunami: universal scaling in holographic thermalization. Phys. Rev. Lett. 112, 011601 (2014).

12. 12.

Islam, R. et al. Measuring entanglement entropy in a quantum many-body system. Nature 528, 77–83 (2015).

13. 13.

Kaufman, A. M. et al. Quantum thermalization through entanglement in an isolated many-body system. Science 353, 794–800 (2016).

14. 14.

Jurcevic, P. et al. Quasiparticle engineering and entanglement propagation in a quantum many-body system. Nature 511, 202–205 (2014).

15. 15.

Richerme, P. et al. Non-local propagation of correlations in quantum systems with long-range interaction. Nature 511, 198–201 (2014).

16. 16.

Fukuhara, T. et al. Spatially resolved detection of a spin-entanglement wave in a Bose-Hubbard chain. Phys. Rev. Lett. 115, 035302 (2015).

17. 17.

Alkurtass, B., Banchi, L. & Bose, S. Optimal quench for distance-independent entanglement and maximal block entropy. Phys. Rev. A. 90, 042304 (2014).

18. 18.

Wichterich, H. & Bose, S. Exploiting quench dynamics in spin chains for distant entanglement and quantum communication. Phys. Rev. A. 79, 060302(R) (2009).

19. 19.

Bose, S. Quantum communication through an unmodulated spin chain. Phys. Rev. Lett. 91, 207901 (2003).

20. 20.

Christandl, M., Datta, N., Ekert, A. & Landahl, A. Perfect state transfer in quantum spin networks. Phys. Rev. Lett. 92, 187902 (2004).

21. 21.

Banchi, L., Apollaro, T. J. G., Cuccoli, A., Vaia, R. & Verrucchi, P. Optimal dynamics for quantum-state and entanglement transfer through homogeneous quantum systems. Phys. Rev. A. 82, 052321 (2010).

22. 22.

Yao, N. Y. et al. Robust quantum state transfer in random unpolarized spin chains. Phys. Rev. Lett. 106, 040505 (2011).

23. 23.

Banchi, L., Bayat, A., Verrucchi, P. & Bose, S. Nonperturbative entangling gates between distant qubits using uniform cold atom chains. Phys. Rev. Lett. 106, 140501 (2011).

24. 24.

Feynman, R. P. Quantum mechanical computers. Opt. News 11, 11–20 (1985).

25. 25.

Sansoni, L. et al. Two-particle bosonic-fermionic quantum walk via integrated photonics. Phys. Rev. Lett. 108, 010502 (2012).

26. 26.

Matthews, J. et al. Observing fermionic statistics with photons in arbitrary processes. Sci. Rep. 3, 1539 (2013).

27. 27.

Broome, M. A. et al. Photonic boson sampling in a tunable circuit. Science 339, 794–798 (2013).

28. 28.

Spring, J. B. et al. Boson sampling on a photonic chip. Science 339, 798–801 (2013).

29. 29.

Tillmann, M. et al. Experimental boson sampling. Nat. Photon 7, 540–544 (2013).

30. 30.

Crespi, A. et al. Integrated multimode interferometers with arbitrary designs for photonic boson sampling. Nat. Photon 7, 545–549 (2013).

31. 31.

Peruzzo, A. et al. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 5, 4213 (2014).

32. 32.

Crespi, A. et al. Anderson localization of entangled photons in an integrated quantum walk. Nat. Photon. 7, 322–328 (2013).

33. 33.

Barz, S. et al. Linear-optical generation of eigenstates of the two-sites XY model. Phys. Rev. X 5, 021010 (2015).

34. 34.

Ma, X. S. et al. Towards photonic quantum simulation of ground states of frustrated Heisenberg spin systems. Sci. Rep. 4, 3583 (2014).

35. 35.

Orieux, A. et al. Experimental linear-optics simulation of multiparticle non-locality in the ground state of a quantum Ising ring. Sci. Rep. 4, 7184 (2014).

36. 36.

Bellec, M., Nikolopoulos, G. M. & Tzortzakis, S. Faithful communication Hamiltonian in photonics lattices. Opt. Lett. 37, 4504–4506 (2012).

37. 37.

Perez-Leija, A. et al. Coherent quantum transport in photonic lattices. Phys. Rev. A. 87, 012309 (2013).

38. 38.

Barmettler, P., Punk, M., Gritsev, V., Demler, E. & Altman, E. Relaxation of antiferromagnetic order in spin-1/2 chains following a quantum quench. Phys. Rev. Lett. 102, 130603 (2009).

39. 39.

Di Franco, C., Paternostro, M. & Kim, M. S. Nested entanglement states for distributed quantum channels. Phys. Rev. A. 77, 020303(R) (2008).

40. 40.

Ramírez, G., Rodríguez-Laguna, J. & Sierra, G. Entanglement over the rainbow. J. Stat. Mech. P06002 (2015).

41. 41.

Ho, W. W. & Abanin, D. A. Entanglement dynamics in quantum many-body systems. Phys. Rev. B 95, 093402 (2017).

42. 42.

Crespi, A. et al. Particle statistics affects quantum decay and Fano interference. Phys. Rev. Lett. 114, 090201 (2015).

43. 43.

Strauch, F. W. Connecting the discrete- and continuous-time quantum walks. Phys. Rev. A. 74, 030301(R) (2006).

44. 44.

Reck, M., Zeilinger, A., Bernstein, H. J. & Bertani, P. Experimental realization of any discrete unitary operator. Phys. Rev. Lett. 73, 58–61 (1994).

45. 45.

Barends, R. et al. Digital quantum simulation of fermionic models with a superconducting circuit. Nat. Commun. 6, 7654 (2015).

46. 46.

Flamini, F. et al. Thermally reconfigurable quantum photonic circuits at telecom wavelength by femtosecond laser micro-machining. Light Sci. Appl. 4, e354 (2015).

47. 47.

Chaboyer, Z., Meany, T., Helt, L. G., Withford, M. J. & Steel, M. J. Tunable quantum interference in a 3D integrated circuit. Sci. Rep. 5, 9601 (2015).

48. 48.

Laing, A. & O’Brien, J. L. Super-stable tomography of any linear optical device. Preprint at http://arxiv.org/abs/1208.2868v1 (2012).

49. 49.

Crespi, A. et al. Suppression law of quantum states in a 3D photonic fast Fourier transform chip. Nat. Commun. 7, 10469 (2015).

50. 50.

Bromberg, Y., Lahini, Y., Morandotti, R. & Silberberg, Y. Quantum and classical correlations in waveguide lattices. Phys. Rev. Lett. 102, 253904 (2009).

51. 51.

Peruzzo, A. et al. Quantum walk of correlated particles. Science 329, 1500–1503 (2010).

52. 52.

Lombardi, E., Sciarrino, F., Popescu, P. & De Martini, F. Teleportation of a vacuum-one-photon qubit. Phys. Rev. Lett. 88, 070402 (2002).

53. 53.

Horodecki, R., Horodecki, P., Horodecki, M. & Horodecki, K. Quantum entanglement. Rev. Mod. Phys. 81, 865–942 (2009).

54. 54.

Russomanno, A., Santoro, G. E. & Fazio, R. Entanglement entropy in a periodically driven Ising chain. J. Stat. Mech. 073101 (2016).

55. 55.

Apollaro, T. J. G., Palma, G. M. & Marino, J. Entanglement entropy in a periodically driven quantum Ising ring. Phys. Rev. B 94, 134304 (2016).

56. 56.

Venkataraman, V., Saha, K. & Gaeta, A. L. Phase modulation at the few-photon level for weak-nonlinearity-based quantum computing. Nat. Photon 7, 138–141 (2013).

57. 57.

Moura Alves, C. & Jaksch, D. Multipartite entanglement detection in bosons. Phys. Rev. Lett. 93, 110501 (2004).

58. 58.

Daley, A. J., Pichler, H., Schachenmayer, J. & Zoller, P. Measuring entanglement growth in quench dynamics of bosons in an optical lattice. Phys. Rev. Lett. 109, 020505 (2012).

## Acknowledgements

This work was supported by the Marie Curie Initial Training Network PICQUE (Photonic Integrated Compound Quantum Encoding, grant agreement no. 608062, funding Program: FP7-PEOPLE-2013-ITN, http://www.picque.eu) and by the H2020-FETPROACT-2014 Grant QUCHIP (Quantum Simulation on a Photonic Chip; grant agreement no. 641039, http://www.quchip.eu). L.B. and S.B. have received funding for this research from the European Research Council under the European Union’s Seventh Framework Programme (FP7/2007–2013)/ERC Grant agreement No. 308253 PACOMANEDIA.

## Author information

Authors

### Contributions

L.B., S.B., P.M., R.O., F.S.: Conceived the idea. I.P., A.C., R.O.: Designed and fabricated the integrated photonics devices and carried out their characterisation with classical light. A.S.R., D.C., M.B., N.S., F.S.: Carried out the quantum experiments and analysed the data. L.B, S.B.: Developed the theoretical model of engineered quantum walk and of entanglement growth. All authors discussed the experimental implementation and results, and contributed to writing the paper.

### Corresponding authors

Correspondence to Sougato Bose or Roberto Osellame or Fabio Sciarrino.

## Ethics declarations

### Competing interests

The authors declare no competing financial interests.

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Pitsios, I., Banchi, L., Rab, A.S. et al. Photonic simulation of entanglement growth and engineering after a spin chain quench. Nat Commun 8, 1569 (2017). https://doi.org/10.1038/s41467-017-01589-y

• Accepted:

• Published:

• ### Large-scale Ising emulation with four body interaction and all-to-all connections

• Santosh Kumar
• , He Zhang
•  & Yu-Ping Huang

Communications Physics (2020)

• ### Integrated photonic quantum technologies

• Jianwei Wang
• , Fabio Sciarrino
• , Anthony Laing
•  & Mark G. Thompson

Nature Photonics (2020)

• ### Superfluid-Insulator Transition unambiguously detected by entanglement in one-dimensional disordered superfluids

• G. A. Canella
•  & V. V. França

Scientific Reports (2019)