Introduction

The success of the second quantum revolution1, namely quantum technologies, depends to a large extent on our ability to measure observables at the single-particle level. Thus, apart from representing a fundamental process in quantum mechanics with implications for foundations (e.g., Schrödinger’s cat), quantum measurement also plays a crucial role in all applications of quantum information2, from algorithms to quantum communications protocols like teleportation and quantum key distribution3.

A widely-used measurement technique is to sort a quantum system into different spatial modes depending on the value of the observable. A paradigmatic example is a polarizing beam-splitter (PBS) which sorts photons according to their polarization: it transmits H-polarised photons and reflects V-polarised ones. Followed by single-photon detectors, a PBS is universally used to measure polarization-encoded qubits in virtually all photonic experiments. Another example is a Stern-Gerlach device which measures the spin component Sz by separating spin-up and spin-down into two different paths.

The previous cases sort only a two-dimensional observable. In quantum information a higher-dimensional space, or qudit, is highly desirable. A qudit can implement more efficient quantum communication protocols: it has a larger alphabet for encoding information, thus providing a higher channel capacity and is more robust to noise. An example is orbital angular momentum (OAM) which has a discrete and unbounded Hilbert space with basis states |l〉, l = 0, ±1, ±2, …. For a fixed, but arbitrary orbital angular momentum l, we can describe OAM states as (2l + 1)-dimensional qudits.

A limitation of using OAM on a larger scale in quantum information is the lack of an efficient sorter, similar to a PBS for polarization. For quantum information applications a sorter should work at single particle level, have high efficiency and preserve superpositions.

More generally, all quantum algorithms and protocols using qudits require an efficient read-out scheme. Various implementations use different degrees of freedom and even different particles (photons, electrons, neutrons). In this respect it is highly desirable to have a general sorting scheme for an arbitrary d-dimensional observable which can be easily adapted to any quantum system. This is necessary as, for instance, a custom-designed lens for sorting photonic OAM4,5 will not work for neutrons6.

Here we address this problem and design a universal quantum sorter for an arbitrary, d-dimensional observable Σ. Our scheme has several important features: it works at the single-particle level, has a theoretical efficiency of 100% and does not destroy superpositions by projective measurements. The scheme is universal: it works for a general observable Σ (polarization, OAM, spin, wavelength etc) by using specific phase modules adapted to the observable to be sorted.

As an application we design an efficient sorter for photonic OAM consisting of a single multi-path interferometer. Finally, we discuss potential on-chip implementations.

Results

The key insight behind our approach is to apply quantum information methods and reformulate the problem in terms of quantum gates. We introduce the main idea by discussing first a two-dimensional example, then we generalise the concept to an arbitrary dimension d.

Sorting in two dimensions

A textbook example is the polarizing beam splitter. A PBS is a two-input, two-output device which acts as a polarization sorter: it transmits H-polarised photons to the same spatial mode k and reflects V-polarised photons to the other spatial mode:

with addition mod 2; |H〉, |V〉 are the basis states of the polarization qubit and |k〉, k = 0, 1 the spatial mode (path) qubit. With the notation |0〉 = |H〉, |1〉 = |V〉 the PBS action is

where p, k = 0, 1. Thus a PBS is equivalent to a controlled-NOT gate C(X) between polarization (the control) and mode (the target) qubits. We diagonalise C(X) gate as ; here H is the Hadamard gate and C(Z) = diag (1, 1, 1, −1) the two-qubit controlled-Z gate (see Methods).

This decomposition is equivalent to a Mach-Zehnder interferometer (MZI) with a polarization-dependent phase shift in one arm. In this setup H-polarised photons acquire a 0 phase and exit to output 0 with 100% probability (constructive interference in output 0). On the other hand, V-polarised photons acquire a π phase and exit to output 1 with 100% probability (constructive interference in output 1).

Such an interferometric setup has been used to separate spin-up and spin-down electrons in a mesoscopic Stern-Gerlach device7, as a spin measuring device for quantum dots8 and to sort even and odd photonic OAM states9,10.

We are now ready to generalise the sorter to an arbitrary dimension.

Universal quantum sorter

Let Σ be the observable (degree-of-freedom) to be sorted. We assume Σ has a finite-dimensional Hilbert space , with . We can view Σ as a qudit with the associated basis states {|0〉, …, |d − 1〉}. For a continuous variable (e.g., wavelength, time) we discretise it to a finite set (“bins”) λ0, …, λd−1.

Clearly, in order to sort d states of Σ the device requires at least d outputs, i.e., spatial modes. Since we want a reversible, hence unitary transformation, the quantum sorter also has d inputs. Consequently the spatial modes form a second (ancillary) qudit having the same dimension as Σ.

Thinking in terms of quantum information it is natural to generalise the function performed by a PBS to d dimensions. To this end we require that a universal quantum sorter (QS) implements the following unitary transformation:

with addition mod d; the first qudit |s〉 corresponds to Σ and the second |k〉 to the spatial mode. In the language of quantum gates, this transformation is the controlled-Xd gate C(Xd), with Xd the generalized Pauli operator (see Methods).

It is easy to see that a device implementing the transformation (4) acts indeed as a quantum sorter. Suppose we have a particle with Σ = j incident in mode k = 0. Then the sorter action is and thus the particle exits on port j with unit probability, see Fig. 1.

Figure 1
figure 1

Universal quantum sorter.

Particles are incident on spatial mode 0 and are sorted according to the value of the observable Σ: a particle with Σ = j will exit on output j with 100% probability. The quantum sorter is a multi-path interferometer defined by two Fourier gates F, F acting on spatial modes |k〉 (black double lines), but not on Σ. F, F couple all input modes to all output modes (dash lines) with equal probability and appropriate phases. Inside the interferometer there are path-dependent phase-shifts acting on Σ: .

If the particle enters the port 0 in a superposition state of Σ, , the sorter acts as a generalized PBS and entangles Σ and the spatial modes

How to implement the quantum sorter in a real device? As before, we diagonalise the C(Xd) gate using Fourier transforms F, F: , see Fig. 2 and Methods.

Figure 2
figure 2

Equivalent quantum network.

A quantum sorter is the qudit generalization of a PBS: it acts as a controlled-Xd gate C(Xd) between Σ (the observable to be sorted) and the spatial mode |k〉. C(Xd) is a product of Fourier and C(Zd) gates (see Methods). For d = 2 the network is the C(X) gate and equivalent to a PBS, with F = H the Hadamard gate and C(Z) = diag(1, 1, 1, −1).

This gives us the blueprint of the quantum sorter. The Fourier gates F, F act only on the spatial mode qudit and define a multi-path interferometer with d modes.

Next, the C(Zd) gate located between the Fourier gates is implemented by inserting in each arm a different phase-shift acting on Σ. Thus, the k-th mode contains the phase shift:

with ω = e2πi/d a root of unity of order d. The resulting design is shown in Fig. 1. The quantum sorter is a generalized Mach-Zehnder interferometer with d modes and having path-dependent phase-shifts acting on the observable Σ.

It is intuitive to understand how the sorter works. The first F gate puts the particle in equal superposition of d paths . Next, each term of the superposition acquires a path-dependent and Σ-dependent phase ωkj. Finally, the F gate acts as a generalized beamsplitter combining all d paths such that a particle with Σ = j interferes constructively only for output j and destructively for all other outputs k ≠ j.

The Fourier gates F, F can be implemented efficiently in linear optics (beam-splitters and phase-shifters) and require resources polynomial in d11. In integrated optics F, F are each implemented by a single multi-mode coupler (see the arrayed-waveguide grating below). Moreover, one can replace the F gate with another F gate, modulo a relabelling of the outputs (since F = F3 and F2 just permutes the modes, see Methods).

The Fourier gates act only on the mode qudit and are independent of the variable Σ. Thus the same interferometer can sort different variables Σ just by changing the phase modules implementing designed for a particular Σ (see10 for d = 2).

We now discuss several important applications of the quantum sorter.

Sorting OAM

Photons carrying OAM have recently attracted considerable interest for both classical communication and quantum information12,13,14,15,16,17,18,19. A single photon prepared in the state |l〉 has units of OAM; experimentally this is achieved with fork holograms or spiral phase plates. Neutrons with orbital angular momentum have been also demonstrated in a recent experiment6.

In order to use OAM on a larger scale for both classical and quantum information one needs an efficient sorter. For quantum information a sorter should also preserve superpositions and work at the single-particle level.

There are several proposals for sorting photonic OAM: fork holograms20, cascaded Mach-Zehnder interferometers9,10, custom-designed lenses4,5,21,22 and cascading ring cavities23. Each of these schemes have drawbacks: either they do not work at the single-photon level, or collapse superpositions by filtering out some states, or require cascaded (and difficult to stabilise) interferometers or use custom-designed lenses.

We now apply our scheme to sort OAM, Fig. 3(a). In this case we need the transformation

Figure 3
figure 3

Examples of quantum sorters.

(a) Sorting OAM. Each spatial mode k contains a Dove prism rotated by . (b) Sorting wavelength. An arrayed-waveguide grating (AWG) separates several wavelengths λ0, …, λd−1 incident in one spatial mode by directing each frequency into different outputs. The input and output couplers are equivalent to Fourier gates and the phased array (middle part) introduces path-dependent phases.

where |l〉 are OAM states. Two Dove prisms rotated with respect to each other with an angle α induce a phase shift 10. Consequently, we can implement (7) by inserting in each arm (mode) k of the interferometer a Dove prism rotated with

with k = 0, …, d − 1; for d = 2 we recover the scheme in10. Since Dove prisms also change the polarization state, this method can be used only for sorting OAM but not total angular momentum. For applications where preserving the polarization state is important, one can employ the special prisms designed in10. Used together with a quarter-wave plate, these prisms leave the polarization unchanged.

Other methods to induce phase-shifts for OAM states are conceivable. For an integrated photonic chip implementation twisted waveguides can perform the required transformation, although this will also change the polarization.

Sorting wavelength

Photons are used extensively in classical and quantum communication. To increase the channel capacity classical systems transmit multiple wavelengths on the same optical fibre (wavelength-division multiplexing). At the receiver each frequency is demultiplexed into separate fibres.

Arrayed-waveguide gratings (AWG) are widely used to implement wavelength-division demultiplexing, Fig. 3(b). An AWG has the same structure as the quantum sorter: a multi-path Mach-Zehnder interferometer (defined by the input/output couplers) and path-dependent phase-shifts24. The waveguides in the phased array have different lengths Lk and induce frequency-dependent phases , s, k = 0, …, d − 1. Consistency conditions imply

with integers. This implies constraints for wavelengths L0 = λsn0,s, and Lk = λ0nk,0, .

Michelson architecture

A quantum sorter in Michelson configuration is obtained by folding the Mach-Zehnder setup from Fig. 1. In this case we replace the F gate with a retroreflector (or mirror) R: the photons are reflected back on the same spatial mode |k〉 and traverse the gate F in the opposite direction. As the same path is traversed twice, the middle gate is now and the phase shift on mode j becomes ω jl/2, see Fig. 4. For OAM a retroreflector is required instead of a mirror. A reflection on a mirror changes the sign of the OAM , but on a corner retroreflector (prism) the state is unchanged as it undergoes two reflections.

Figure 4
figure 4

Michelson configuration.

This is obtained by folding the MZI. The F gate is replaced by a retroreflector R and the F gate is traversed twice. Each spatial mode j contains now the gate : . A circulator C on mode |0〉 separates the input from the output.

Discussion

In this article we proposed a general scheme to sort a quantum system according to an arbitrary, d-dimensional variable Σ, such as spin, OAM, wavelength etc. The quantum sorter works at the single-particle level, does not collapse quantum superpositions and has a theoretical efficiency of 100%.

The scheme has several applications. First, it can be used as a general read-out device for a qudit implemented by Σ. Second, it can be used to prepare higher-dimensional entangled states between Σ and spatial modes, eq. (5). This scheme is both deterministic and efficient (it uses only linear optics).

For OAM states, the quantum sorter generalizes the interferometric design for d = 29,10. The present architecture is more efficient since it uses a single interferometer with d modes and d Dove prisms. In contrast, in order to sort d OAM states previous interferometric schemes9,10 use d − 1 cascading MZI with 2(d − 1) Dove prisms and holograms. This interferometric architecture is difficult to stabilise, has lower efficiency and constrains d to be a power of 2, d = 2k, with k the number of cascading stages.

Due to its advantages, the quantum sorter has the potential to accelerate the adoption of photonic OAM states for both classical communication and quantum information. The quantum sorter is unitary (hence reversible) and works both as a demultiplexer and a multiplexer.

For a photonic chip integration our proposal can benefit from the large expertise in designing multi-mode interferometers; for example, commercial AWG can reach up to 256 modes.

Methods

Generalized Pauli operators for qudits

Let be the Hilbert space of a qudit with 25. The computational (or Zd) basis in is {|0〉, …, |d − 1〉}. We define the generalized Pauli operators Xd and Zd in this basis as (k = 0, …, d − 1):

with a root of unity of order d and addition mod d. In the computational basis . For d = 2 the operators are the usual Pauli matrices and . Clearly . If d > 2 the operators are no longer Hermitian since .

The Fourier transform F maps the Zd-basis to the Xd-basis:

and is defined as2:

The Fourier F generalizes the Hadamard gate for a qubit. From the identity we have

Thus F2 just permutes the basis states |k〉 and therefore . For d = 2 (qubit) the Fourier transform is idempotent .

Let be a single-qudit gate. We define the controlled-U gate C(U) between the control qudit |s〉 and the target qudit |k〉 as

with s, k = 0, …, d − 1. In particular, the controlled Pauli gates C(Xd) and C(Zd) are:

From eq. (12) we diagonalize C(Xd) as:

The equivalent quantum network is shown in Fig. 2; note how the Fourier gates F, F act only on the target qudit.

Additional Information

How to cite this article: Ionicioiu, R. Sorting quantum systems efficiently. Sci. Rep. 6, 25356; doi: 10.1038/srep25356 (2016).