Dicke states [1] are permutation-invariant superpositions of qubit computational basis states, for example,
1|{D_{3,2}}\rangle = {1 \over {\sqrt 3 }}(|011\rangle + |101\rangle + |110\rangle ).
These states play a prominent role in quantum information science, see e.g. the recent review [2]. Considerable effort has been devoted recently to the preparation of these states on a qubit quantum computer, see e.g., [3–9].
Considerable attention has also been devoted recently to extending qubit-based quantum computing to higher dimensions, both theoretically [10] and experimentally [11–18]. It is therefore natural to consider higher-dimensional (qudit) generalizations of Dicke states. Two such generalizations are SU(2) spin-s Dicke states and SU(d) Dicke states. An example of the former with s = 1 (and therefore 2s + 1 = 3 levels) is
2|D_{3,2}^{(1)}\rangle = {2 \over {\sqrt {15} }}(|011\rangle + |101\rangle + |110\rangle ) + {1 \over {\sqrt {15} }}(|002\rangle + |020\rangle + |200\rangle ),
with a fixed digit sum (here, 2) in each basis state. An example of the latter with d = 3 is
3|{D^3}(1,1,1)\rangle = {1 \over {\sqrt 6 }}(|012\rangle + |021\rangle + |102\rangle + |120\rangle + |201\rangle + |210\rangle ),
with one 0, one 1, and one 2 in each basis state. More precise definitions and explanations of notation can be found at the beginning of Sections 2 and 3, respectively. Potential applications of such states include quantum error correction [19,20], metrology [21], and quantum interferometric imaging [9].
Much less effort has been devoted to the preparation of qudit Dicke states than to ordinary (qubit) Dicke states. For SU(2) spin-s Dicke states, a recursive state-preparation algorithm, generalizing the one by Bärtschi and Eidenbenz [3] for qubit (s = 1/2) Dicke states, was formulated in [22]. For SU(d) Dicke states, a recursive state-preparation algorithm was formulated in [23]; and an algorithm using sorting networks has recently been formulated by Liu, Childs and Gottesman [9].
Here we consider further the problem of preparing both types of generalized Dicke states on a qudit quantum computer. We formulate quantum circuits implementing the sequential deterministic preparation [24] of these states based on their recently-found exact matrix product state (MPS) representations [25]. We also formulate circuits based on quantum phase estimation (QPE) [26,27] that prepare these states probabilistically, some of which achieve constant circuit depth, generalizing an approach developed in [4,7] for preparing ordinary Dicke states. For simplicity, we restrict our attention to exact state preparation; computational resources can be reduced by dropping this requirement [7].
The remainder of this paper is organized as follows. In Section 2, we consider the preparation of SU(2) spin-s Dicke states, starting with the sequential preparation, and then continuing with the QPE preparation. In Section 3, we consider the preparation of SU(d) Dicke states, again starting with the sequential preparation, and continuing with the QPE preparation. We briefly discuss these results Section 4. Implementations in cirq [28] of all the circuits are available on GitHub [29].
A summary of our main results, and a comparison with previous work, are presented in Table 1.
Table 1.
Summary of our results and comparison with previous work. Note that we report here worst-case values, corresponding to k ∼ sn and \vec k \sim (n/d, \ldots ,n/d) for |D_{n,k}^{(s)}\rangle and |{D^n}(\vec k)\rangle , respectively; see the respective sections for more comprehensive discussions.
The ordinary qubit Dicke state can be written as |{D_{n,k}}\rangle \propto {({^ - })^k}|0{\rangle ^{ \otimes n}}, where {^ - }is the total spin-lowering operator for a system of n spin-1/2 spins (qubits), which is applied k times on the product state |0{\rangle ^{ \otimes n}}. A natural higher-dimensional generalization is to consider instead spin-s spins (that is, (2s + 1)-level qudits, where s = 1/2, 1, 3/2,…), and define the normalized state |D_{n,k}^{(s)}\rangle \propto {(mathvariant = double - struck{S^ - })^k}|0{\rangle ^{ \otimes n}}, where {^ - } is now the total spin-lowering operator for a system of n such spin-s spins. An example with s = 1, n = 3 and k = 2 is given in (2), where |0\rangle = {(1,0, \ldots ,0)^T}, \ldots ,|2s\rangle = {(0, \ldots ,0,1)^T} are the standard computational basis states in the (2s + 1)-dimensional complex vector space {^{2s + 1}}, and tensor products are understood e.g., |002\rangle = |0\rangle \otimes |0\rangle \otimes |2\rangle . Note that the digit sum in each basis state in (2) is k = 2.
Spin-s Dicke states have the closed-form expression [22]
4|D_{n,k}^{(s)}\rangle = \mathop \sum \limits_{\matrix{
{{m_i} = 0,1, \ldots ,2s} \cr
{{m_1} + {m_2} + \cdots + {m_n} = k} \cr
} } \sqrt {{{(\matrix{
{2s} \cr
{{m_1}} \cr
} )(\matrix{
{2s} \cr
{{m_2}} \cr
} ) \cdots (\matrix{
{2s} \cr
{{m_n}} \cr
} )} \over {(\matrix{
{2sn} \cr
k \cr
} )}}} |{m_n} \ldots {m_2}{m_1}\rangle ,\quad k = 0,1, \ldots ,2sn,
where (\matrix{
n \hfill \cr
m \hfill \cr
} ) = n!/(m!(n - m)!) is the binomial coefficient. These states are U(1) eigenstates for any allowed value of s5|D_{n,k}^{(s)}\rangle = k|D_{n,k}^{(s)}\rangle ,
where 𝕂 is a Hermitian operator defined by
6 = \mathop \sum \limits_{i = 1}^n {_i},\quad {_i} = \otimes \ldots \otimes \mathop {\mathop \limits^ \downarrow }\limits^i \otimes \ldots \otimes ,\quad = \mathop \sum \limits_{m = 0}^{2s} m|m\rangle \langle m|,\quad = \mathop \sum \limits_{m = 0}^{2s} |m\rangle \langle m|.
Hence, = ns - {^z}, where {^z} is the z-component of the total spin {\vec }. These states also have the “duality” (charge conjugation) property [22]
7{{\cal C}^{ \otimes n}}|D_{n,k}^{(s)}\rangle = |D_{n,2sn - k}^{(s)}\rangle ,\quad {\cal C} = \mathop \sum \limits_{m = 0}^{2s} |2s - m\rangle \langle m|,
which maps k ↦ 2sn – k.
A recursive deterministic approach for preparing spin-s Dicke states was presented in [22]. In this section we present several additional methods of preparing these states: a sequential deterministic approach in Section 2.1, and a probabilistic approach based on QPE in Section 2.2.
2.1.
Sequential Preparation
An exact canonical MPS representation for |D_{n,k}^{(s)}\rangle with minimal bond dimension χ = k + 1 is given by [25]
8|D_{n,k}^{(s)}\rangle = \mathop \sum \limits_{\vec m} \langle |A_n^{{m_n}} \ldots A_2^{{m_2}}A_1^{{m_1}}|\rangle |\vec m\rangle ,
where |\vec m\rangle = |{m_n} \ldots {m_2}{m_1}\rangle as in (4); moreover, |\rangle , \ldots ,|\rangle are basis states of an ancilla qudit of dimension χ (an underline is used here to distinguish χ-dimensional vectors from (2s + 1)-dimensional vectors), and A_i^m are (k + 1) × (k + 1) matrices with elements (for 0 < k < sn)
9\langle {{}^\prime }|A_i^m|\rangle = \gamma _{j,m}^{(i)}{\delta _{{j^\prime },j + m}},\quad \gamma _{j,m}^{(i)} = \sqrt {{{({{2s(n - i)} \over {k - j - m}})({{2s} \over m})} \over {({{2s(n - i + 1)} \over {k - j}})}}} .
Note that \gamma _{j,m}^{(i)} = 0 if k – j > 2s(n – i + 1), and that the binomial coefficient (\matrix{
n \cr
m \cr
} ) is defined to be zero if m \notin [0,n].
The fact that the MPS is canonical implies [24] that we can define a two-qudit unitary operator Ui acting on an ancilla qudit |\rangle and a “system” qudit at site i (where i = 1, 2,…, n) that performs the mapping
10{U_i}|\rangle |0{\rangle _i} = \mathop \sum \limits_m (A_i^m|\rangle )|m{\rangle _i} = \mathop \sum \limits_{m = 0}^{2s} \gamma _{j,m}^{(i)}\underline {j + m\rangle } |m{\rangle _{i,}}
where the second equality follows from (9). In view of the first equality in (10) and (8), the state |D_{n,k}^{(s)}\rangle can be prepared sequentially as follows
11|\rangle |D_{n,k}^{(s)}\rangle = {U_n} \ldots {U_2}{U_1}|\rangle |0{\rangle ^{ \otimes n}}.
In order to implement the sequential preparation (11), it is necessary to explicitly implement the unitary Ui (10), whose coefficients \gamma _{j,m}^{(i)} depend on the state |\rangle of the ancilla qudit. To this end, we decompose Ui into an ordered product of simpler operators {\rm{I}}_l^{(i)}12{U_i} = \mathop \prod \limits_{l = \max (0,2s(i - n - 1) + k)}^{\mathop {\min (2si,k) - 1}\limits^ } I_l^{(i)},
where the product goes from right to left with increasing l, such that
13I_l^{(i)}|\rangle |0{\rangle _i} = \{ \matrix{
{\mathop \sum \limits_{m = 0}^{2s} \gamma _{j,m}^{(i)}|\underline {j + m} \rangle |m{\rangle _i}} \hfill & {if\,l = j} \hfill \cr
{|\rangle |0{\rangle _i}} \hfill & {if\,l \ne {j^\prime }} \hfill \cr
} 14I_l^{(i)}|\rangle |m{\rangle _i} = |\rangle |m{\rangle _i}\quad for\,m > 0\quad and\quad j \le l + m - 1.
The latter condition (14) ensures that these gates do not interfere
15{\rm{I}}_l^{(i)}({\rm{I}}_j^{(i)}|\rangle |0{\rangle _i}) = ({\rm{I}}_j^{(i)}|\rangle |0{\rangle _i})\quad for\quad l > j.
Although a priori all {\rm{I}}_l^{(i)} operators from l = 0 to l = k could contribute to Ui, one can check that only those operators in (12) can act non-trivially.
The operators {\rm{I}}_l^{(i)} can be implemented by the quantum circuit whose circuit diagram is shown in Figure 1. The top wire is a “system” qudit of dimension 2s + 1, and the bottom wire is the MPS ancilla qudit of dimension χ = k + 1. The circle denotes a control on the value i. The 1-qudit gate Xd and the 2-qudit controlled gate SUMd (also known as a fan-out gate) are defined as (see e.g., [10]; we remark that 1-qudit and 2-qudit gates are already becoming experimentally feasible, see e.g., [11–18])
16{{\rm{X}}_d}|x\rangle = |x + 1\rangle ,\quad {\rm{X}}_d^\dag |x\rangle = |x - 1\rangle ,
and
17SU{M_d}|y\rangle |x\rangle = |y + x\rangle |x\rangle ,\quad SUM_d^\dag |y\rangle |x\rangle = |y - x\rangle |x\rangle ,
respectively, where the sums are defined modulo d, and here d = χ = k + 1. (We use to denote the control of the SUMd gate, since the control qudit can have any value.) The rotation gate {R_{m,m + 1}}({\theta _m}) is defined as
18{R_{m,m + 1}}({\theta _m}) = \exp ( - {{{\theta _m}} \over 2}(|m\rangle \langle m + 1| - |m + 1\rangle \langle m|)),
where θm is given by
19{\theta _m} = 2\arccos ({{\gamma _{l,m}^{(i)}} \over {\mathop \prod \nolimits_{p = 0}^{m - 1} \sin ({\theta _p}/2)}}),\quad m = 0,1, \ldots ,2s - 1.
Figure 1.
Circuit diagram for {\rm{I}}_l^{(i)} defined in (13), (14).
Each rotation gate is controlled by the ancilla value l + 1, and all operations are assumed to be modulo χ. It is straightforward to check that this circuit satisfies the properties (13), (14). For s = 1/2, this circuit reduces to the one presented in the appendix of [25].
The complete circuit diagram for preparing the state |D_{n,k}^{(s)}\rangle sequentially (11) is shown in Figure 2. We therefore have the following:
Result 1.
The state |D_{n,k}^{(s)}\rangle can be prepared deterministically with approximate depth 𝒪(skn) for k ∼ sn, using one ancilla of dimension k + 1.
This circuit depth is comparable to that of the circuit in [22]. For k ≪ sn, the depth is lower due to the restriction on the l-values in the product (12).
Figure 2.
Circuit diagram for preparing the state |D_{n,k}^{(s)}\rangle sequentially (11) (a) {U_i} = {\mathop \Pi \limits^ _l}I_l^{(i)}, with x = max(0, 2s(i – n – 1) + k) and y = min(2si – 1, k – 1); (b) {\mathop \Pi \limits^ _i}{U_i}|\rangle |0{\rangle ^{ \otimes n}}.
2.2.
QPE Preparation
We have seen in Section 2.1 that the sequential preparation of Dicke states |D_{n,k}^{(s)}\rangle is deterministic, at the cost of circuit depth that grows linearly with n. We consider here an alternative preparation method that has lower depth, but which is probabilistic. This approach is based on the quantum phase estimation algorithm [26,27], which was used in [4,7] for preparing qubit (s = 1/2) Dicke states.
The two key steps in this approach are:
constructing a suitable product state that can be expressed as a linear combination of Dicke states |D_{n,k}^{(s)}\rangle ; and
exploiting the U(1) symmetry of these states (5) to select the desired one.
For the first step, we observe that an n-fold tensor product of the 1-qudit state
20|\psi (s)\rangle = {1 \over {{2^s}}}\mathop \sum \limits_{m = 0}^{2s} \sqrt {({{2s} \over m})} |m\rangle
can be expressed as the following linear combination of Dicke states
21|\psi (s){\rangle ^{ \otimes n}} = {1 \over {{2^{sn}}}}\mathop \sum \limits_{k = 0}^{2sn} \sqrt {({{2sn} \over k})} |D_{n,k}^{(s)}\rangle .
Borrowing a trick from [7], let us now introduce into the 1-qudit state (20) a variational parameter 0 < p < 1, which we will tune to boost the probability of preparing a Dicke state with a target value of k, see (30) below. Hence, we instead make use of the 1-qudit state
23|\psi (s,p)\rangle = {(1 - p)^s}\mathop \sum \limits_{m = 0}^{2s} {(\sqrt {{p \over {1 - p}}} )^m}\sqrt {({{2s} \over m})} |m\rangle ,
which can be similarly shown to satisfy
24|\psi (s,p){\rangle ^{ \otimes n}} = \mathop \sum \limits_{k = 0}^{2sn} {(\sqrt p )^k}{(\sqrt {1 - p} )^{(2sn - k)}}\sqrt {({{2sn} \over k})} |D_{n,k}^{(s)}\rangle .
The state |ψ(s, p)〉 (23) can be prepared using a product of rotation gates (18) as follows
25|\psi (s,p)\rangle = {R_{2s - 1,2s}}({\theta _{2s - 1}}) \ldots {R_{1,2}}({\theta _1}){R_{0,1}}({\theta _0})|0\rangle ,
with the rotation angles
26{\theta _i} = 2\arccos ({{{{(1 - p)}^s}\sqrt {({{2s} \over i}){{({p \over {1 - p}})}^i}} } \over {\mathop \prod \nolimits_{j = 0}^{i - 1} \sin ({\theta _j}/2)}}),\quad i = 0,1, \ldots 2s - 1.
For the second step, we define the n-qudit unitary operator
27U = \exp (2\pi i/{2^\ell }) = \mathop \prod \limits_{j = 1}^n \exp (2\pi i{_j}/{2^\ell }),
where 𝕂 and {_j} are defined in (6), and ℓ is still to be determined (see (32) below). The Dicke state |D_{n,k}^{(s)}\rangle is an eigenstate of this operator
28U|D_{n,k}^{(s)}\rangle = {e^{2\pi ik/{2^\ell }}}|D_{n,k}^{(s)}\rangle
by virtue of (5). The QPE circuit (discussed in Section 2.2.1 below) uses the unitary operator (27) to project the product state (24) to the Dicke state |D_{n,k}^{(s)}\rangle with a probability P(k) given by
29P(k) = {p^k}{(1 - p)^{(2sn - k)}}({{2sn} \over k}),
which is maximized for
30p = {k \over {2sn.}}
The success probability of preparing |D_{n,k}^{(s)}\rangle is therefore given by
31P(k) = {{(2sn)!} \over {{{(2sn)}^{2sn}}}}{{{k^k}} \over {k!}}{{{{(2sn - k)}^{(2sn - k)}}} \over {(2sn - k)!}} \approx \sqrt {{{2sn} \over {2\pi k(2sn - k)}}} ,
where we have used Stirling's approximation. In the worst case k = sn, the number of required repetitions is 1/P(k) = {\cal O}(\sqrt {sn} ). For k ≪ sn, fewer repetitions are needed, since then 1/P(k) = {\cal O}(\sqrt k ).
2.2.1.
Log Depth
The circuit diagram for the standard QPE algorithm is shown in Figure 3. The bottom wire represents the n-qudit product state (24). There are ℓ qubit ancillas, where ℓ is the minimum number of bits ki ∈ {0, 1} required to represent the maximum possible value of k = \mathop \sum \limits_{i = 0}^{\ell - 1} {k_i}{2^i}, namely,
32\ell = \left\lceil {{{\log }_2}(2sn + 1)} \right\rceil .
Figure 3.
Circuit diagram for preparing the state |D_{n,k}^{(s)}\rangle in log depth using the standard QPE algorithm. All ancilla wires are qubits. The initial state of the bottom wire is (24), and U is defined in (27).
The controlled unitaries are controlled versions of the unitary operator (27). The state of the system just prior to the measurement is
33\mathop \sum \limits_{k = 0}^{2sn} \sqrt {P(k)} |D_{n,k}^{(s)}\rangle |k\rangle ,
where P(k) is given by (31). The circuit therefore succeeds on measuring the ancilla qubits’ base-10 value to be the k of choice.
The circuit has ℓ controlled unitaries, each of which can be implemented in constant depth using mid-circuit measurement/feedforward and n additional qubit ancillas, see Result 1 in [7]. Hence, the controlled unitaries can be implemented in depth 𝒪(ℓ). The inverse quantum Fourier transform U_{QFT}^\dag can also can be implemented in depth 𝒪(ℓ). We therefore have the following:
Result 2.
The state |D_{n,k}^{(s)}\rangle can be prepared probabilistically with at worst {\cal O}(\sqrt {sn} ) repetitions and with depth 𝒪(ℓ) = 𝒪(log(sn)), using 𝒪(ℓ + n) = 𝒪(log(sn) + n) qubit ancillas.
For s = 1/2, this circuit reduces to Result 3–Proposition 1 in [7] with exact preparation.
2.2.2.
Constant Depth
Variations of the above circuit can prepare the state |D_{n,k}^{(s)}\rangle in constant depth, at the expense of introducing additional and/or higher-dimensional ancillas.
The simplest such scheme, shown in Figure 4, uses the Hadamard test with an auxiliary qudit (top wire) of dimension d = 2sn + 1, which is the number of possible values k-values. The gate Hd is the generalized Hadamard gate (see e.g., [10])
34{H_d}|x\rangle = {1 \over {\sqrt d }}\mathop \sum \limits_{y = 0}^{d - 1} {e^{2\pi ixy/d}}|y\rangle ,
and the controlled-𝒰 gate is defined as
35{\cal C}{\cal U}|y\rangle |x\rangle = ({\cal U}(x)|y\rangle )|x\rangle ,\quad {\cal U}(x) = \exp (2\pi ix/d) = \mathop \prod \limits_{j = 1}^n \exp (2\pi ix{_j}/d).
Figure 4.
Circuit diagram for preparing the state |D_{n,k}^{(s)}\rangle in constant depth using the Hadamard test. The top wire is a qudit of dimension d = 2sn + 1. The initial state of the bottom wire is (24), and 𝒰 is defined in (35).
This gate can be implemented in constant depth using mid-circuit measurement/feedforward and n additional ancilla qudits of dimension d, by a generalization of the proof of Result 1 in [7], see also appendix A in [30]. We therefore have the following:
Result 3.
The state |D_{n,k}^{(s)}\rangle can be prepared probabilistically with at worst {\cal O}(\sqrt {sn} ) repetitions and with depth 𝒪(1), using 𝒪(n) ancillas of dimension 2sn + 1.
The scaling of an ancilla dimension with n is an evident shortcoming of this approach.
An alternative scheme, adapted from [7], only requires ancillas of dimensions 2 and 2s + 1. The initial state (24) can be written, with the help of the identity (4), as
36\matrix{
{|\psi (s,p){\rangle ^{ \otimes n}}} & = & {\mathop \sum \limits_{{k^\prime } = 0}^{2sn} \sqrt {P({k^\prime })} |D_{n,{k^\prime }}^{(s)}\rangle } \cr
{} & = & {\mathop \sum \limits_{{k^\prime } = 0}^{2sn} \mathop \sum \limits_{\matrix{
{{m_i} = 0,1, \ldots ,2s} \cr
{{m_1} + {m_2} + \cdots + {m_n} = {k^\prime }} \cr
} } {\alpha _{{k^\prime },w}}|{m_n} \ldots {m_2}{m_1}\rangle ,\quad {\alpha _{{k^\prime },w}} = \sqrt {P({k^\prime })} \sqrt {{{(\matrix{
{2s} \cr
{{m_1}} \cr
} )(\matrix{
{2s} \cr
{{m_2}} \cr
} ) \cdots (\matrix{
{2s} \cr
{{m_n}} \cr
} )} \over {(\matrix{
{2sn} \cr
{{k^\prime }} \cr
} )}}} } \cr
{} & = & {\mathop \sum \limits_{{k^\prime } = 0}^{2sn} \mathop \sum \limits_{w \in S(n,s,{k^\prime })} {\alpha _{{k^\prime },w}}|w\rangle ,} \cr
}
where S(n, s, k′) is the set of all permutations w = mn … m2m1 of n integers, each of which is between 0 and 2s, and which sum to k′; and |w〉 = |mn … m2m1〉 is the computational basis state of n qudits corresponding to the permutation w. We fan out ℓ – 1 times the state |w〉 (using n(ℓ – 1) ancilla qudits of dimension 2s + 1, and corresponding qudit fan-out gates) to obtain the state
37\mathop \sum \limits_{{k^\prime } = 0}^{2sn} \mathop \sum \limits_{w \in S(n,s,{k^\prime })} {\alpha _{{k^\prime },w}}|w{\rangle ^{ \otimes \ell }}
As shown in Figure 5, using ℓ qubit ancillas as controls, we then apply a product of controlled gates V defined by
38V(x) = (|0\rangle \langle 0|) \otimes + (|1\rangle \langle 1|) \otimes U(x),\quad U(x) = \exp (2\pi i( - k)/{2^x}),
where 𝕂 is the n-qudit operator defined in (6), and k is the k-value of the target state |D_{n,k}^{(s)}\rangle . The states |w〉 are eigenstates of U(x) for any w ∈ S(n, s, k′),
39U(x)|w\rangle = {e^{i\theta (x)}}|w\rangle ,\quad \theta (x) = 2\pi i({k^\prime } - k)/{2^x}.
Figure 5.
Circuit diagram for preparing the state |D_{n,k}^{(s)}\rangle , which can be implemented in constant depth. The top ℓ wires are qubits, while all other wires are qudits of dimension 2s + 1. The state |ψ(s, p)〉 is given by (23), and U(x) is defined in (38).
With the help of the identity (for integer values of k and k′)
40\mathop \prod \limits_{x = 1}^\ell (1 + {e^{i\theta (x)}}) = {2^\ell }{\delta _{{k^\prime },k}},
one can see that the state of the system just prior to measurement is
41\sqrt {P(k)} |{\rangle ^{ \otimes n(\ell - 1)}}|D_{n,k}^{(s)}\rangle |0{\rangle ^{ \otimes \ell }} + \ldots .
The circuit therefore succeeds on measuring all ℓ qubit ancillas to be zero.
The qudit fan-out gates (represented in Figure 5 by SUM gates) can be implemented in constant depth (see appendix A in [30]), and likewise for the V(x) gates (see Result 1 in [7]). We therefore have the following:
Result 4.
The state |D_{n,k}^{(s)}\rangle can be prepared probabilistically with at worst {\cal O}(\sqrt {sn} ) repetitions and with depth 𝒪(1), using l qubit ancillas, and n(ℓ – 1) qudit ancillas of dimension 2s + 1, where ℓ is given by (32).
For s = 1/2, this circuit reduces to Result 3-Proposition 2 in [7] with exact preparation.
3.
SU(d) Dicke States |{D^n}(\vec k)\rangle
Just as ordinary SU(2) Dicke states |D_{n,k}^{(1/2)}\rangle are specified by a fixed number k of |1〉’s (and therefore n – k |0〉’s), SU(d) Dicke states are characterized by a fixed vector {\vec k} of occupation numbers for each of d levels – that is, a specified number of d-level qudits occupying each level. Given {\vec k}, an SU(d) Dicke state is constructed as a uniform superposition over all computational basis states that match the specified occupation numbers.
More explicitly, let \vec k = ({k_0},{k_1}, \ldots ,{k_{d - 1}}) be a vector of d integers, each of which is between 0 and n, and which sum to n (that is, {k_i} \in \{ 0,1, \ldots ,n\} , and \mathop \sum \limits_{i = 0}^{d - 1} {k_i} = n). The corresponding n-qudit SU(d) Dicke state |{D^n}(\vec k)\rangle is defined by
42|{D^n}(\vec k)\rangle = {1 \over {\sqrt {({n \over k})} }}\mathop \sum \limits_{w \in {_{M(\vec k)}}} |w\rangle ,
where {_{M(\vec k)}} is the set of all permutations of the multiset M(\vec k)43M(\vec k) = \{ \mathop {\mathop {0, \ldots ,0}\limits_ }\limits_{} ,\mathop {\mathop {1, \ldots ,1}\limits_ }\limits_{{k_1}} , \ldots ,\mathop {\mathop {d - 1, \ldots ,d - 1}\limits_ }\limits_{{k_{d - 1}}} \} ,
such that ki is the multiplicity of i in M(\vec k), and the cardinality of M(\vec k) is n; and |w〉 is the computational basis state of n qudits corresponding to the permutation w. Furthermore, (\matrix{
n \hfill \cr
{\vec k} \hfill \cr
} ) denotes the multinomial
44(\matrix{
n \hfill \cr
{\vec k} \hfill \cr
} ) = (\matrix{
n \cr
{{k_0},{k_1}, \ldots ,{k_{d - 1}}} \cr
} ) = {{n!} \over {\mathop \prod \nolimits_{i = 0}^{d - 1} {k_i}!}}.
An example with \vec k = (1,1,1), so that d = 3 (qutrits) and n = 3, is given by (3).
Approaches for preparing SU(d) Dicke states were presented in [9,23]. In this section we present several additional methods of preparing these states: a sequential deterministic approach in Section 3.1, and a probabilistic approach based on QPE in Section 3.2.
3.1.
Sequential Preparation
An exact canonical MPS representation for |{D^n}(\vec k)\rangle was derived in [25]. The basis for the MPS ancilla consists of level sets {{\cal A}^i}(\vec k) defined by
45{{\cal A}^i}(\vec k) = \{ \vec a = ({a_0},{a_1}, \ldots ,{a_{d - 1}})\mid \quad 0 \le {a_j} \le {k_j},\quad \mathop \sum \limits_{j = 0}^{d - 1} {a_j} = i\} ,\quad i = 0,1, \ldots ,n.
The elements \vec a \in {{\cal A}^i}(\vec k) are labeled (indexed) by consecutive integers {J^i}(\vec a) = 0,1, \ldots ,{{\cal D}^i}(\vec k) - 1, where {{\cal D}^i}(\vec k) = |{{\cal A}^i}(\vec k)| is the cardinality of {{\cal A}^i}(\vec k). Here we order each level set in reverse lexicographic order, which is central for our construction, see Appendix A. Hence, for \vec x,\vec y \in {{\cal A}^i}(\vec k), we assign their labels such that
46{J^i}(\vec x) < {J^i}(\vec y)\quad \Leftrightarrow \quad \vec x{ > _{lex}}\vec y,
where lexicographic order compares vectors from left to right. Thus, \vec x = ({x_0},{x_1}, \ldots ,{x_{d - 1}}){ > _{lex}}\vec y = ({y_0},{y_1}, \ldots ,{y_{d - 1}}) if xj > yj for the first j where xj ≠ yj.
For example, for \vec k = (1,1,1) so that d = 3, the level set {{\cal A}^1}(\vec k) is given by
47{{\cal A}^1}(\vec k) = \{ (1,0,0),(0,1,0),(0,0,1)\} = \{ \hat 0,\hat 1,\hat 2\} ,
where {\hat m} is a d-dimensional unit vector in the m-th direction; that is, it has components {(\hat m)_i} = {\delta _{m,i}}, with m = 0, 1, …, d – 1. The elements of {{\cal A}^1}(\vec k) are ordered in (47) in reverse lexicographic order, and have labels {J^1}(\hat m) = m for m = 0, 1, 2.
A canonical MPS with minimum bond dimension \chi = {{\cal D}^{n/2}}(\vec k) is given by [25]
48|{D^n}(\vec k)\rangle = \mathop \sum \limits_{\vec m} \langle |A_n^{{m_n}} \ldots A_2^{{m_2}}A_1^{{m_1}}|\rangle |\vec m\rangle ,
where A_i^m are χ × χ matrices with elements
49\langle \underline {{J^i}(\overrightarrow {{a^\prime }} )} |A_i^m|\underline {{J^{i - 1}}(\vec a)} \rangle = \gamma _{{J^{i - 1}}(\vec a),m}^{(i)}{\delta _{\overrightarrow {{a^\prime }} ,\vec a + {{\hat m}^\prime }}},\quad \gamma _{{J^{i - 1}}(\vec a),m}^{(i)} = \sqrt {{{({{n - i} \over {\vec k - \vec a - \hat m}})} \over {({{n - i + 1} \over {\vec k - \vec a}})}}} ,
where \vec a \in {{\cal A}^{i - 1}}(\vec k) and \overrightarrow {{a^\prime }} \in {{\cal A}^i}(\vec k). The coefficient \gamma _{{J^{i - 1}}(\vec a),m}^{(i)} is zero unless \vec a + \hat m \in {{\cal A}^i}(\vec k).
The fact that the MPS is canonical implies [24] that we can define a two-qudit unitary operator Ui acting on an ancilla qudit |\underline {{J^{i - 1}}(\vec a)} \rangle (for \vec a \in {{\cal A}^{i - 1}}(\vec k)) and a “system” qudit at site i ∈ {1, 2,…, n} that performs the mapping
50{U_i}|\underline {{J^{i - 1}}(\vec a)} \rangle |0{\rangle _i} = \mathop \sum \limits_{m = 0}^{d - 1} (A_i^m|\underline {{J^{i - 1}}(\vec a)} \rangle )|m{\rangle _i} = \mathop \sum \limits_{m = 0}^{d - 1} \gamma _{{J^{i - 1}}(\vec a),m}^{(i)}|\underline {{J^i}(\vec a + \hat m)} \rangle |m{\rangle _i}.
It follows that the state |{D^n}(\vec k)\rangle can be prepared sequentially as follows
51|\rangle |{D^n}(\vec k)\rangle = {U_n} \ldots {U_2}{U_1}|\rangle |0{\rangle ^{ \otimes n}}.
In order to formulate a circuit implementation of the sequential preparation (51), it is necessary to devise a circuit for the unitary Ui (50). Proceeding as in Section 2.1, we decompose Ui into an ordered product of simpler operators {\rm{I}}_{{J^{i - 1}}(\vec a)}^{(i)}52{U_i} = \mathop \prod \limits_{\vec a \in {{\cal A}^{i - 1}}(\vec k)}^ {\rm{I}}_{{J^{i - 1}}{{(\vec a)}^\prime }}^{(i)},
where the product goes from right to left with increasing label {J^{i - 1}}(\vec a), such that
53, 54I_p^{(i)}|\underline {{J^{i - 1}}(\vec a\rangle } |0{\rangle _i} = \{ \matrix{
{\mathop \sum \limits_{m = 0}^{d - 1} \gamma _{{J^{i - 1}}(\vec a),m}^{(i)}\underline {{J^i}(\vec a + \hat m)} \rangle |m{\rangle _i}} \hfill & {if\quad p = {J^{i - 1}}(\vec a)} \hfill \cr
{|\underline {{J^{i - 1}}(\vec a\rangle } |0{\rangle _i}} \hfill & {if\quad p < {J^{i - 1}}(\vec a)} \hfill \cr
}
and
55I_p^{(i)}{(I_{{J^{i - 1}}(\vec a)}^{(i)}|\underline {{J^{i - 1}}(\vec a\rangle } |0\rangle _i}) = {(I_{{J^{i - 1}}(\vec a)}^{(i)}|\underline {{J^{i - 1}}(\vec a\rangle } |0\rangle _i})\quad if\,p > {J^{i - 1}}(\vec a).
The operators {\rm{I}}_{{J^{i - 1}}(\vec a)}^{(i)} can be implemented by the quantum circuit whose circuit diagram is shown in Figure 6. The top wire is a “system” qudit of dimension d, and the middle wire is the MPS ancilla qudit of dimension χ. In contrast with the corresponding SU(2) spin-s circuit in Figure 1, there is an additional (bottom) wire representing a qubit ancilla. The level sets {{\cal A}^i}(\vec k), the corresponding labels {J^i}(\vec a) and their inverses {({J^i})^{ - 1}} \in {{\cal A}^i}(\vec k) are computed classically.
Figure 6.
Circuit diagram for I_{{J^{i - 1}}(\vec a)}^{(i)}.
In Figure 6, for the case that both x = 0 and j = {J^{i - 1}}(\vec a), corresponding to the first condition (53), the state of the qubit ancilla is flipped to |1〉 by the double-controlled NOT; the controlled rotation gates (18) with angles
56{\theta _m} = 2\arccos ({{\gamma _{{J^{i - 1}}(\vec a),m}^{(i)}} \over {\mathop \prod \nolimits_{p = 0}^{m - 1} \sin ({\theta _p}/2)}}),\quad m = 0,1, \ldots ,d - 2,
generate the coefficients \gamma _{{J^{i - 1}}(\vec a),m}^{(i)} in (53). After the rotations, the state of the MPS ancilla qudit is mapped to |\underline {{J^i}(\vec a + \hat m)} \rangle for m = 0, 1,…, d − 1 by a series of double-controlled-Xi,j gates, where the 1-qudit gate Xi,j is defined as
57{X^{i,j}}|i\rangle = |j\rangle ,\quad {X^{i,j}}|j\rangle = |i\rangle .
Finally, the qubit ancilla is reset to |0〉 by a series of double-controlled NOTs.
The second condition (54) requires I_{{J^{i - 1}}(\vec a)}^{(i)}|\rangle |0{\rangle _i} = |\rangle |0{\rangle _i} for j > {J^{i - 1}}(\vec a). In order for the I_{{J^{i - 1}}(\vec a)}^{(i)} circuit in Figure 6 to satisfy this condition, it is necessary (to avoid triggering the double-controlled-NOT with the control value {J^i}(\vec a + \hat 0) near the end of the circuit) that
58j > {J^{i - 1}}(\vec a) \Rightarrow j \ne {J^i}(\vec a + \hat 0),
which is guaranteed by our labeling of the level sets in reverse lexographic order. Indeed, we exploit this ordering to show in Appendix A that
59{J^{i - 1}}(\vec a) \ge {J^i}(\vec a + \hat 0)
for all \vec a \in {{\cal A}^{i - 1}}(\vec k), from which (58) follows.
Finally, it is straightforward to check that the third condition (55), which ensures that these gates do not interfere, is also satisfied by the circuit in Figure 6. The full circuit for the sequential preparation (51), including all Ui operators, has the same structure as in Figure 2b.
We see from (52) that each Ui is made of {{\cal D}^{i - 1}}(\vec k)-many I(i)-operators; and we see from Figure 6 that each I(i)-operator is made of 3d gates. Hence, the total circuit depth is 3d\mathop \sum \limits_{i = 1}^n {{\cal D}^{i - 1}}(\vec k). Although a closed-form expression for {{\cal D}^{i - 1}}(\vec k) is not known, it has the “stars and stripes” bound {{\cal D}^{i - 1}}(\vec k) \le (\matrix{
{i + d - 2} \cr
{i - 1} \cr
} ), which leads to an approximate circuit depth 𝒪((n/d)d). A similar result is obtained by considering the worst case \vec k = ({n \over d},{n \over d}, \ldots ,{n \over d}), for which \mathop \sum \limits_{i = 1}^n {{\cal D}^{i - 1}}(\vec k) \approx {({n \over d} + 1)^d}. We therefore have the following:
Result 5.
The state |{D^n}(\vec k)\rangle can be prepared deterministically with a worst-case approximate depth 𝒪((n/d)d), using one qubit ancilla, and one ancilla of dimension \chi = {{\cal D}^{n/2}}(\vec k) \le ({{n/2 + d - 1} \over {n/2}}).
The circuit depth is significantly smaller for typical {\vec k}-values. For example, for {\vec k} of the form
60\vec k = (n - rx,\mathop {\mathop {x, \ldots ,x}\limits^ }\limits^{ - r} ,\mathop {\mathop {0, \ldots ,0}\limits^ }\limits^{d - r - 1} ),\quad 0 < r \le d - 1,\quad 0 < x \le {n \over {r + 1}},
or any permutation thereof, we find that χ ≤ (x + 1)r, implying an approximate depth 𝒪(xrn).
3.2.
QPE Preparation
We now consider a probabilistic approach of preparing the Dicke states |{D^n}(\vec k)\rangle that is based on the quantum phase estimation algorithm [26,27]. As in the case of SU(2) spin-s Dicke states discussed in Section 2.2, there are two key steps:
constructing a suitable product state that can be expressed as a linear combination of Dicke states |{D^n}(\vec k)\rangle ; and
exploiting the U(1)⊗(d−1) symmetry of these states (see (68) below) to select the desired one.
For the first step, we observe that the n-fold tensor product of the 1-qudit state
61|\psi (d)\rangle = {1 \over {\sqrt d }}\mathop \sum \limits_{m = 0}^{d - 1} |m\rangle
can be expressed as the following linear combination of Dicke states
62|\psi (d){\rangle ^{ \otimes n}} = {1 \over {{d^{{n \over 2}}}}}\mathop \sum \limits_{\matrix{
{{k_i} = 0,1, \ldots ,n} \cr
{{k_0} + {k_1} + \ldots + {k_{d - 1}} = n} \cr
} } \sqrt {({n \over {\vec k}})} |{D^n}(\vec k)\rangle .
In passing to the second line of (63), we used the fact
64\matrix{
{|w\rangle } \hfill & { = \left| {{m_n} \ldots {m_1}} \right\rangle \quad {\rm{with}}\quad {m_j} \in \{ 0, \ldots ,d - 1\} \quad {\rm{for}}\;{\rm{all}}\;\;j = 1, \ldots ,n} \hfill \cr
{} \hfill & { \to w \in {_{M(\vec k)}}\quad {\rm{with}}\quad {k_i} \in \{ 0, \ldots ,n\} \quad {\rm{for}}\;{\rm{all}}\quad i = 0, \ldots ,d - 1\quad {\rm{and}}\quad \sum\limits_{i = 0}^{d - 1} {{k_i}} = n,} \hfill \cr
}
where the multiset M(\vec k) is defined in (43); and the third line of (63) follows from the definition (42) of the Dicke state \left| {{D^n}(\vec k)} \right\rangle .
To boost the probability of preparing a Dicke state with a target {\vec k}-value, we introduce d variational parameters 0 < ξi < 1 into the 1-qudit state (61)
65|\psi (d,\vec \xi )\rangle = {1 \over {\sqrt {\vec \xi \cdot\vec \xi } }}\sum\limits_{m = 0}^{d - 1} {{\xi _m}} |m\rangle ,
which can be similarly shown to satisfy
66|\psi (d,\vec \xi ){\rangle ^{ \otimes n}} = {1 \over {{{(\vec \xi \cdot\vec \xi )}^{{n \over 2}}}}}\sum\limits_{\scriptstyle {k_i} = 0,1, \ldots ,n \atop
\scriptstyle {k_0} + {k_1} + \ldots + {k_{d - 1}} = n} {\left( {\prod\limits_{i = 0}^{d - 1} {\xi _i^{{k_i}}} } \right)} \sqrt {\left( \matrix{
n \cr
{\vec k} \cr} \right)} \left| {{D^n}(\vec k)} \right\rangle .
The 1-qudit state (65) can be prepared using a product of rotation gates similarly to (25).
For the second step, we define the d – 1 Hermitian and mutually-commuting operators 𝕂(1), …, 𝕂(d–1) as follows
67{^{(i)}} = \sum\limits_{j = 1}^n {_j^{(i)}} ,\quad _j^{(i)} = \otimes \ldots \otimes {^{(i)}} \otimes \ldots \otimes ,\quad {^{(i)}} = |i\rangle \langle i|,\quad = \sum\limits_{m = 0}^{d - 1} | m\rangle \langle m|,\quad i = 1, \ldots ,d - 1.
The Dicke states \left| {{D^n}(\vec k)} \right\rangle are simultaneous eigenstates of all these operators
68{^{(i)}}|{D^n}(\vec k)\rangle = {k_i}|{D^n}(\vec k)\rangle ,\quad i = 1, \ldots ,d - 1.
We define the corresponding unitary operators
69{U^{(i)}} = \exp \left( {2\pi i{^{(i)}}/{2^\ell }} \right) = \prod\limits_{j = 1}^n {\exp } \left( {2\pi i_j^{(i)}/{2^\ell }} \right),\quad i = 1, \ldots ,d - 1,
where ℓ is still to be determined (see (74) below), of which the Dicke states are simultaneous eigenstates
70{U^{(i)}}\left| {{D^n}(\vec k)} \right\rangle = {e^{2\pi i{k_i}/{2^\ell }}}\left| {{D^n}(\vec k)} \right\rangle ,\quad i = 1, \ldots ,d - 1.
The QPE circuit (discussed in Section 3.2.1 below) uses the unitary operators (69) to project the product state (66) to the Dicke state \left| {{D^n}(\vec k)} \right\rangle with a probability P(\vec k) given by
71P(\vec k) = {1 \over {{{(\vec \xi \cdot\vec \xi )}^n}}}\left( {\prod\limits_{i = 0}^{d - 1} {\xi _i^{2{k_i}}} } \right)\left( \matrix{
n \cr
{\vec k} \cr} \right),
which is maximized for
72{\xi _i} = \sqrt {{{{k_i}} \over n}} ,\quad i = 0,1, \ldots .d - 1.
The success probability of preparing \left| {{D^n}(\vec k)} \right\rangle is therefore given by
73P(\vec k) = {{n!} \over {{n^n}}}\prod\limits_{i = 0}^{d - 1} {{{k_i^{{k_i}}} \over {{k_i}!}}} \approx \sqrt {{n \over {{{(2\pi )}^{d - 1}}\prod\limits_{\scriptstyle i = 0 \atop
\scriptstyle {k_i} \ne 0} ^{d - 1} {{k_i}} }}} .
In the worst case \vec k = \left( {{n \over d},{n \over d}, \ldots ,{n \over d}} \right), the number of required repetitions is 1/P(\vec k) \approx {\cal O}\left( {{n^{(d - 1)/2}}} \right). For typical {\vec k}-values, significantly fewer repetitions are needed. For example, for the case (60), 1/P(\vec k) \approx {\cal O}\left( {{x^{r/2}}} \right).
3.2.1.
Log Depth
The circuit diagram for the standard QPE approach is shown in Figure 7. The bottom wire represents the n-qudit product state (66). There are (d – 1) ℓ qubit ancillas, where ℓ is the number of bits of n (recall that 0 ≤ ki ≤ n), namely,
74\ell = \left\lceil {{{\log }_2}(n + 1)} \right\rceil .
The controlled unitaries are controlled versions of the unitary operators (69). The state of the system just prior to the measurement is
75\sum\limits_{\scriptstyle {k_i} = 0,1, \ldots ,n \atop
\scriptstyle {k_0} + {k_1} + \ldots + {k_{d - 1}} = n} {\sqrt {P(\vec k)} } \left| {{D^n}(\vec k)} \right\rangle \left| {{k_{d - 1}} \ldots {k_1}} \right\rangle ,
where P(\vec k) is given by (73). The circuit therefore succeeds on measuring the ancilla qubits’ base-10 values to be those of the target {\vec k}.
Figure 7.
Circuit diagram for preparing the state \left| {{D^n}(\vec k)} \right\rangle in log depth using the standard QPE algorithm. All ancilla wires are qubits. The initial state of the bottom wire is (66), and U(i) is defined in (69).
This circuit is evidently similar to the SU(2) spin-s version in Figure 3, differing mainly in the number of ancillas: the latter has only ℓ, while the former has (d – 1)ℓ in order to access all components of {\vec k}. Each of the (d – 1)ℓ controlled unitaries can be implemented in constant depth using measurement/feedforward and n additional qubit ancillas, see Result 1 in [7]. Hence, the controlled unitaries can be implemented in depth 𝒪((d – 1)ℓ). Each inverse quantum Fourier transform U_{{\rm{QFT}}}^\dag can be implemented in depth 𝒪(ℓ). We therefore have the following:
Result 6.
The state \left| {{D^n}(\vec k)} \right\rangle can be prepared probabilistically with at worst 𝒪(n(d–1)/2) repetitions and with depth 𝒪(dℓ) = 𝒪(d log n), using 𝒪(dℓ + n) = 𝒪(d log n + n) qubit ancillas.
3.2.2.
Constant Depth
Similarly to the case of SU(2) spin-s Dicke states discussed in Section 2.2.2, variations of the above circuit can prepare the state \left| {{D^n}(\vec k)} \right\rangle in constant depth, at the cost of introducing additional and/or higher-dimensional ancillas.
The circuit in Figure 8 consists of (d – 1) separate Hadamard tests using auxiliary qudits of dimension 𝔡 = n + 1, which is the number of possible values for each ki. The controlled-U(i) gates are defined, for i = 1, …, d – 1, as
76{\cal C}{{\cal U}^{(i)}}|y\rangle |x\rangle = \left( {{{\cal U}^{(i)}}(x)|y\rangle } \right)|x\rangle ,\quad {{\cal U}^{(i)}}(x) = \exp \left( {2\pi ix{^{(i)}}/} \right) = \prod\limits_{j = 1}^n {\exp } \left( {2\pi ix_j^{(i)}/} \right),
where 𝕂(i) and _j^{(i)} are defined in (67). These gates can be implemented in constant depth using measurement/feedforward and n additional ancilla qudits of dimension 𝔡, by a generalization of the proof of Result 1 in [7], see also appendix A in [30]. We therefore have the following:
Figure 8.
Circuit diagram for preparing the state \left| {{D^n}(\vec k)} \right\rangle in constant depth using Hadamard tests. All ancilla wires are qudits of dimension 𝔡 = n + 1. The initial state of the bottom wire is (66), and 𝒰(i) is defined in (76).
Result 7.
The state \left| {{D^n}(\vec k)} \right\rangle can be prepared probabilistically with at worst 𝒪(n(d–1)/2) repetitions and with depth 𝒪(d) (independent of n), using 𝒪(n + d) ancillas of dimension n + 1.
Finally, we can formulate an alternative constant-depth SU(2) circuit using ancillas of dimensions 2 and d, by generalizing the SU(d) spin-s circuit in Figure 5. Similarly to (36), the initial product state (66) can be re-expressed as a superposition of computational basis states |w〉
77|\psi (d,\vec \xi ){\rangle ^{ \otimes n}} = \sum\limits_{\scriptstyle k_i^\prime = 0,1, \ldots ,n \atop
\scriptstyle k_0^\prime + k_1^\prime + \ldots + k_{d - 1}^\prime = n} {\sum\limits_{w \in {_{M\left( {{{\vec k}^\prime }} \right)}}} {{\alpha _{\overrightarrow {{k^\prime }} ,w}}} } |w\rangle ,\quad {\alpha _{\overrightarrow {{k^\prime }} ,w}} = {{\sqrt {P\left( {\overrightarrow {{k^\prime }} } \right)} } \over {\sqrt {\left( \matrix{
n \cr
{k^\prime } \cr} \right)} }},
where the multiset M\left( {\vec k'} \right) is defined in (43). We fan out (d – 2)ℓ + (ℓ – 1) = (d – 1)ℓ – 1 times the state |w〉 (using n((d – 1)ℓ – 1) qudit ancillas of dimension n, and corresponding qudit fan-out gates, denoted by F in Figure 9) to obtain the state
78\sum\limits_{\scriptstyle k_i^\prime = 0,1, \ldots ,n \atop
\scriptstyle k_0^\prime + k_1^\prime + \ldots + k_{d - 1}^\prime = n} {\sum\limits_{w \in {_{M\left( {{{\vec k}^\prime }} \right)}}} {{\alpha _{{{\vec k}^\prime },w}}} } |w{\rangle ^{ \otimes (d - 1)\ell }}.
Figure 9.
(a) Circuit diagram for preparing the state \left| {{D^n}(\vec k)} \right\rangle in constant depth. Each of the top (d – 1) wires represent ℓ qubits, while each of the other wires represent n qudits of dimension d. F is a fan-out gate. (b) Decomposition of the {{\tilde U}^i}(x) sub-circuit, where Ui(x) is defined in (79).
We then use (d – 1)ℓ qubit ancillas to apply a product of controlled gates Vi defined by
79{V^i}(x) = (|0\rangle \langle 0|) \otimes + (|1\rangle \langle 1|) \otimes {U^i}(x),\quad {U^i}(x) = \exp \left( {2\pi i\left( {{^{(i)}} - {k_i}} \right)/{2^x}} \right),\quad i = 1, \ldots ,d - 1,
where {\vec k} is the {\vec k}-value of the target state \left| {{D^n}(\vec k)} \right\rangle . With the help of the identity (40), one can see that the state of the system just prior to measurement is
80\sqrt {P(\vec k)} |{\rangle ^{ \otimes n((d - 1)\ell - 1)}}\left| {{D^n}(\vec k)} \right\rangle |0{\rangle ^{ \otimes (d - 1)\ell }} + \ldots \;.
The circuit therefore succeeds on measuring all (d – 1)ℓ qubit ancillas to be zero.
The qudit fan-out gates can be implemented in constant depth (see appendix A in [30]), and likewise for the Vi(x) gates (see Result 1 in [7]). We therefore have the following:
Result 8.
The state \left| {{D^n}(\vec k)} \right\rangle can be prepared probabilistically with at worst 𝒪(n(d–1)/2) repetitions and with depth 𝒪(1), using 𝒪(dℓ) = 𝒪(d log n) ancillas of dimension 2, and 𝒪(ndℓ) = 𝒪(nd log n) ancillas of dimension d.
4.
Discussion
We have presented a number of new ways of preparing qudit Dicke states. The circuits are explicit and straightforward, and are arguably simpler than those previously reported. (Implementations in cirq [28] of all the circuits are available on GitHub [29].) Indeed, for SU(2) spin-s Dicke states, the sequential preparation circuits in Section 2.1 do not require separate treatment of “edge” cases, and do not require double-controlled gates, as does the circuit in [22]; and the corresponding QPE circuits in Section 2.2 are even simpler and have lower depth, albeit at the expense of using additional and/or higher-dimensional ancillas and requiring multiple repetitions. For SU(d) Dicke states, the comparison of the results in Sections 3.1 and 3.2 with that of [23] is similar. The corresponding algorithm in [9] has a superior blend of depth, ancillas and repetitions (see Table 1), but is considerably more complicated.
For the sequential preparation circuits, it would be in interesting to see if mid-circuit measurement and feedforward (local operations and classical communication, or LOCC) could be used to reduce circuit depth, as has been achieved for the preparation of multiqubit states, see e.g., [5,7,30–34].
A feature of the circuits in [22,23] is that they can straightforwardly prepare superpositions of Dicke states, following Theorem 2 in [3]. A separate algorithm for preparing superpositions of SU(d) Dicke states is also presented in [9]. However, the circuits presented here will require modification and/or additional overhead in order to prepare such superpositions. For example, starting from the SU(2) spin-s circuit using the Hadamard test in Figure 4, one can add a qudit ancilla encoding the amplitudes of the target superposition of Dicke states (which is ultimately measured), and add suitable gates encoding the corresponding k-values; however, the success probability of preparing the target superposition will be smaller than for the original circuit, due to the measurement of the additional ancilla.