## Introduction

### Quantum walks

QWs are quantum dynamical systems characterized by: (i) a state space which is restricted to the one-particle sector (i.e. to a single ‘walker’); (ii) a discrete spacetime; (iii) the unitarity of its evolution; (iv) the homogeneity of its evolution, meaning its translation-invariance and time-independence, and (v) its causality (i.e. it is ‘non-signalling’), meaning that information has a bounded speed of propagation. QWs are blossoming, for two good reasons.

The first is that a number of novel Quantum Computation algorithms, to be run on Quantum Computers, were discovered via QWs1,2, or were elegantly expressed using QWs (the Grover search for instance). Typically in these quantum algorithms, the QW explores a graph, whose shape encodes the instance of the problem. No continuous spacetime limit is taken in these works.

The second is that a number of novel Quantum Simulation schemes, to be run on quantum simulation devices, were first expressed as QWs3,4, which seems to be the natural language for doing so. Quantum simulation was Feynman’s initial motivation to invent Quantum Computing5. Whilst full-blown Quantum Computers remain out-of-reach at the experimental level, a number of special-purpose Quantum Simulation devices are appearing, whose architecture is often directly inspired by QWs6,7. In QW-based quantum simulation schemes, the quantum walker propagates on a grid, and a spacetime continuum limit towards some well-known target physics equation is taken. These schemes provide: a/ numerical schemes that are stable even for classical computers— from which one can derive convergence8; b/simple toy models of the target physical phenomena, with most symmetries conserved (homogeneity, causality, unitarity… sometimes even Lorentz-covariance9,10.

The present work falls within the second class. However it borrows from the first. Indeed, we describe depart from the square lattice, to go to the honeycomb and triangular lattice— which can be seen as trivalent graphs.

### Rationale

A motivation for this work is the possibility to describe and implement the quantum simulation of certain physical systems, without the need to rely on the square lattice architecture. Rather, one would like to phrase a quantum simulation scheme in terms of naturally occurring lattices in well-controlled substrates. Examples of this class are the simulation of condensed matter systems modeled by a tight-binding Hamiltonian, such as graphene11 or the Kagome lattices12— where the dynamics of electrons can be effectively recast as a Dirac-like equation. In fact the QW introduced in this paper may be useful as a simple point of departure to predict electronic transport properties in the graphene like-materials13 and exploring how varying their geometry may influence the dispersion relations, and lead to topological phases14, with interesting consequences on the conducting properties.

Another motivation for this work is to understand how fermions would propagate if spacetime were a triangulated manifold, at the fundamental level. Indeed, triangulated manifolds are being used to describe curved spacetime since15– when Regge introduced his simplicial, discrete formulation of General Relativity. This discrete formulation then motivated a number of quantum gravity theories, such as Loop Quantum Gravity16 and Causal Dynamical Triangulation17— which seek to recover Regge calculus in the classical limit. Most often quantum gravity research focuses on the core issue of the quantum dynamics of discrete spacetime itself— overlooking the question of how matter would propagate within the discrete spacetime structure it prescribes. The present ideas may help address the question.

### Duality

In a previous work, we showed how a QW can be defined on the honeycomb and the triangular lattice18 (see also19), whose continuous spacetime limit is the Dirac equation in (2 + 1)– dimensional spacetime. Here, we extend these definitions to allow for spacetime dependent local unitaries, and introduce a dynamics that, in the continuum limit, corresponds to the Dirac equation in a curved (2 + 1)– dimensional spacetime.

The construction, we feel, is interesting. Indeed, given a lattice made of equilateral triangles, we begin by distorting the metric just via a coordinate transformation, following the initial step of the derivation of the Dirac equation in ordinary curved spacetime. But then we realize that the coordinate transformation can be absorbed by a suitable choice of the three gamma matrices that are associated to the three directions provided by the triangles— a possibility offered by the fact that these three directions are, of course, linearly-dependent in the plane. Recall that the role of the gamma matrices is to prescribe a basis of the spin, in which spin up goes one way, and spin down goes the opposite way. In the QW, the local unitaries implement precisely the corresponding changes of base. Thus, the gamma matrices determine the local unitaries in the QW. This, therefore, unravels an equivalence, in the continuum limit, between changing the actual geometry of the lattice, or keeping it fixed but changing the local unitaries in a suitable manner. The final step is to allow the local unitaries to be spacetime dependent and take the continuum limit, thereby recovering the Dirac equation in curved spacetime.

Notice that having three directions in two-dimensional space, as in the honeycomb or triangular lattices, is what provides that extra degree of freedom allowing for the transfer of the geometric distortions into the local unitaries— the square lattice is too rigid in this respect.

### Related works

It is already well known that QW can simulate the Dirac equation3,4,8,20,21,22,23, the Klein-Gordon equation24,25,26 and the Schrödinger equation27,28 and that they are a minimal setting in which to simulate particles in some inhomogeneous background field29,30,31,32,33, with the difficult topic of interactions initiated in34,35. Eventually, the systematic study of the impact inhomogeneous local unitaries also gave rise to QW models of particles propagating in curved spacetime. This line of research was initiated by a QW simulations of the curved Dirac equation in (1 + 1)–dimensions, for synchronous coordinates30,36, and later extended by37 to any spacetime metrics, and generalized to further spatial and spin dimensions in38,39. A related work, from a slightly different perspective, can be found in40. All of these models were on the square lattice: to the best our knowledge no one had modeled fermionic transport over non-square lattices. The present paper shows that over the honeycomb and triangular lattices the problem becomes considerably simpler, and the solution elegant.

In a recent work41, quantum transport over curved spacetime has been compared to electronic transport in deformed graphene, where a pseudo-magnetic field emulates an effective curvature in the tight-binding Hamiltonian (see also42). Back to the quantum computing side, the Grover search has been expressed as a QW over the honeycomb lattice43 (see also44 for continuous time approach). Reference45 evaluates the use graphene nanoribbons as a substrate to build quantum gates.

### Plan

The paper is organized as follows. First, we remind the reader of the basic concepts and notations surrounding the Dirac equation in a curved spacetime, in (3 + 1) and (2 + 1)– dimensions. In Methods we revisit our earlier Dirac QW on a honeycomb and on a triangular lattice, and why it worked. Also we show how a simple, homogeneous coordinate transformation impacts the continuum limit of the Dirac QW. In the end of this section, it is shown the duality, i.e. how the coordinate transformation can be absorbed into a choice of local unitaries. Finally, we present the main results: a QW that reproduces the Dirac equation with curvature in the continuum limit, both for the honeycomb and for the triangular lattices. We use $$\hslash =c=1$$ units.

## Dirac Equation in Curved Spacetime: a Recap

In this Section we recall the basic properties of the Dirac equation in curved spacetime. We refer the reader to46,47,48 for a review. We start by describing the case of a (3 + 1)– dimensional spacetime with coordinates xμ, μ = 0, …4, where x0 is the time coordinate, and metric tensor gμν(x) in these coordinates. At each point x, it is possible to introduce a set of four vectors $$\{{{e}_{\mu }}^{a}(x)/a,\mu =0,\,\ldots 4\}$$, referred to as the tetrad or vierbein, that locally diagonalizes the metric tensor i.e.,

$${g}_{\mu \nu }(x)={{e}_{\mu }}^{a}(x){{e}_{\nu }}^{b}(x){\eta }_{ab}.$$
(1)

(here and thereafter, summation over repeated indices is assumed), where ηab = Diag(1, −1, −1, −1). Notice that, given a vierbein, one can obtain a new one, which would also satisfy Eq. (1), by performing an arbitrary Lorentz transformation. The inverse of the vierbein is denoted $${{e}^{\mu }}_{a}$$ (interchanged indices), satisfying

$${{e}^{\mu }}_{a}(x){{e}_{\nu }}^{a}(x)={\delta }_{\nu }^{\mu },\,{{e}_{\mu }}^{a}(x){{e}^{\mu }}_{b}(x)={\delta }_{b}^{a}.$$
(2)

Using (1) and (2), one has

$${g}_{\mu \nu }(x){{e}^{\mu }}_{a}(x)\,{{e}^{\nu }}_{b}(x)={\eta }_{ab}.$$
(3)

Thus, tetrads can be understood as normalized tangent vectors that relate the original coordinates to a local inertial frame. We use the common convention that inertial coordinates are designated by latin indices, and original coordinates by greek indices. Latin indices are lowered and raised by ηab, greek indices by gμν. In the local inertial frame, one is legitimated to use the Dirac γ– matrices, i.e. matrices satisfying the Clifford algebra $$\{{\gamma }^{a},{\gamma }^{b}\}=2{\eta }^{ab}{\mathbb{I}}$$. From these, one defines $${\sigma }^{ab}=\frac{i}{2}[{\gamma }^{a},{\gamma }^{b}]$$.

Given a Dirac field ψ(x), the action of a local Lorentz transformation $${{{\rm{\Lambda }}}^{a}}_{b}(x)$$ can be written as

$$\psi \to {U}_{{\rm{\Lambda }}}\psi ,$$
(4)

where

$${U}_{{\rm{\Lambda }}}(x)={e}^{-\frac{i}{4}{\theta }_{ab}(x){\sigma }^{ab}},$$
(5)

and θab(x) are the parameters of the transformation, defined by $${{{\rm{\Lambda }}}^{a}}_{b}(x)={\delta }_{b}^{a}+{{\theta }^{a}}_{b}(x)$$. One can prove that this operator acts on Dirac gamma matrices as follows:

$${{U}_{{\rm{\Lambda }}}}^{-1}{\gamma }^{a}{U}_{{\rm{\Lambda }}}={{{\rm{\Lambda }}}^{a}}_{b}{\gamma }^{b}.$$
(6)

With the above notations, the Dirac equation in curved space

$$i{\gamma }^{a}{{e}^{\mu }}_{a}(x){{\mathscr{D}}}_{\mu }\,\psi -m\,\psi =0,$$
(7)

where m is the particle mass, is invariant under a local Lorentz transformation provided the generalized derivative that we use is

$${{\mathscr{D}}}_{\mu }={\partial }_{\mu }+{{\rm{\Gamma }}}_{\mu },$$
(8)

where Γμ transforms according to

$${{\rm{\Gamma }}}_{\nu }\to {{\rm{\Gamma }}}_{\nu }^{^{\prime} }={U}_{{\rm{\Lambda }}}{{\rm{\Gamma }}}_{\nu }{U}_{{\rm{\Lambda }}}^{-1}-{\partial }_{\nu }({U}_{{\rm{\Lambda }}}){U}_{{\rm{\Lambda }}}^{-1}.$$
(9)

The correction Γμ to the derivative can then be obtained as47

$${{\rm{\Gamma }}}_{\mu }(x)=-\,\frac{i}{4}{\omega }_{ab\mu }(x){\sigma }^{ab},$$
(10)

where ωabμ(x) is the so-called spin connection, and can be expressed in terms of the tetrads and the affine connection as

$${{\omega }^{a}}_{b\nu }={{e}_{\mu }}^{a}{\partial }_{\nu }{{e}^{\mu }}_{b}+{{e}_{\mu }}^{a}{{e}^{\sigma }}_{b}{{\rm{\Gamma }}}_{\sigma \nu }^{\mu }.$$
(11)

From Eq. (7) one can define a four-vector current

$${j}^{\mu }=\sqrt{g}{{e}^{\mu }}_{a}\bar{\psi }{\gamma }^{a}\psi ,$$
(12)

where g is the (absolute value of) the determinant of the metric, so that it is conserved:

$${\partial }_{\mu }{j}^{\mu }=0.$$
(13)

This justifies the normalization condition

$$\int {j}^{0}dv=\int \sqrt{g}{{e}^{0}}_{0}{\psi }^{\dagger }\psi dv=1,$$
(14)

with dv the volume element in space.

(2 + 1)– dimensions. When the space dimension is lower than 3, the γ–matrices become 2 × 2. Then, the Dirac Eq. (7) can be simplified to give

$$i{{\gamma }}^{a}[{{e}^{\mu }}_{a}{\partial }_{\mu }\psi +\frac{1}{2\sqrt{g}}{\partial }_{\mu }({{e}^{\mu }}_{a}\sqrt{g})\psi ]-m\psi =0.$$
(15)

We will now express this equation in Hamiltonian form. We name the greek indices μ = t, x, y, and the latin indices a = 0, 1, 2. By performing a local Lorentz transformation, it is possible to arrive to a form of the tetrad such that $${{e}^{t}}_{a}=0$$ for a = 1, 2. Then, by introducing the change of wavefunction given by49:

$$\chi ={g}^{1/4}{({{e}^{t}}_{0})}^{1/2}\psi$$
(16)

and multiplying Eq. (15) by β ≡ γ0, one gets

$$i{\partial }_{t}\chi +\frac{i}{2}\{{B}^{s},{\partial }_{s}\}\chi -\frac{m}{{{e}^{t}}_{0}}\beta \chi =0,$$
(17)

where s = 1, 2, and we have introduced the notation $${B}^{s}={\alpha }^{a}\frac{{{e}^{s}}_{a}}{{{e}^{t}}_{0}}$$, with the usual Dirac α–matrices αa ≡ βγa. In particular, one can make the choice γ0 = σz, γ1 = y and γ2 = −x. Then α0 becomes the identity matrix, α1 = σx and α2 = σy, with σi (i = 1, 2, 3) the Pauli matrices.

According to Eqs (14) and (16), the normalization condition becomes simply

$$\int {\chi }^{\dagger }\chi dv=1.$$
(18)

## Methods

### Dirac QW

A possible representation of the Dirac equation in flat spacetime is obtained from Eq. (17) by using the canonical tetrads $${{e}^{\mu }}_{a}={\delta }_{a}^{\mu }$$ and the choice of Dirac α–matrices made at the end of the last section:

$$i{\partial }_{t}\psi (t)={H}_{D}\psi (t)\,{\rm{with}}\,{H}_{D}={p}_{x}{\sigma }^{x}+{p}_{y}{\sigma }^{y}+m{\sigma }^{z}.$$
(19)

where pi is the ith component of the momentum operator.

It is now very well-known that one can define a QW on the lattice that converges, in the limit of both the lattice spacing and the time step going to zero, towards the solutions of (19). This is done by defining a Hilbert space $${\mathcal H} ={ {\mathcal H} }_{x}\otimes { {\mathcal H} }_{y}\otimes { {\mathcal H} }_{c}$$, where $${ {\mathcal H} }_{x}\otimes { {\mathcal H} }_{y}$$ stands for the space degrees of freedom, as spanned by the basis states x = εj, y = εk with $$j,k\in {\mathbb{Z}}$$, whereas $${ {\mathcal H} }_{c}={\rm{Span}}\{|c\rangle /c\in \{-1,1\}\}$$ describes the internal ‘coin’ (spin) degree of freedom. Over $${ {\mathcal H} }_{x}\otimes { {\mathcal H} }_{y}$$, the pi will now denote the quasimomentum operators defined by

$$\begin{array}{rcl}\exp (-i\varepsilon {p}_{x})|x,y\rangle & = & |x+\varepsilon ,y\rangle \\ \exp (-i\varepsilon {p}_{y})|x,y\rangle & = & |x,y+\varepsilon \rangle .\end{array}$$
(20)

The Dirac QW will evolve a state ψ(t) into

$$\begin{array}{rcl}\psi (t+\varepsilon ) & = & \exp (-im\varepsilon {\sigma }^{z})\exp (-i\varepsilon {p}_{x}{\sigma }^{x})\exp (-i\varepsilon {p}_{y}{\sigma }^{y})\\ & \approx & \exp (-i\varepsilon {H}_{D})\psi (t)\end{array}$$
(21)

using the Trotter-Kato formula. It follows that one recovers the Dirac Eq. (19) in the continuum limit when ε goes to zero, where the pi become the true momentum operators pi = −ii.

Recently18 we showed that Dirac dynamics can be implemented by a QW, not only over square lattices, but also over the honeycomb and triangular lattices (see also19). The honeycomb lattice QW is easier to introduce. It defines three directions ui, i = 0, 1, 2 having relative angles of 120°, let $${u}_{i}^{j}$$ denote their coordinates. The idea is to introduce three unitary 2 × 2–matrices τi with eigenvalues ±1 such that HD can be written as

$${H}_{D}={\pi }_{i}{\tau }^{i}+m{\sigma }^{z},$$
(22)

where $${\pi }_{i}\equiv {u}_{i}^{j}{p}_{j}$$ represents the quasimomentum operator along the ui direction. Then, the corresponding QW can again be defined by a Lie-Trotter expansion of Eq. (21), with HD defined in (22). The triangular lattice QW makes use of a similar setup, although the translations are generated by rotations of the triangles themselves, bringing apart the internal components of the field ψ, which is assumed to ‘live’ in the edges of the triangles, one component (ψ or ψ) on each side.

### Coordinate transformation on the dirac equation

The construction of the Dirac equation in curved spacetime relies on the equivalence principle, which means that one can introduce a local transformation of coordinates at a given point, so that one recovers the flat equation in the neighborhood of that point. The curved Dirac equation is then that which stems from applying reverse the local transformation, upon the flat Dirac equation. Our line of thought follows that step, i.e., starting from the flat case Dirac QW, perform an arbitrary change of coordinates so as to obtain the curved Dirac QW. Let us begin with just an homogeneous change of coordinates on the Dirac equation.

First notice that Eq. (3) can be writen as eTge = η, where e and g are just the representation of the tetrads and metric in matricial form, and T denotes the matrix transpose. Now, under a global change of coordinates Γ such that x′ = Γx, the metric g and the vierbein transform as

$$\begin{array}{rcl}g\,\mapsto g^{\prime} & = & {({{\rm{\Gamma }}}^{T})}^{-1}g{{\rm{\Gamma }}}^{-1}\\ e\,\mapsto e^{\prime} & = & {\rm{\Gamma }}e\end{array}$$
(23)

This transformation fulfills the tetrads-metric relation,

$${e}^{^{\prime} T}g^{\prime} e^{\prime} ={e}^{T}{{\rm{\Gamma }}}^{T}{({{\rm{\Gamma }}}^{T})}^{-1}g{{\rm{\Gamma }}}^{-1}{\rm{\Gamma }}e={e}^{T}ge=\eta .$$
(24)

Next we start from a QW that reproduces the flat equation, and introduce a deformation (described by the transformation Γ) that will end up with a more generic metric g′. We can make a simple choice, given by the canonical tetrads $${{e}^{\mu }}_{a}={\delta }_{a}^{\mu }$$ for the initial coordinates, and then transform them according to Eq. (23). Since we are considering a deformation of the spatial sites of the lattice, the time components will be left unchanged, and the matrix Γ will take the form

$${\rm{\Gamma }}=(\begin{array}{lll}1 & 0 & 0\\ 0 & {\lambda }_{11} & {\lambda }_{12}\\ 0 & {\lambda }_{21} & {\lambda }_{22}\end{array}).$$
(25)

where each λij are position independent, although they are allowed to depend on time.

Under this restriction, we can reduce the problem to a transformation on a bidimensional space, where $${{e}^{t}}_{0}=1$$, which implies that Eq. (17) adopts the simpler form

$$i{\partial }_{t}\chi +\frac{i}{2}\{{B}^{s},{\partial }_{s}\}\chi -m\beta \chi =0.$$
(26)

Let us consider how this transformation will affect the QW defined on a triangular lattice, as introduced in Sect. III (see18). Such transformation will imply modifying the vectors ui, yielding the new vectors

$${u}_{i}^{^{\prime} }=(\begin{array}{ll}{\lambda }_{11} & {\lambda }_{12}\\ {\lambda }_{21} & {\lambda }_{22}\end{array}){u}_{i}\equiv {\rm{\Lambda }}{u}_{i}.$$
(27)

Introducing these vectors in our algorithms and calculating the continuum limit, we arrive at the following equation

$$i{\partial }_{t}\psi =[({\lambda }_{11}{\sigma }^{x}+{\lambda }_{12}{\sigma }^{y}){p}_{x}+({\lambda }_{21}{\sigma }^{x}+{\lambda }_{22}{\sigma }^{y}){p}_{y}]\psi +m{\sigma }^{z}\psi ,$$
(28)

which describes the Dirac equation on a flat geometry. A comparison with Eq. (17) gives

$${B}^{x}={\lambda }_{11}{\sigma }^{x}+{\lambda }_{12}{\sigma }^{y}$$
(29)
$${B}^{y}={\lambda }_{21}{\sigma }^{x}+{\lambda }_{22}{\sigma }^{y}.$$
(30)

This procedure can be used for a homogeneous transformation, such as the one defined above. In the next section, we introduce an alternative, which consists in redefining the τi matrices. As we shall see, this redefinition also allows for an inhomogeneous (i.e., space-time dependent) Λ(t, x, y) transformation, thereby resulting in a Dirac equation in curved space.

### Curved dirac equation from a non-homogeneous QW

We now generalize the ideas developed in the previous Sect. with the purpose to obtain, in the continuum limit, the Dirac equation on a curved spacetime, for a given metrics with a triangular tetrad, as discussed in Sect. II. We start by looking at the set of matrices $${B}^{s}={\alpha }^{a}\frac{{{e}^{s}}_{a}}{{{e}^{t}}_{0}}$$, as a linear transformation over the set of usual Pauli matrices, in the same spirit as Eqs (29) and (30). This leads us to define the transformation Λ(t, x, y), with matrix elements

$${{\rm{\Lambda }}}_{a}^{s}\equiv \frac{{{e}^{s}}_{a}}{{{e}^{t}}_{0}}$$
(31)

(we have omitted the time and space dependence for convenience). Then, the above mentioned transformation reads

$${B}^{s}={{\rm{\Lambda }}}_{a}^{s}{\alpha }^{a}.$$
(32)

We now make use of the property that relates the τi matrices, defined in Eq. (22), with the Pauli matrices: $${u}_{i}^{k}{\tau }^{i}={\sigma }^{k}$$ (see18). In this way, we arrive to

$${B}^{s}={{\rm{\Lambda }}}_{k}^{s}{u}_{i}^{k}{\tau }^{i}.$$
(33)

The above equation can be understood as a transformation performed on the ui vectors, c.f. Eq. (27), as the origin of the curved spacetime equation.

Instead of introducing a distortion Λ(t, x, y) on the lattice via the modification of the ui vectors, the unitary matrices τi can be transformed to produce the same effect. In other words, we seek for a set of matrices βi(t, x, y) that fulfill the following conditions:

• (C1) We impose that

$${{\rm{\Lambda }}}_{k}^{j}(t,x,y){u}_{i}^{k}{\tau }^{i}={u}_{i}^{j}{\beta }^{i}(t,x,y).$$
(34)
• (C2) Each of them has {−1, 1} as eigenvalues, i.e. at any time step and at any point (x, y) of the lattice there exist three unitaries Ui(t, x, y) such that

$${\beta }^{i}(t,x,y)={U}_{i}^{\dagger }(t,x,y){\sigma }^{z}{U}_{i}(t,x,y).$$
(35)

Notice that condition (C1) implies that the coordinate transformation dictated by $${{\rm{\Lambda }}}_{k}^{j}(t,x,y)$$ is transferred to the unitary operations, which become new spacetime dependent βi(t, x, y), instead of the original τi. Additionally, condition (C2) will allow us to rewrite the QW evolution in terms of the usual state-dependent translation operators. Let us apply these ideas to the honeycomb and the triangular lattice.

To alleviate the notations, in what follows we will omit the spacetime dependence both in these matrices and in the Ui(t, x, y), and write simply βi and Ui. The above conditions allow to calculate the βi matrices, which can be written as a combination of Pauli matrices, i.e. $${\beta }^{i}={\overrightarrow{n}}^{i}\cdot \overrightarrow{\sigma }$$, where each $${\overrightarrow{n}}^{i}$$ must be a real, unit vector $${\overrightarrow{n}}^{i}=(\sin \,{\theta }_{i}\,\cos \,{\varphi }_{i},\,\sin \,{\theta }_{i}\,\sin \,{\varphi }_{i},\,\cos \,{\theta }_{i})$$ for some angles θi and ϕi (that are time and position dependent).

In this way

$${\beta }_{i}={U}_{i}^{\dagger }{\sigma }_{z}{U}_{i}=(\begin{array}{cc}\cos \,{\theta }_{i} & {e}^{-i{\varphi }_{i}}\,\sin \,{\theta }_{i}\\ {e}^{i{\varphi }_{i}}\,\sin \,{\theta }_{i} & -\cos \,{\theta }_{i}\end{array}),$$
(36)

and each Ui can be obtained by diagonalization of the corresponding βi. With an appropriate choice of phases, we finally write them as

$${U}_{i}=(\begin{array}{cc}{e}^{\frac{i{\varphi }_{i}}{2}}\,\cos \,\frac{{\theta }_{i}}{2} & {e}^{-\frac{i{\varphi }_{i}}{2}}\,\sin \,\frac{{\theta }_{i}}{2}\\ -{e}^{\frac{i{\varphi }_{i}}{2}}\,\sin \,\frac{{\theta }_{i}}{2} & {e}^{-\frac{i{\varphi }_{i}}{2}}\,\cos \,\frac{{\theta }_{i}}{2},\end{array}).$$
(37)

Before we proceed to examine the induced QW on the honeycomb and triangular lattices together with their limits, let us discuss what the situation would have been in the square lattice, had we implement the above procedure. In this case, the original Dirac matrices can be chosen to be the Pauli matrices, and the two unit vectors ui can be taken to be the canonical ones, so that the requirement of Eq. (34) simply becomes

$${{\rm{\Lambda }}}_{k}^{j}{\sigma }^{k}={\beta }^{j}.$$
(38)

But then, since condition (C2) implies that det(βj) = −1 for each j, we need that

$$\sum _{k}\,{({{\rm{\Lambda }}}_{k}^{j})}^{2}=1.$$
(39)

Thus the square lattice only allows for a limited form of “duality”, i.e. only those transformations satisfying condition (39) can be absorbed into the unitaries, whereas the honeycomb and triangular lattices allow for arbitrary transformations.

## Results

### Honeycomb QW

In this section we define the QW over the honeycomb, following a similar procedure as in18. After the ideas developed in Methods, we define the following Hamiltonian to be used in the QW:

$${\mathcal H} =\frac{1}{2}{u}_{i}^{j}({\beta }^{i}{p}_{j}+{p}_{j}{\beta }^{i})+\tilde{m}{\sigma }^{z}$$
(40)

with $$\tilde{m}=m/{{e}^{t}}_{0}$$. Expanding the Hamiltonian, we arrive to:

$${\mathcal H} =-\,i{u}_{i}^{j}{U}_{i}^{\dagger }{\sigma }_{z}{\partial }_{j}{U}_{i}-\frac{i}{2}{u}_{i}^{j}[({\partial }_{j}{U}_{i}^{\dagger }){\sigma }_{z}{U}_{i}-{U}_{i}^{\dagger }{\sigma }_{z}({\partial }_{j}{U}_{i})]+\tilde{m}{\sigma }^{z}$$
(41)

After substitution of Eq. (37), one obtains

$$({\partial }_{j}{U}_{i}^{\dagger }){\sigma }_{z}{U}_{i}-{U}_{i}^{\dagger }{\sigma }_{z}({\partial }_{j}{U}_{i})=-\,i\,\cos \,{\theta }_{i}{\partial }_{j}{\varphi }_{j}{\mathbb{I}},$$
(42)

with $${\mathbb{I}}$$ the identity matrix. Notice that, unlike in the flat space situation, there is no possible choice of the phases in the Uis that makes Eq. (42) vanish for all values of i. One may wonder whether there is a reason behind this, for example the existence of some topological or gauge invariant that forbids all these quantities to be simultaneously zero. This issue might deserve further investigation in the future. In any case, the additional term in Eq. (42) that arises from the choice given by Eq. (37) contributes only as a space-time dependent phase, which is easy to handle both from the theoretical and from the experimental point of view. We finally arrive to:

$${\mathcal H} =\sum _{i}\,({U}_{i}^{\dagger }{\sigma }_{z}{\pi }_{i}{U}_{i}+{\gamma }_{i}{\mathbb{I}})+\tilde{m}{\sigma }^{z}$$
(43)

where $${\gamma }_{i}=-\,\frac{i}{2}\,\cos \,{\theta }_{i}{\pi }_{i}{\varphi }_{i}$$. In order to define the QW, we make use of the Lie-Trotter product formula to decompose the evolution of the wavefunction $$\psi (t+\varepsilon )={e}^{-i\varepsilon {\mathcal H} }\psi (t)$$ as a product of unitary matrices

$${e}^{-i\varepsilon [\sum _{i}({U}_{i}^{\dagger }{\sigma }_{z}{\pi }_{i}{U}_{i}+{\gamma }_{i})+\tilde{m}{\sigma }^{z}]}\approx {e}^{-i\tilde{m}\varepsilon {\sigma }^{z}}\prod _{i}\,{e}^{-i\varepsilon {U}_{i}^{\dagger }{\sigma }_{z}{\pi }_{i}{U}_{i}}{e}^{-i\varepsilon {\gamma }_{i}}.$$
(44)

Applying condition (C1), and introducing the translation operators along the ui direction as $${T}_{i}={e}^{-i\varepsilon {\sigma }^{z}{\pi }_{i}}$$, the QW on a honeycomb can be defined as:

$$\psi (t+\varepsilon )={e}^{-i\tilde{m}\varepsilon {\sigma }^{z}}\prod _{i}\,{{U}^{\dagger }}_{i}{T}_{i}{U}_{i}{e}^{-i\varepsilon {\gamma }_{i}}\psi (t)$$
(45)

By construction, in the continuous limit, we arrive to the Dirac equation in 2 + 1 curved space-time, under the form

$$i{\partial }_{t}\psi =\frac{1}{2}[{u}_{i}^{j}{\beta }^{i}(t,x,y){p}_{j}+{u}_{i}^{j}{p}_{j}{\beta }^{i}(t,x,y)]\psi +\tilde{m}{\sigma }^{z}\psi .$$
(46)

As expected, this equation can be nicely rewritten under the form Eq. (17), if we define $${B}^{j}(t,x,y)\equiv {u}_{i}^{j}{\beta }^{i}(t,x,y)$$.

### Triangular QW

Let us describe first the dynamics corresponding to the massless case. Again, we follow the same procedure as in18. The triangles have equilateral sides labeled by k = 0, 1, 2. The two-dimensional spinors live on the edges shared by adjacent triangles. We denote them by $$\psi (t,v,k)=(\begin{array}{l}{\psi }^{\uparrow }(t,v,k)\\ {\psi }^{\downarrow }(t,v,k)\end{array})$$, with v a triangle and k a side. Therefore, the position at the lattice will be labeled by (v, k). The evolution of the Triangular QW is defined as the composition of three operators. The first operator is the application of the 2 × 2 unitary matrix Ui(t, v, k), defined in Methods, to each two-dimensional spinor on every edge shared by two neighboring triangles. The second operator, R, simply rotates every triangle anti-clockwise. The third operator is just the application of the unitary matrix $${U}_{i}^{\dagger }(t,v,k+1)$$ again at each edge shared by two neighboring triangles, where the addition k + 1 is understood modulo 2. Altogether, the Triangular QW evolution is given by:

$$\begin{array}{rcl}\psi (t+\varepsilon /3,v,k) & = & {U}_{i}^{\dagger }(t,v,k)[{P}^{\uparrow }{U}_{i}(t,v,k-1){e}^{-i\varepsilon {\gamma }_{i}}\psi (t,v,k-1)\\ & & \oplus \,{P}^{\downarrow }{U}_{i}(t,e(v,k),k-1){e}^{-i\varepsilon {\gamma }_{i}}\psi (t,e(v,k),k-1)]\equiv {W}_{i}(t)\psi (t)\end{array}$$
(47)

where P and P are the projectors over the upper and lower component of the spinor, respectively, and e(t, v, k) is the neighbor of triangle v alongside k at fixed time t. We define one timestep of the evolution by the composition of the three operators Wi, and include the mass term, as follows

$$\psi (t+\varepsilon )={e}^{-i\tilde{m}\varepsilon {\sigma }^{z}}({W}_{2}{W}_{1}{W}_{0})\psi (t)$$
(48)

By expanding this equation up to first order in ε, after a tedious but straightforward computation, one arrives to the following equation in the continuum limit:

$$\begin{array}{rcl}{\partial }_{t}\psi & = & ({U}_{0}^{\dagger }{\sigma }^{z}{U}_{0}-\frac{1}{2}{U}_{1}^{\dagger }{\sigma }^{z}{U}_{1}-\frac{1}{2}{U}_{2}^{\dagger }{\sigma }^{z}{U}_{2}){\partial }_{x}\psi +\frac{\sqrt{3}}{2}({U}_{1}^{\dagger }{\sigma }^{z}{U}_{1}-{U}_{2}^{\dagger }{\sigma }^{z}{U}_{2}){\partial }_{y}\psi \\ & & +\,{\partial }_{x}({U}_{0}^{\dagger }{\sigma }^{z}{U}_{0}-\frac{1}{2}{U}_{1}^{\dagger }{\sigma }^{z}{U}_{1}-\frac{1}{2}{U}_{2}^{\dagger }{\sigma }^{z}{U}_{2})\psi +\frac{\sqrt{3}}{2}{\partial }_{y}({U}_{1}^{\dagger }{\sigma }^{z}{U}_{1}-{U}_{2}^{\dagger }{\sigma }^{z}{U}_{2})\psi -i\tilde{m}{\sigma }^{z}\psi \end{array}$$
(49)

where the above terms appear from an expansion at order O(ε). Notice that, if we define $${B}^{x}\equiv ({\beta }^{0}-\frac{1}{2}{\beta }^{1}-\frac{1}{2}{\beta }^{2})$$, and $${B}^{y}\equiv \frac{\sqrt{3}}{2}({\beta }^{1}-{\beta }^{2})$$, Eq. (49) adopts the desired form of (17).

#### Numerical simulations

In order to illustrate how the above scheme can be used to describe the dynamics of a particular system, we have computed the behaviour of a massless fermion in a (2 + 1)- dimensional spacetime black hole, whose metric in Lemaître coordinates is given by:

$$d{s}^{2}=(1-\frac{{r}_{s}}{r})d{t}^{2}-\frac{d{\rho }^{2}}{1-\frac{{r}_{s}}{r}}-{r}^{2}d{\theta }^{2},$$
(50)

where $$r={(\frac{3(\rho -t)}{2})}^{\frac{2}{3}}{r}_{s}^{\frac{1}{3}}$$, and rs is the Schwarzschild radius. To simplify the simulations and the plots, we have not considered the angular motion, so that the variation in θ is zero. This allows us to describe the QW probability density in the plane (t, x), where x plays the role of ρ. The deformation Λ(t, x) to induce the former metric reads:

$${\rm{\Lambda }}(t,x)=(\begin{array}{cc}\frac{\sqrt{r(t,x)}}{{r}_{s}} & 0\\ 0 & \frac{1}{r(t,x)}\end{array}).$$
(51)

In Fig. 1 we can observe the dynamics of the walker in the projected plane (t, x). Depending on the initial position of the walker, the trajectories in the spacetime vary. The event horizon is given by $${r}_{h}=\frac{\sqrt{3}}{6}\varepsilon t+\frac{2}{3}{r}_{s}$$. Therefore, when the particle is initialized inside the horizon with $${x}_{{v}_{0}}=9.94$$ (left panel), the QW ends up in the singularity. On the other hand, if the QW starts exacly at the horizon (central panel), the probability distribution will follow the horizon trajectory. Finally, if the initial state lies outside the horizon with $${x}_{{v}_{0}}=31.31$$ (right panel), it propagates away from the singularity. These results are in agreement with30, in which they study a QW with the same metric in (1 + 1)- dimensional spacetime.

## Discussion

We introduced a Quantum Walk (QW) over the honeycomb and the triangular lattice. In both cases, our starting point was the possibility to rewrite the targeted Hamiltonian as a sum of momentum operators along the three relevant directions of the lattice, each weighted by a suitably chosen gamma matrix. This procedure has been introduced in18 — our targeted Hamiltonian was then that of the Dirac equation, which we recovered in the continuum limit. In the present work, we realized that due to the linear dependence of the three preferred directions of the honeycomb and the triangular lattices, one could also obtain the Hamiltonian of the Dirac equation under an arbitrary change of coordinates. We emphasized that applying the same procedure, but for the square lattice, only allows for a very limited set of changes of coordinates.

Then, by making the gamma matrices to be spacetime dependent, we obtained the Curved Dirac equation in an arbitrary background metric. Overall, the QW hereby constructed over the honeycomb and the triangular lattices thus recovers, in the continuum limit, the Dirac equation in curved (2 + 1)– dimensional spacetime. We believe that the duality between changes of metric, and changes of gamma matrices weighting non linearly-independent momentum operators, is profound and may lead to further developments.