1 Introduction

Braid operators have been widely used for quantum information and computation. Especially in topological quantum computation, the processes of braiding anyons, usually related to the unitary Jones representation of braids, act as the role of unitary quantum gates that are immune to local errors [1,2,3]. On the other hand, the local unitary representations of braids [4], which are different from the Jones representation, have been also well connected to the quantum information and quantum computation [5,6,7,8]. In terms of the relationships between braid and quantum entanglement, one of the simplest examples is that a special \(4\times 4\) braid matrix, which has been appeared in another form long ago [9], generates Bell basis from the 2-qubit natural basis [6], where Bell basis represents the maximal entangled 2-qubit pure state. This interesting result has made well connections between the braid operators and quantum entanglement. After that, a series of generalized works have been made [7, 10,11,12,13]. One significant generalization is that the parametrized form of the braid relation, Yang–Baxter equation, has been used for describing the entangled degree of pure states, such as 2-qubit [10] and 3-qubit [14]. Besides that, other further investigations associated with Yang–Baxter equation and generalized Yang–Baxter equation are also made to generate specific N-qudit entangled states [15, 16]. Based on the previous progresses in generating multipartite entanglements, we then come up with a natural question: Are there any general relationships between braid and quantum entanglement?

In this paper, based on the local unitary representation of braid group associated with Ising theory [3, 4], we discuss the general relationship between the local unitary representation of N-strand braid group in tensor product space \((\mathbb {C}^2)^{\otimes N}\) and the entanglement of N-qubit final state obtained by applying braid operators on the initial tensor product state. Our results show that the entangled parties of the final state generated by braiding operation depend only on the permutations of the strands in the diagrammatic version. In other words, only the permutation group, as a quotient group of the braid group, entangles the qubit sites.

Here we adopt the idea that if the initial state is stabilized by a stabilizer set \(\mathcal {S}\), then the final state after braiding operation \(\mathcal {B}\) is also stabilized by the final stabilizer set \(\mathcal {S}'=\mathcal {BSB^\dag }\). Bravyi’s paper [17] shows that for the Majorana representation of braid group in Ising anyon theory, the final stabilizer set after braiding is just a permutation of the site number of the Majorana operators in the initial stabilizer set. Because of the equivalence between our Pauli version of braid representation and the Majorana version, we can utilize the similar properties of the Majorana stabilizer set to our case.

Now we briefly introduce the logic of the proof. Firstly, we have local unitary representation of braids expressed by Pauli matrices and an initial state \(|\varPsi _0\rangle \) in tensor product space \((\mathbb {C}^2)^{\otimes N}\). Secondly, we transform the braid representation of Pauli version into the equivalent Majorana version by using Jordan–Wigner transformation. Then, we choose stabilizer set \(\mathcal {S}\) including N independent stabilizers for the initial state \(|\varPsi _0\rangle \). Applying braiding operation \(\mathcal {B}\) on state \(|\varPsi _0\rangle \), the final state \(|\varPsi \rangle =\mathcal {B}|\varPsi _0\rangle \) is also stabilized by the final stabilizer set \(\mathcal {S}'=\mathcal {BSB^\dag }\). At last, we use the final stabilizer set \(\mathcal {S}'\) to classify the entangled parties of the final state \(|\varPsi \rangle \). In this paper, we call a state entangled if it cannot be separated into any two parties. The paper is organized as follows. In Sect.  2, we introduce the local unitary representation of braids in Pauli version and the equivalent Majorana version. In Sect.  3, we give some examples and detailed explanations about the braiding operation and qubit entanglement. In Sect.  4 we discuss a general case of braiding and entanglement including arbitrary number of qubits. In the last section, we make conclusions and discussions.

2 Braid group representation in Pauli version and Majorana version

In this section, we mainly introduce one local unitary representation of N-strand braid group \(B_N\) in N-qubit tensor product space \((\mathbb {C}^2)^{\otimes N}\) and its equivalent Majorana fermionic version.

The N-strand braid group \(B_N\) is presented by generators \(\{\tau _i|i=1,2,\ldots N-1\}\) with the relations

$$\begin{aligned}&\tau _i\tau _j=\tau _j\tau _i \quad \text {if} \,\, |i-j|\ge 2, \end{aligned}$$
(1)
$$\begin{aligned}&\tau _i\tau _{i+1}\tau _i=\tau _{i+1}\tau _i\tau _{i+1}. \end{aligned}$$
(2)

One local unitary representation of \(B_N\) in N-qubit space \((\mathbb {C}^2)^{\otimes N}\) is

$$\begin{aligned} \begin{aligned} \tau _i&=\frac{1}{\sqrt{2}}\left( {\mathbb {I}}^{\otimes N}-\text {i}{\mathbb {I}}^{\otimes i-1}\otimes \sigma _i^y\otimes \sigma _{i+1}^x\otimes {\mathbb {I}}^{\otimes N-i-1} \right) ,\\&=\hbox {Exp}\left[ -\text {i}\frac{\pi }{4}\sigma _i^y\otimes \sigma _{i+1}^x \right] , \end{aligned} \end{aligned}$$
(3)

where \(\mathbb {I}\) represents 2D identity matrix and \(\sigma _i^{x(y)}\) represents the usual Pauli X(Y) matrix on the ith site. This is the Pauli version of the local unitary braid representation, which is related to Ising theory.

It is easy to verify that by applying \(\tau _i\) to the initial tensor product basis \(|\varPsi _0\rangle =|0\rangle ^{\otimes N}\),Footnote 1 one obtains the entangled 2-qubit Bell state on ith and \((i+1)\)th sites [6],

$$\begin{aligned} \tau _i|0\rangle ^{\otimes N}=|0\rangle ^{\otimes i-1}\otimes \left[ \frac{1}{\sqrt{2}}\left( |00\rangle +|11\rangle \right) \right] _{i,i+1}\otimes |0\rangle ^{\otimes N-i-1}. \end{aligned}$$
(4)

Now we turn the Pauli version of braid representation into the Majorana version. Majorana operators are well connected to Pauli matrices under Jordan–Wigner transformation,

$$\begin{aligned} \gamma _{2j-1}=\left[ \prod _{k=1}^{j-1}\sigma _k^z\right] \sigma _j^x, \quad \gamma _{2j}=\left[ \prod _{k=1}^{j-1}\sigma _k^z\right] \sigma _j^y. \end{aligned}$$
(5)

We see from above definition that one spin site corresponds to two Majorana sites. The Majorana operators are Hermitian and satisfy Clifford algebra,

$$\begin{aligned} \gamma _i=\gamma _i^{\dag }, \quad \{\gamma _i,\, \gamma _j\}=2\delta _{ij}. \end{aligned}$$
(6)

Substituting Eq. (5) into Eq. (3), one obtains the Majorana representation of braid generators, as

$$\begin{aligned} \tau _i=\frac{1}{\sqrt{2}}\left( 1+\gamma _{2i-1}\gamma _{2i+1}\right) =e^{\tfrac{\pi }{4}\gamma _{2i-1}\gamma _{2i+1}}. \end{aligned}$$
(7)

This braid representation, as was presented in many papers, describes the non-Abelian statistics properties of Majorana zero modes [18,19,20]. However, different from braiding nearest Majorana zero modes as it usually appears in papers, the braid generators that we define in Eq. (7) include only odd number Majorana sites and transform the odd Majorana operators into

$$\begin{aligned} \tau _i\gamma _{2j-1}\tau _i^{\dag }=\left\{ \begin{aligned} \gamma _{2j-1}, \quad&\text {if}\,\,j\notin \{i,\,i+1\},\\ -\gamma _{2i+1}, \quad&\text {if}\,\, j=i,\\ \gamma _{2i-1}, \quad&\text {if}\,\, j=i+1. \end{aligned} \right. \end{aligned}$$
(8)

We find that the operations of braid generators on Majorana operators are equivalent to exchanging two odd-nearest Majorana operators (up to a sign). Let us define the braiding operation \(B_{p,q}\) exchanging only two Majorana operators \(\gamma _p\) and \(\gamma _q\) with odd p and q,

$$\begin{aligned} B_{p,q}\gamma _p B_{p,q}^{\dag }\propto \gamma _q, \quad B_{p,q}\gamma _q B_{p,q}^{\dag }\propto \gamma _p, \end{aligned}$$
(9)

while all other Majorana operators are not exchanged except p and q. Here symbol “\(\propto \)” means that the result is up to a sign. \(B_{p,q}\) represents a set of different braid operators sharing the same property: In diagrammatic version of the set of braid operators \(B_{p,q}\), the pth strand ends at the qth strand site, and the qth strand ends at the pth strand site, regardless of the concrete path of the strand.

In this paper, we choose \(|0\rangle ^{\otimes N}\) as the initial N-qubit state. Indeed, from the view point of stabilizer code, the state is stabilized by a set of N independent operators with all eigenvalues \(-1\),

$$\begin{aligned} \begin{aligned} \mathcal {S}&=\{\sigma _1^z,\, \sigma _2^z,\, \ldots \, \sigma _{N-1}^z, \,\sigma _N^z\}\\&=\{i\gamma _2\gamma _1,\, i\gamma _4\gamma _3,\, \ldots \, i\gamma _{2N-2}\gamma _{2N-3},\, i\gamma _{2N}\gamma _{2N-1}\}. \end{aligned} \end{aligned}$$
(10)

For the N-qubit space, if there are N independent stabilizers, then the logical space should have dimension \(2^{N-N}=1\), i.e., there is only one common eigenstate \(|0\rangle ^{\otimes N}\) for all stabilizers in \(\mathcal {S}\) with the same eigenvalue -1.

Applying any braid operator \(\mathcal {B}\) to the initial state \(|0\rangle ^{\otimes N}\) is equivalent to changing the stabilizer set \(\mathcal {S}\) into (up to a sign)

$$\begin{aligned} \begin{aligned} \mathcal {S}'&=\mathcal {B}\mathcal {S} \mathcal {B}^\dag \\&\sim \{i\gamma _2\gamma _{p(1)},\, i\gamma _4\gamma _{p(3)},\, \ldots \, i\gamma _{2N}\gamma _{p(2N-1)} \}, \end{aligned} \end{aligned}$$
(11)

where p stands for a permutation of the odd site number of the Majorana operators. The final state \(|\varPsi \rangle =\mathcal {B}|0\rangle ^{\otimes N}\) is stabilized by \(\mathcal {S}'\) with all eigenvalues \(-1\). In this paper, we will use the final stabilizer set \(\mathcal {S}'\) to classify the entanglement. As was shown in Eq. (8), for the stabilizer set , the sign before the Majorana operators is not important and can be ignored. Indeed, for the Majorana representation, the permutation group \(S_N\) is the quotient group of braid group \(B_N\). Hence, the only useful part of the braid group in our paper is the permutation group \(S_N\), which describes the permutation of odd number Majorana sites.

3 Some simple examples of generating entanglement by braiding

In this section, to give an intuitive description about the relationship between braids and entanglement, we consider some simple cases.

3.1 Permuting two Majorana operators

Let us consider the simplest example about relationships between braiding and entanglement by exchanging only two Majorana operators \(\gamma _{2a-1}\) and \(\gamma _{2b-1}\) that correspond to spin sites a and b, respectively. We denote the braiding exchange of \(\gamma _{2a-1}\) and \(\gamma _{2b-1}\) by cyclic permutation \(P=(ab)\). Then, the final stabilizer set \(\mathcal {S}'\) is (up to a sign)

$$\begin{aligned} \mathcal {S}'=\{i\gamma _2\gamma _1,\, \ldots \, i\gamma _{2a}\gamma _{2b-1},\,\ldots \, i\gamma _{2b}\gamma _{2a-1},\, \ldots \, i\gamma _{2N}\gamma _{2N-1} \}. \end{aligned}$$
(12)

Except a and b, all other spin sites in the final state \(|\varPsi \rangle \) must be separable with each others since only two stabilizers \(i\gamma _{2a}\gamma _{2b-1}\) and \(i\gamma _{2b}\gamma _{2a-1}\) in \(\mathcal {S}'\) are different from the initial \(\mathcal {S}\) and the stabilized space is \(2^{N-N}=1\) dimensional. In other words, we only need to check whether the ath and bth spin sites are entangled or not in the final state \(|\varPsi \rangle \).

Now we prove that the ath and bth sites must be entangled. We denote the 2-qubit state on a and b sites by \(|\varphi \rangle _{ab}\). Substituting Eq. (5) into two stabilizers \(i\gamma _{2a}\gamma _{2b-1}\) and \(i\gamma _{2b}\gamma _{2a-1}\), one obtains (suppose \(a<b\))

$$\begin{aligned}&i\gamma _{2a}\gamma _{2b-1}=-\mathbb {I}^{\otimes a-1}\otimes \sigma _{a}^y\otimes [\sigma ^z]^{\otimes b-a-1}\otimes \sigma _b^y\otimes \mathbb {I}^{\otimes N-b},\quad \end{aligned}$$
(13)
$$\begin{aligned}&i\gamma _{2b}\gamma _{2a-1}=-\mathbb {I}^{\otimes a-1}\otimes \sigma _{a}^x\otimes [\sigma ^z]^{\otimes b-a-1}\otimes \sigma _b^x\otimes \mathbb {I}^{\otimes N-b}.\quad \end{aligned}$$
(14)

Obviously, \(|\varphi \rangle _{ab}\) must be common eigenstate of \(\sigma _a^y\otimes \sigma _b^y\) and \(\sigma _a^x\otimes \sigma _b^x\) due to the stabilizer condition. If \(|\varphi \rangle _{ab}\) is not entangled, say, \(|\varphi \rangle _{ab}=|\phi \rangle _a\otimes |\phi \rangle _b\), \(|\phi \rangle _a\) must be common eigenstate of \(\sigma _a^y\) and \(\sigma _a^x\). But \(\sigma _a^y\) and \(\sigma _a^x\) cannot share the same eigenstate. Hence, \(|\varphi \rangle _{ab}\) is an entangled 2-qubit state. Hence, we conclude that only if strand a in braid diagram ends at the position of strand b, the corresponding a and bth spin sites are entangled in the final state \(|\varPsi \rangle \).

3.2 Permuting three Majorana operators

Now we discuss the case that three Majorana operators \(\gamma _{2a-1}\), \(\gamma _{2b-1}\) and \(\gamma _{2c-1}\) are permuted under the braiding operation. Similar to the previous section, we denote the three Majorana operators’ permutation by cyclic notation \(P=(abc)\), which describes strand a ends at strand position b, strand b ends at position c, strand c ends at position a in braid diagram. After the braiding operation, the stabilizer set of final state \(|\varPsi \rangle \) becomes (up to a sign)

$$\begin{aligned} \mathcal {S}'\sim \{i\gamma _{2}\gamma _{1},\ldots \,i\gamma _{2a}\gamma _{2b-1},\ldots \,i\gamma _{2b}\gamma _{2c-1},\ldots \, i\gamma _{2c}\gamma _{2a-1},\ldots \}. \end{aligned}$$
(15)

In comparison with the initial stabilizer set \(\mathcal {S}\), \(\mathcal {S}'\) only has three different stabilizers \(\{i\gamma _{2a}\gamma _{2b-1},\, i\gamma _{2b}\gamma _{2c-1},\, i\gamma _{2c}\gamma _{2a-1}\}\). Due to the stabilizer condition, spin sites other than a, b and c must be separable with each others. Now let us focus on the 3-qubit subsystem final state \(|\varphi \rangle _{abc}\) stabilized by \(\{i\gamma _{2a}\gamma _{2b-1},\,i\gamma _{2b}\gamma _{2c-1},\, i\gamma _{2c}\gamma _{2a-1}\}\) on sites a, b and c. We will prove that \(|\varphi \rangle _{abc}\) cannot be separated into any two parties. For 3-qubit case, we only need to prove that any one qubit is entangled with another two. Without loss of generality, if we suppose \(|\varphi \rangle _{abc}=|\phi _1\rangle _a\otimes |\phi _2\rangle _{bc}\), the a-site part of all stabilizers must commute. But it is easy to find two stabilizers \(i\gamma _{2a}\gamma _{2b-1}\) and \(i\gamma _{2a-1}\gamma _{2a}\gamma _{2b-1}\gamma _{2b}\gamma _{2c-1}\gamma _{2c}\), so that the a-site subsystem operators in them do not commute. Concretely, in Pauli version, the a-site part of \(i\gamma _{2a}\gamma _{2b-1}\) is \(\sigma _a^{x(y)}\) (here x or y only depends on which one of a and b is larger), while the a-site part of \(i\gamma _{2a-1}\gamma _{2a}\gamma _{2b-1}\gamma _{2b}\gamma _{2c-1}\gamma _{2c}\) is \(\sigma _a^z\). Clearly, it violates our assumption and means that \(|\varphi \rangle _{abc}\) cannot be separated into a and bc parties. Similar constructions can also be applied to \(b-ac\) and \(c-ab\) cases. Hence, three sites a, b and c are entangled in the final state \(|\varPsi \rangle \).

3.3 Permuting four Majorana operators

Now we consider the braiding operation that permutes four Majorana operators with only 1 sub-cyclic permutation \(P=(abcd)\). Then, only four stabilizers \(\{i\gamma _{2a}\gamma _{2a-1}, i\gamma _{2b}\gamma _{2b-1},\, i\gamma _{2c}\gamma _{2c-1},\, i\gamma _{2d}\gamma _{2d-1}\}\) in initial stabilizer set \(\mathcal {S}\) are changed by braiding operation nontrivially into \(\{i\gamma _{2a}\gamma _{2b-1},\, i\gamma _{2b}\gamma _{2c-1},\, i\gamma _{2c}\gamma _{2d-1},\, i\gamma _{2d}\gamma _{2a-1}\}\) in final stabilizer set \(\mathcal {S}'\). Since qubit sites other than \(a,b,c \,\text {and}\,d\) must be separable, now we prove that the final 4-qubit state \(|\varphi \rangle _{abcd}\) on abcd sites are entangled, i.e., the 4-qubit state cannot be separated into any 2 parties. There are two cases to be proved. The first case is the entanglement between 1-qubit and 3-qubit, and the second case is the entanglement between 2-qubit and 2-qubit.

Let us consider the first case. To prove a-site and bcd-site are not separable, one only needs to find two stabilizers from \(\mathcal {S}'\) so that their corresponding a-site parts do not commute. We can choose \(i\gamma _{2a}\gamma _{2b-1}\) with a-site part \(\sigma _{a}^{x}\) or \(\sigma _{a}^{y}\) and \(\gamma _{2a-1}\gamma _{2a}\gamma _{2b-1}\gamma _{2b}\gamma _{2c-1}\gamma _{2c}\gamma _{2d-1}\gamma _{2d}\) with a-site part \(\sigma _{a}^z\). Since \([\sigma _{z}^{x(y)},\, \sigma _a^z]\ne 0\), a-site and bcd-site must be not separable. Similar results can also be applied to \(b-acd\), \(c-abd\) and \(d-abc\) cases.

Now we consider the second case. Our goal is still finding non-commuting subsystem operators from stabilizers in \(\mathcal {S}'\). We first choose one stabilizer operator

$$\begin{aligned} \begin{aligned} \gamma _{2a-1}\gamma _{2a}\gamma _{2b-1}\gamma _{2b}\gamma _{2c-1}\gamma _{2c}\gamma _{2d-1}\gamma _{2d}\propto \sigma _a^z\otimes \sigma _b^z\otimes \sigma _c^z\otimes \sigma _d^z. \end{aligned} \end{aligned}$$
(16)

In \(\{i\gamma _{2a}\gamma _{2b-1},\,i\gamma _{2b}\gamma _{2c-1},\, i\gamma _{2c}\gamma _{2d-1},\, i\gamma _{2d}\gamma _{2a-1}\}\), each stabilizer has only 2 spin sites that are not \(\sigma ^{z}\) or \(\mathbb {I}\). For example, for \(i\gamma _{2a}\gamma _{2b-1}\) in Pauli version, only the operators on sites a and b are \(\sigma ^x\) or \(\sigma ^y\), while all of the other sites are \(\sigma ^{z}\) or \(\mathbb {I}\). If we want to prove that ab-site and cd-site are entangled, we can choose \(i\gamma _{2d}\gamma _{2a-1}\) with ab-site part \(\sigma _{a}^{x(y)}\otimes \sigma _{b}^{z}\) or \(\sigma _{a}^{x(y)}\otimes \mathbb {I}_b\) together with \(\gamma _{2a-1}\gamma _{2a}\gamma _{2b-1}\gamma _{2b}\gamma _{2c-1}\gamma _{2c}\gamma _{2d-1}\gamma _{2d}\) with ab-site part \(\sigma _{a}^{z}\otimes \sigma _{b}^{z}\). Then, we find two non-commuting operators on ab-sites from stabilizer sets. Hence, ab-site and cd-site must be entangled. Similar proof can be also applied to \(ac-bd\) and \(ad-bc\) cases.

In summary, the 4-qubit sites a, b, c and d are not separable in the final state \(|\varPsi \rangle \).

4 Braiding and entanglement for multiqubits

In the previous section, we give some simple examples about the relationship between braids and few qubits entanglement. Now we extend the cases to multiqubit system. We consider two special types of permutation. The first type includes only one sub-cyclic permutation, and the second type includes two sub-cyclic permutations.

4.1 Permuting \((r+s)\) Majorana operators with \(P=(a_1a_2\ldots a_r\ldots a_{r+s})\)

Now we consider the braiding operation permuting (r+s) Majorana operators with only one sub-cyclic permutation \(P=(a_1a_2\ldots a_r\ldots a_{r+s})\). Here r and s are arbitrary positive integers satisfying \(r+s\le N\), and \(\{a_i\,|\, i\in [1,\,r+s]\}\) represent arbitrary different \((r+s)\) spin sites. As was discussed in previous sections, the spin sites not belonging to \(\{a_i\,|\, i\in [1,\,r+s]\}\) must be still separate with each others due to the stabilizer condition. Let \(|\varphi \rangle _{a_1\ldots a_{(r+s)}}\) be the subsystem state of the final state \(|\varPsi \rangle \). Now we prove that \(|\varphi \rangle _{a_1\ldots a_{(r+s)}}\) on sites \(\{a_i\,|\, i\in [1,\,r+s]\}\) is an entangled \((r+s)\)-qubit state, i.e., the state cannot be separated into any two parties.

Let us consider two parties: one party includes sites \(\{b_{j}\,|\, j\in [1,r]\}\), the other party includes sites \(\{b_{j}\,|\, j\in [r+1,r+s]\}\), where \(\{b_{j}\,|\, j\in [1,r+s]\}=\{a_{i}\,|\, i\in [1,r+s]\}\). Here we choose the new notation \(\{b_{j}\,|\, j\in [1,r+s]\}\) instead of \(\{a_{i}\,|\, i\in [1,r+s]\}\) to ensure that the entangled parties are irrelevant to the permutation order. Due to the permuting operation \(P=(a_1a_2\ldots a_r\ldots a_{r+s})\), there must be at least one Majorana operator \(\gamma _{2b_{m}-1}\)(\(m\in [1,r]\)) that is permuted into \(\gamma _{2b_{n}-1}\)(\(n\in [r+1,r+s]\)) by the braiding operation. In other words, \(i\gamma _{2b_{m}}\gamma _{2b_{n}-1}\) must be a stabilizer of the final state \(|\varPsi \rangle \). Then, the \(\{b_{j}\,|\, j \in [1,r]\}\) party of the Pauli version of \(i\gamma _{2b_{m}}\gamma _{2b_{n}-1}\) can be expressed as

$$\begin{aligned} \varGamma _1=(\sigma _{b_1}^z)^{c_1}\otimes (\sigma _{b_2}^z)^{c_2}\otimes \cdots \otimes \sigma _{b_m}^{x(y)}\otimes \cdots \otimes (\sigma _{b_r}^z)^{c_r}, \end{aligned}$$
(17)

where each \(c_i\) corresponds to the power of the operator on site \(b_i\), and \(\{c_1,\, \ldots c_{m-1}, c_{m+1},\ldots c_{r}\}=0\,\text {or} \,1\). Another stabilizer we need is \(\prod _{i=1}^{r+s}(\gamma _{2b_{i}-1}\gamma _{2b_i})\), whose \(\{b_{j}\,|\, j \in [1,r]\}\)-site party is

$$\begin{aligned} \varGamma _2=\sigma _{b_1}^z\otimes \sigma _{b_2}^z\otimes \cdots \otimes \sigma _{b_m}^z\otimes \cdots \otimes \sigma _{b_r}^z. \end{aligned}$$
(18)

It is easy to check that \([\varGamma _1\, \varGamma _2]\ne 0\), then the \(\{b_{j}\,|\, j \in [1,r]\}\) party and \(\{b_{j}\,|\, j \in [r+1,r+s]\}\) party must be entangled. Here r and s can be any positive integers satisfying \(r + s \le N\); hence, \(|\varphi \rangle _{a_1\ldots a_{(r+s)}}\) is an entangled subsystem state of the final state \(|\varPsi \rangle \).

4.2 Permuting \((r+s)\) Majorana operators with \(P=(a_1a_2 \ldots a_r)(b_{1}b_{2} \ldots b_{s})\)

Now we consider the braiding operation that permutes Majorana operators in the case with two sub-cyclic permutations \(P=(a_1a_2 \ldots a_r)(b_{1}b_{2} \ldots b_{s})\), here \(a_i\) and \(b_i\) are irrelevant to the notations in previous sections. Since the final state corresponding to permutation process \(P=(a_1a_2\ldots a_r)\) has been proved to be entangled, here we only need to consider whether the two parties \(\{a_i|i\in [1,r]\}\)-site and \(\{b_i|i\in [1,s]\}\)-site are entangled or not. After braiding operation on the initial stabilizer set, the changed stabilizers on \(\{a_i|i\in [1,r]\}\) and \(\{b_i|i\in [1,s]\}\) parties are \(\mathcal {S}'_a=\{i\gamma _{2a_1}\gamma _{2a_2-1},\,i\gamma _{2a_2}\gamma _{2a_3-1},\,\ldots \,i\gamma _{2a_r}\gamma _{2a_1-1}\}\) and \(\mathcal {S}'_b=\{i\gamma _{2b_1}\gamma _{2b_2-1},\,i\gamma _{2b_2}\gamma _{2b_3-1}, \ldots \,i\gamma _{2b_s}\gamma _{2b_1-1}\}\), respectively. In the following discussion, we only need to consider the changed stabilizers after braiding operation because the unchanged stabilizers act trivially on the sites \(\{a_i|i\in [1,r]\}\) and \(\{b_i|i\in [1,s]\}\). There are totally three cases to be discussed.

  1. 1.

    \(\max \{a_i|i\in [1,r]\}<\min \{b_i|i\in [1,s]\}\).

    In this case, due to the condition \(\max \{a_i|i\in [1,r]\}<\min \{b_i|i\in [1,s]\}\), it is obvious that all the \(\{a_i|i\in [1,r]\}\) party of stabilizers in \(\mathcal {S}'\) commute with each others. Hence, the \(\{a_i|i\in [1,r]\}\) and \(\{b_i|i\in [1,s]\}\) parties are separable in the final state.

  2. 2.

    \(\min \{a_i|i\in [1,r]\}<\min \{b_i|i\in [1,s]\}<\max \{a_i|i\in [1,r]\}<\max \{b_i|i\in [1,s]\}\).

    In this case, we prove that after braiding operation, the \(\{a_i|i\in [1,r]\}\) and \(\{b_i|i\in [1,s]\}\) parties are entangled. We denote the permutation processing \(P=(a_1a_2 \ldots a_r)(b_{1}b_{2} \ldots b_{s})\) by \(P=P_a\cdot P_b\), where \(P_a=(a_1a_2 \ldots a_r)\) and \(P_b=(b_{1}b_{2} \ldots b_{s})\). In combination with the condition \(\min \{a_i|i\in [1,r]\}<\min \{b_i|i\in [1,s]\}<\max \{a_i|i\in [1,r]\}<\max \{b_i|i\in [1,s]\}\), to preserve the permutation \(P_a\) and \(P_b\), there must be two stabilizers \(i\gamma _{2a_p}\gamma _{2a_q-1}\) and \(i\gamma _{2b_j}\gamma _{2b_k-1}\) in \(\mathcal {S}'\) so that \(a_p<b_j<a_q<b_k\), where \(\{a_p,a_q\}\subseteq \{a_i|i\in [1,r]\}\), \(\{b_j,b_k\}\subseteq \{b_i|i\in [1,s]\}\),

    $$\begin{aligned}&i\gamma _{2a_p}\gamma _{2a_q-1} \nonumber \\&\quad \propto \mathbb {I}^{\otimes a_p-1}\otimes \sigma _{a_p}^{x}\otimes (\sigma ^{z})^{\otimes a_q-a_p-1}\otimes \sigma _{a_q}^{x}\otimes (\mathbb {I})^{\otimes N-a_q}, \end{aligned}$$
    (19)
    $$\begin{aligned}&i\gamma _{2b_j}\gamma _{2b_k-1}\nonumber \\&\quad \propto \mathbb {I}^{\otimes b_j-1}\otimes \sigma _{b_j}^{x}\otimes (\sigma ^{z})^{\otimes b_k-b_j-1}\otimes \sigma _{b_k}^{x}\otimes (\mathbb {I})^{\otimes N-b_k}. \end{aligned}$$
    (20)

    The \(\{a_i|i\in [1,r]\}\) parties of Eqs. (19) and (20) are

    $$\begin{aligned}&i\gamma _{2a_p}\gamma _{2a_q-1} \longrightarrow \varGamma _3:\nonumber \\&\quad (\sigma _{a_1}^z)^{u_1}\otimes (\sigma _{a_2}^z)^{u_2}\ldots \otimes \sigma _{a_p}^{x}\otimes \ldots \otimes \sigma _{a_q}^{x}\otimes \ldots \otimes (\sigma _{a_r}^z)^{u_{r}}, \end{aligned}$$
    (21)
    $$\begin{aligned}&i\gamma _{2b_j}\gamma _{2b_k-1}\longrightarrow \varGamma _4: \nonumber \\&\quad (\sigma _{a_1}^z)^{v_1}\otimes (\sigma _{a_2}^z)^{v_2}\ldots \otimes \mathbb {I}_{a_p}\otimes \ldots \otimes \sigma _{a_q}^{z}\otimes \ldots \otimes (\sigma _{a_r}^z)^{v_{r}}, \end{aligned}$$
    (22)

    where \(u_i\) and \(v_i\) correspond to the power of operators on site \(a_i\), and \(\{u_1,u_2\ldots u_{p-1}, u_{p+1},\ldots u_{q-1}, u_{q+1},\ldots u_r\}=0 \,\text {or}\, 1\), \(\{v_1,v_2\ldots v_{q-1}, v_{q+1},\ldots v_r\}=0 \,\text {or}\, 1\). We can see from Eqs. (21) and (22) that only the \(a_q\)-site parties of \(\varGamma _3\) and \(\varGamma _4\) do not commute, hence \([\varGamma _3,\varGamma _4]\ne 0\). Hence, the \(\{a_i|i\in [1,r]\}\) and \(\{b_i|i\in [1,s]\}\) parties are entangled in the final state \(|\varPsi \rangle \).

  3. 3.

    \(\min \{a_i|i\in [1,r]\}<\min \{b_i|i\in [1,s]\}<\max \{b_i|i\in [1,s]\}<\max \{a_i|i\in [1,r]\}\).

    1. (a)

      \(\forall a_j\notin \left[ \min \{b_i|i\in [1,s]\},\, \max \{b_i|i\in [1,s]\}\right] ,\, j\in [1,r]\).

      In this case, we prove that the \(\{a_i|i\in [1,r]\}\) party and \(\{b_i|i\in [1,s]\}\) parties are separable. Let us first consider the stabilizers in set \(\mathcal {S}'_a\). It is known that the stabilizers commute with each others, and all of the sites other than \(\{a_i|i\in [1,r]\}\) of the stabilizers in \(\mathcal {S}'_a\) must be \(\sigma ^z\) or \(\mathbb {I}\). Hence, the \(\{a_i|i\in [1,r]\}\) parties of all stabilizers in \(\mathcal {S}'_a\) must commute. Secondly, for the stabilizers in set \(\mathcal {S}'_b\), due to the condition \(\forall a_j\notin \left[ \min \{b_i|i\in [1,s]\},\, \max \{b_i|i\in [1,s]\}\right] , \, j\in [1,r]\), the \(\{a_i|i\in [1,r]\}\) parties of the stabilizers in set \(\mathcal {S}'_b\) must be identity. Then, all of the \(\{a_i|i\in [1,r]\}\) parties of the stabilizers in set \(\mathcal {S}'\) commute with each others. Hence, in this case, the \(\{a_i|i\in [1,r]\}\) party and \(\{b_i|i\in [1,s]\}\) parties are separable in the final state \(|\varPsi \rangle \).

    2. (b)

      \(\exists \, a_j\in \left[ \min \{b_i|i\in [1,s]\},\, \max \{b_i|i\in [1,s]\}\right] ,\, j\in [1,r]\).

      This case is similar to the Case 2 we mentioned above. To preserve the permutation processing \(P=P_a\cdot P_b\), we can always find at least two stabilizers \(i\gamma _{2a_p}\gamma _{2a_q-1}\) and \(i\gamma _{2b_j}\gamma _{2b_k-1}\) in \(\mathcal {S}'\) so that \(a_p<b_j<a_q<b_k\) or \(b_j<a_p<b_k<a_q\), where \(\{a_p,a_q\}\subseteq \{a_i|i\in [1,r]\}\), \(\{b_j,b_k\}\subseteq \{b_i|i\in [1,s]\}\). Then, the result of Case 2 can be applied here directly.

5 Conclusion and discussion

In summary, by analyzing the properties of the final stabilizer set after braiding operations, we obtain the entanglement properties of the final stabilized state \(|\varPsi \rangle \). Our proof ends at the case including only two sub-cyclic permutations. However, braiding operations permuting Majorana operators under the multi sub-cyclic permutations \(P=(a_1a_2\ldots a_r)(b_1b_2\ldots b_s)(c_1\ldots c_t)\ldots (d_1\ldots d_u)\) can be discussed in a similar way like the two sub-cyclic case \(P=(a_1a_2\ldots a_r)(b_1b_2\ldots b_s)\). Here we recall that an entangled state in our paper is defined by the non-separability of the state into any two parties. To check whether two parties are entangled or not, one only needs to find two non-commuting operators on the sites of one party from the final stabilizer set \(\mathcal {S}'\). If there exist two non-commuting operators, then the two parties are entangled; if not, then the two parties must be separable because the dimension of the stabilized space is only \(2^{N-N}=1\).

Our results show the close relationships between quantum entanglement and the permutation of the strands in the diagrammatic version under braiding operations. The results rely on the Majorana fermionic representation of braids. Mathematically, it is perhaps not too surprising, as the representation has finite image [21]. Recently, the \(\mathbb {Z}_3\) parafermionic representation of braids [22, 23] is also explicitly connected to the Jones representation in \(SU(2)_4\) metaplectic anyon system [24]. Further extension of the results may be related to the \(\mathbb {Z}_3\) parafermionic representation of braids, which is also related to the local unitary representation of the braids [4].