## Abstract

High-dimensional entangled states are promising candidates for increasing the security and encoding capacity of quantum systems. While it is possible to witness and set bounds for the entanglement, precisely quantifying the dimensionality and purity in a fast and accurate manner remains an open challenge. Here, we report an approach that simultaneously returns the dimensionality and purity of high-dimensional entangled states by simple projective measurements. We show that the outcome of a conditional measurement returns a visibility that scales monotonically with state dimensionality and purity, allowing for quantitative measurements for general photonic quantum systems. We illustrate our method using two separate bases, the orbital angular momentum and pixels bases, and quantify the state dimensionality by a variety of definitions over a wide range of noise levels, highlighting its usefulness in practical situations. Importantly, the number of measurements needed in our approach scale linearly with dimensions, reducing data acquisition time significantly. Our technique provides a simple, fast and direct measurement approach.

## Introduction

High-dimensional entangled states are widely used throughout quantum science to increase secure information bandwidth and security bounds for quantum communication^{1}. Through the precise control of high-dimensional photonic states^{2}, i.e., time–energy, transverse momentum, spatial degrees of freedom or all of them simultaneously^{3}, the potential benefits of high-dimensional state encoding are taking centre stage. Recent developments in this direction have displayed the feasibility of quantum information processing that is robustness against optimal quantum cloning machines^{4,5}, environmental noise^{6} and improved information rates^{7}, demonstrating a significant advantage in comparison to traditional qubit encoding.

Despite the advantages of high-dimensional quantum states, certifying and quantifying the dimensionality of such systems still remains challenging, particularly in the presence of noise. The intuitive approach of simply measuring the width of the modal spectrum is a necessary, but not sufficient condition to determine dimensionality as it fails to account for non-local correlations. Consequently, many techniques have been developed to witness, bound and attempt to quantify high-dimensional quantum states. These include approximating the density matrix via quantum state tomography (QST) with multiple qubit state projections^{8}, using mutually unbiased bases^{9,10} to probe the states or incorporating self-guided approaches^{11,12}, and testing non-local bi-photon correlations by generalised Bell tests in higher dimensions^{13,14,15}. However, the spectrum measurements do not confirm entanglement, the QST approach scales unfavourably with dimension, only bounds or witnesses are possible with the mutually unbiased bases method and the dimension to be probed must be known a priori (e.g. valid for prime or prime power dimensions) and, finally, the high-dimensional Bell tests can fail the fair sampling condition^{16,17}. A further limitation in the present state of the art is that certain dimensionality measurements consider only pure states^{9,18}, yet noise mechanisms always introduce some degree of the mixture to the system^{19}, which has a detrimental effect on the accuracy of measured dimensions due to the reduced purity^{20}. Yet, knowing the purity and dimension of the state is crucial for fundamental tests of quantum mechanics as well as for quantum information processing protocols, setting the required violation of inequalities in the former, and the information capacity of the state, the allowed error bounds in secure communication systems and the requirement for entanglement distillation in the latter.

In this work, we present a scheme to simultaneously quantify the dimensionality and purity of a bi-photon high-dimensional entangled state, even in the presence of noise, using the isotropic state as our test example. By measuring coincidence fringes from carefully crafted projective measurements, we are able to accurately measure the dimensionality and purity of our entangled state from the visibility, which is only reproducible by entangled photons. We first outline the concept and theory and then demonstrate it experimentally on states with arbitrary purity and a wide range of dimensions. To show the versatility of our approach, we use it to measure entanglement in the topical photonic orbital angular momentum (OAM) basis, and the pixel (position) basis, commonly used in quantum imaging. With knowledge of the visibilities, purity and dimensionality, we have sufficient information to infer other salient measures. Our quantitative technique is simple, robust and scales favourably (linearly) with dimension, making it ideal for practical implementations of quantum protocols with general high-dimensional photonic quantum entangled states, even under undesired noise conditions.

## Results

### Concept

The task here is to quantify the effective dimensions and purity of an entangled photonic state. If the state is assumed pure and without noise, then the problem is trivial. Here, we wish to make as few assumptions as possible, and consider the more general case of arbitrary mixed states in the presence of noise. Incorporating noise into the description of high-dimensional states is highly topical of late and very much in its infancy, with a full understanding of its deleterious impact only slowly emerging^{6}. In general, the purity of the quantum system, and therefore the entanglement between photon pairs, is reduced due to noise introduced by the source, the environment and/or the detection system, very often in the form of white noise produced by background photons, high dark counts in single-photon detectors and unwanted multiphoton events^{20}. We follow convention^{6} and model such noisy quantum systems by an isotropic state following:

which considers contributions of both the pure, \(\left|{{\Psi }}\right\rangle\), and mixed, \({{\Bbb{I}}}_{d^{2}}\) (*d*^{2}-dimensional identity operator), parts. Although this will be our target state for extracting the purity and dimensionality, it does not appear in the construction of the analysers nor the measurement procedure itself. As such, the state and the parameters to be extracted may be modified to incorporate other factors, e.g., mode-dependent noise due to the resolution limits of detection devices^{21}. The pure part, \(\left|{{\Psi }}\right\rangle =\mathop{\sum }\nolimits_{i = 0}^{d-1}{\lambda }_{j}\left|j\right\rangle \left|j\right\rangle\), can be decomposed using the Schmidt basis states, \(\left|j\right\rangle \left|j\right\rangle \in {{{{{\mathcal{H}}}}}}_{d^{2}}\), with corresponding Schmidt coefficients, *λ*_{j}. A variety of entangled, quantum states (time, energy, position, hybrid and hyper-entangled) can be decomposed in this way, thus covering a vast number of cases. Here, *p* is a parameter that determines the purity of the state, and varies from a maximally mixed (separable) state for *p* = 0 to a completely pure (entangled) state for *p* = 1. The purity of a non-separable *d*-dimensional state is given by Tr(*ρ*^{2}), where 1/*d* < Tr(*ρ*^{2}) ≤ 1, while the bounds on *p* are 1/(*d* + 1) < *p* ≤ 1. Hence, since 1/(*d* + 1) ~ 1/*d* for high-dimensional states, it suffices to use the notion of purity and *p*, interchangeably. We use *K* = 1/∑_{j}∣*λ*_{j}∣^{4} as a measure of the local dimensions of the pure part of the state^{22}.

Our procedure allows us to quickly establish *K* and *p*, i.e., the dimensionality of the pure component and its probability. Another common measure of dimensionality is the Schmidt rank^{23}, which we will denote as *d*_{ent}. The *d*_{ent} refers to the dimensionality of the entire state, not just the pure component, and it is possible to deduce *d*_{ent} from our approach through knowledge of *K* and *p* (see Supplementary Notes 1 and 6).

As we characterise the pure component of the state and establish the overall purity, the number of required measurements scales linearly with the dimension *d* of the probed Hilbert space. This provides a significant gain in speed for high-dimensional states.

Thus, our proposed method is a fast, accurate and simple procedure to characterise the properties of two-photon, high-dimensional entangled states.

The working principle of our technique is visualised in Fig. 1a, where a set of custom analysers probe distinct parts of a discrete Hilbert space. We can think of each analyser as a probe that scans a sparse set of modes, reminiscent of a conditional measurement that indicates whether there is entanglement within the subspace or not. By combining the information gathered from a number of such analysers, we infer how many dimensions the state occupies. We will demonstrate this procedure both theoretically and experimentally.

It is instructive to illustrate the concept by example. Consider a pair of photons entangled in their polarisation, energy–time, momentum or in the spatial basis^{24}, the so-called structured light^{25}, the former useful to access high dimensions, with up to 100 × 100 dimensions already demonstrated^{26}. In this work, we will consider two examples: the OAM basis^{27,28} and the pixel (position) basis^{29}. Due to the great potential of the former, particularly for quantum information processing and communications^{30,31,32,33,34,35,36,37,38,39,40,41,42,43,44}, we first illustrate and demonstrate our method for OAM entangled states. In this case, the basis states, \(\left|{\ell }_{1}\right\rangle \left|{\ell }_{2}\right\rangle\), are associated with an azimuthal phase profile, exp(*iℓ*_{1,2}*ϕ*), with \({\ell }_{1,2}\in {\Bbb{Z}}\) being the topological charge and *ℓ*_{1,2}*ℏ* OAM per photon. An OAM entangled pure state can be expressed as

where \(| {\lambda }_{{\ell }_{1,2}}{| }^{2}\) is the probability of generating photons in the states \(\left|\pm {\ell }_{1,2}\right\rangle\) for photons *A* and *B*, respectively. For our experimental tests with a Gaussian pumped spontaneous parametric down-conversion (SPDC) source (see “Methods” section), the state only has non-zero probabilities when *ℓ* ≡ *ℓ*_{1} = −*ℓ*_{2}. While in general the state, \(\left|{{\Psi }}\right\rangle\), can be represented using an unbounded number of eigenmodes as shown, i.e., *d* → *∞*, we truncate \(\left|{{\Psi }}\right\rangle\) to *d* eigenstates. This is simply applying common sense: one should select a Hilbert space with a dimension large enough to test based on what you are looking for (analogous to selecting a camera area that is large enough to fit the image you hope to measure). Importantly, since our approach scales linearly with test dimension, there is no significant penalty for selecting a test dimension that is “too big”, in stark contrast to QST-based approaches (see Supplementary Table 2). In this sense, *d* may be chosen at will.

To gain access to various parts of the Hilbert space, we make use of high-dimensional mode projectors that map onto the states

where \({{{{{{{\mathcal{N}}}}}}}}\) is a normalisation factor and \(\left|j\right\rangle\) are the basis states on the *d*-dimensional space. The coefficients, \({c}_{{w}_{j},M}^{n}(\alpha )\), control the amplitudes and phases of the modes in the superposition (see “Methods” section). For OAM basis states, the coefficients can be represented accordingly by replacing the index *w*_{j} with the topological charge *ℓ* = *j* − (*d* − 1)/2. Examples of the phase profiles for two such analysers are shown in Fig. 1b, c for *n* = 3 and *n* = 7, respectively, with full details on their construction in the “Methods” section and Supplementary Notes 2–4. While *n* and *M* can be chosen arbitrarily, we find it optimal to set *n* as an odd positive integer and *M* = *n*/2 (see Supplementary Note 5).

Next, we project each entangled photon onto the superposition states \({\left|M,\theta \right\rangle }_{n}\) and \({\left|-M,0\right\rangle }_{n}\), respectively, where *θ* = [0, *π*/*n*] controls the relative phases between the modes in the superposition. In the context of OAM, this translates into a relative rotation by an angle *θ*. A typical experimental set-up for implementing this is sketched in Fig. 1d. Entangled photon pairs are generated in a non-linear crystal (NLC) and subsequently projected onto the states \(\left|M,\theta \right\rangle\) and \(\left|-M,0\right\rangle\) by means of holograms programmed onto spatial light modulators (SLMs) having the transmission functions *U*_{n}(*ϕ*; *θ*) and \({U}_{n}^{* }(\phi ;0)\), respectively. In the OAM degree of freedom, the holograms correspond to fractional OAM modes^{45}, which are known to have a non-integer azimuthal phase gradient. The modulated photons are then coupled into single-mode fibres and measured in coincidences. The outcome probability of such a measurement, i.e., \(| {\left\langle 0,-M\right|}_{n}{\left\langle \theta ,M\right|}_{n}\rho {\left|M,\theta \right\rangle }_{n}{\left|-M,0\right\rangle }_{n}|\), is

where *I*_{n}(0, *K*)/*K*^{2} is the probability resulting from the overlap of the analysers with the maximally mixed state and \({P}_{n}(\theta ,K)={\left|\mathop{\sum }\nolimits_{\ell = -(K-1)/2}^{(K-1)/2}{\lambda }_{\ell }{c}_{\ell ,M}^{n}(0){c}_{-\ell ,-M}^{n}(\theta )\right|}^{2}\) is the overlap probability with the pure state, with *M* = *n*/2 the fractional charge and *λ*_{ℓ} the initial bi-photon OAM spectrum. For a pure state, the probability curves have a parabolic shape following *P*_{n}(*θ*) = (*π*(2*t* − 1) − *n**θ*)^{2}/*π*^{2}, where *t* = 1, 2, ..., *n*. In Fig. 2a, b, we show as solid lines the theoretical probabilities (calculated using Eq. (4)) of such a measurement as function of *θ*.

We choose odd values of *n* and *M* = *n*/2 to ensure high visibility, which increases monotonically with *K* and *p* for each analyser (see Supplementary Note 6 and Supplementary Fig. 5). In general, both the shape and visibility of the fringes yield information about the state. To make the approach accurate and precise, we measure several visibilities, *V*_{n}, for *n* = 1, 3, 5, ..., 2*N* − 1, and infer the state properties by the intersection of their solution spaces (Fig. 2e).

### Orbital angular momentum basis measurements

The set-up used to demonstrate our scheme is shown conceptually in Fig. 1d with the corresponding detailed description in the “Methods” section. We measure the coincidences between the signal and idler photons for analyser projections on both arms as a function of the relative rotation angle of the holograms. To achieve this, we encoded the fractional OAM mode analyser on the SLM in the signal arm fixed at an angle *θ* = 0, while the conjugate mode was encoded in the idler arm and rotated at angles *θ* ∈ [0, 2*π*].

To illustrate the operation of our technique, we measured the coincidence rates for six (*N* = 6) analysers with *n* = 1, 3, 5, 7, 9 and 11, and *M* = *n*/2, with example outcomes for *n* = 5 and *n* = 9 shown as filled circles in Fig. 2a, b, respectively. No background subtraction was performed on the measurements to leave noise in the system, which was deliberately increased (see “Methods” section for experimental conditions) to enact a range in purities for test purposes. Importantly, the periodicity in the detected probabilities confirms the azimuthal *n*-fold symmetry predicted by our theory (solid curve). Because the visibility is a monotonically increasing function of dimension and purity, measured visibility returns a range of possible (*p*, *K*) values, a “trajectory” or curve in the (*p*, *K*) space. This is illustrated in Fig. 2c, d, where the measured visibility (red horizontal plane) intercepts the visibility function along a curve (red curve) that restricts the possible solutions, *K* and *p*, to those consistent with the measurement outcome. The set of such curves from measuring many visibilities (each with its own analyser/projection) then restricts the final solution to a narrow region in (*p*, *K*), whose uncertainty (width) is determined primarily from the uncertainly in the visibility measurement. An example is shown in Fig. 2e, where each solution trajectory is projected onto the (*p*, *K*) plane. Final values and uncertainty of (*p*, *K*) can be determined by an appropriate routine to find the interception of all such trajectories by a minimisation procedure, as shown in Fig. 2f.

Using this approach, we infer the purity and dimensionality of the system to be (*p*, *K*) = (0.45 ± 0.03, 22.84 ± 0.62).

In Fig. 3a we show the six measured visibilities as square data points together with the calculated visibility (solid red line) based on the inferred (*p*, *K*), which clearly match very well. This is confirmation of the minimisation procedure for finding the intercept. In order to assess the procedure under high noise levels, we introduced background noise using a white light source and repeated the measurements, shown as the circle data points and the associated blue dashed line in Fig. 3. The average quantum contrast (see Supplementary Note 8), measured from the spiral spectrum in Fig. 3c, d, dropped from *Q* = 19.19 to 3.76, resulting in a reduced purity and dimensionality of (*p*, *K*) = (0.13 ± 0.01, 17.73 ± 0.71). Note that the minimisation was performed over the parameters (*p*, *K*), but additional parameters could also be added, e.g., to take account of the modal cross-talk in the observed data. In our case, we choose minimisation over a small set of parameters in order to keep the method and model simple.

As a form of validation of these results, we estimate values from other techniques, with the comparison given in Table 1. If the dimension and noise are known or assumed, then it is possible to calculate the purity following \(\hat{p}=(Q-1)/(Q-1+K)\), where *Q* is the quantum contrast and *K* the dimension^{20}. Likewise, if the state is assumed to be pure and not mixed, and background subtraction is done to remove noise, then the spiral spectrum can be used to get an upper bound on the dimension. For the two noise cases in Table 1, low and high, we find purity estimates of \(\hat{p}\approx 0.44\pm 0.01\) and \(\hat{p}\approx 0.13\pm 0.02\) from estimates of the dimensionality of \(\hat{K}\approx 22\pm 1\) and \(\hat{K}\approx 18\pm 1\), respectively. These values are in excellent agreement with our results, which did not require any such assumptions, nor any noise adjustments.

### Pixel basis measurements

To illustrate that OAM is only an example and that the approach is general, we perform the same procedure using the pixel basis, shown in Fig. 4a. Here, the spatial basis is position as “pixels” in the transverse plane, with the number of pixels setting the test dimension. The size and number would be judiciously chosen based on the source of biphotons and the imaging resolution of the optical system. We use grids from 3 × 3 up to 11 × 11, thus testing to over 100 dimensions. Holograms for three analyser cases are shown in Fig. 4b for the 81 dimensional example, where the phases within the 9 × 9 pixel grid are shown to change. Although there is no resemblance to the prior OAM holograms, the measurement procedure is identical. From the resulting visibilities, we again infer the key parameters from the intersection of the trajectories in (*p*, *K*) space, shown visually in Fig. 4c, d.

Our approach has the benefit of a wealth of information in the analyser visibilities, as well as knowledge of both *K* and *p*. This is sufficient to infer other key information (see Supplementary Fig. 7), such as an estimate of the state fidelity (*F*_{p}) and the Schmidt rank, *d*_{ent} = *K* × *F*_{p} (see Supplementary Note 10 and ref. ^{23}). We show the outcome for this measurement in Fig. 4e, where the “effective dimensions” as measured by the Schmidt rank decreases as the purity decreases, becoming separable below a critical value that corresponds to the separability boundaries shown in Fig. 2e, f. Our data are shown with deliberately introduced noise to reduce the purity, and juxtaposed with the case of background subtraction to eliminate the noise. Here, we see that the Schmidt rank gives a lower bound for the system. Our technique can detect correlations below the separability criterion for isotropic states, meaning that it is sensitive to correlations even in extreme noise situations, which may prove valuable in situations such as high-resolution quantum imaging in real-world scenarios^{46}.

## Discussion

A quantitative measure of dimensionality and purity, particularly in the presence of (inevitable) deleterious noise that degrades the purity, is crucial for many quantum protocols and studies. For example, there is a minimum purity needed to witness entanglement in a given dimension^{47,48,49}, setting the transition from separable to entangled states. Likewise, knowing the purity is important in entanglement distillation processes since it informs whether the noise can be removed for a given dimension^{50,51}, while in entanglement-based quantum communication there is a minimum purity^{52} associated with security^{53}. In turn, the dimensionality sets the information capacity of the state for quantum information processing and the error tolerance in quantum communication protocols, while high-dimensional states are important for fundamental tests of quantum mechanics where qubits will not suffice^{54,55}. Now we have demonstrated a simple approach to return these crucial numbers. Although this paper is not a report on noise in high-dimensional quantum systems, we have deliberately introduced noise in order to demonstrate the robustness of the approach and to attain a range in purities for test purposes. The impact of noise in realising pure high-dimensional quantum states is only beginning to emerge^{6}, revealing that there are limits to the dimensionality that can be reached based on the quantum contrast and noise in the system. Our findings are entirely consistent with these reports. Although in the final test we have added noise (accidentals) subtraction to illustrate the juxtaposed position, this is strictly speaking not advisable^{56}.

Unlike a conventional Schmidt decomposition, we do not assume the state is pure, and the dimension extracted from our technique is conditioned on the presence of entanglement: a maximally mixed and maximally entangled system cannot yield the same result. While our approach would benefit from the knowledge of the modal spectrum, which can be measured very quickly^{57,58}, the outcome on purity and dimensionality are only modestly affected by typical spectrum shapes (see Supplementary Fig. 5); in our examples, the uncertainty in dimensionality is ≈5% with knowledge of the spectrum increasing to ≈10% without.

In addition to well-established quantum tomography tools, there are several new methods for characterising, measuring and extracting information about different quantum states^{10,11,12}. Each method has its own set of pros and cons, regarding measurement time, the total number of required measurement settings and the ease of implementation. The method that we present here complements the existing techniques, providing one of the fastest mechanisms to extract and estimate valuable information about high-dimensional entangled quantum states.

The advantage of our method is the linear scaling to the number of measurements and the flexibility of the minimisation procedure. Our approach is thus an excellent candidate for a fast and easy test of purity and dimensionality prior to a more lengthy tomography, if necessary. One of the limitations of our technique is that prior knowledge of the form of the underlying state is required for accurate fitting. Thus, we cannot provide definite proof of entanglement in an assumption-free manner.

However, the easy construction of our analysers and the resulting measurement of only visibilities reduces the complexity of characterising quantum states significantly when contrasted with QST-based approaches. Finally, our measurement approach has been tested against the topical isotropic state, but we point out that the construction of the analysers is not dependent on this state. This is analogous to other methods where extracting a measure always requires a target state, e.g., the fidelity from a QST measured against a maximally entangled state. We envisage that it may be possible to generalise the theory to extract key parameters from states other than just the isotropic state.

In summary, we have developed a simple yet powerful technique to measure the dimensionality and purity of high-dimensional entangled photonic quantum systems. Our approach is robust, fast, and provides quantitative values rather than bounds or witnesses, and works on both pure and mixed states. Our scheme exploits visibility in fringes after joint projections, making it fast and easy to implement, returning the key parameters of the system in a fraction of the time that a QST would take. Thus, we believe that our approach will be useful as a quick test with minimal experimental effort prior to more comprehensive state testing, valuable to the active research in high-dimensional spatial mode entanglement and foster its widespread deployment in quantum-based protocols.

## Methods

### High-dimensional state projections

Our analysers project onto the high-dimensional Hilbert space, \({{{{{{{{\mathcal{H}}}}}}}}}_{d}\), mapping onto the states in Eq. (9), i.e., \({\left|M,\alpha \right\rangle }_{n}\), repeated here as

composed of coherent superpositions of basis states \(\left|j\right\rangle \in \{\left|j\right\rangle ,j=0,1..d-1\}\) with tuneable phases and amplitudes

and where *w*_{j} = *j* − (*d* − 1)/2 and the factors

and

Here, \({c}_{{w}_{k},M}(\alpha )\) controls the relative phases and amplitudes of the eigenmodes and \({A}_{{w}_{j}}^{n}\) modulates the coefficients’ amplitudes while *α* ∈ [0, 2*π*/*n*]. The spectrum given by Eq. (6) can be tuned by carefully selecting *n*, therefore enabling precise control of the subspaces that will be probed.

In the OAM basis, i.e., \(\left|\ell \right\rangle \in {{{{{{{{\mathcal{H}}}}}}}}}_{d}\), the index *w*_{j} can be replaced with the index \(\ell \in {{{{{{{\mathcal{Z}}}}}}}}\). The mode projectors can be constructed from spiral phase profiles having the transmission function

that is constructed from superpositions of fractional OAM modes^{45,59},

having the same charge, *M*, but rotated by an angle \({\beta }_{k}\oplus \alpha =\,{{\mbox{mod}}}\,\left\{{\beta }_{k}+\alpha ,2\pi \right\}\) for \({\beta }_{k}=\frac{2\pi }{n}k\), as illustrated in Fig. 1b, c for *n* = 3 and *n* = 7, respectively. Here, *ϕ* is the azimuthal coordinate and \({{{{{{{\mathcal{M}}}}}}}}\) a normalisation constant.

For the pixel basis, we constructed the holograms on a *d* = *D* × *D* grid with each square corresponding to a “pixel” state. The coefficients corresponding to a projection onto the state, \({\left|M,\alpha \right\rangle }_{n}\), can be mapped as

where *o* = (*r* − 1)*D* − *c*, for each index pair, *r*, *c* = 1, 2, 3...*d*, locating the row and column index of each pixel state on the grid. This mapping converts the list of coefficients, \({c}_{{w}_{j}}\) (for *j* = 0, 1, ... *d* − 1), into a square matrix *C*_{r,c}. To construct the hologram, we then extract the amplitude and phase of the matrix components of *C* and obtain,

where \({B}_{r,c}=| {C}_{r,c}| /\max \left(\right.C\left)\right.\). The final hologram can then be obtained by resampling *U* onto a high-resolution grid that can be loaded onto the SLM. In this work, we resampled each projection hologram onto a 200 × 200 grid. Example holograms for 9 × 9 states that were resampled onto a 200 × 200 grid are shown in Fig. 4b.

### Experimental set-up

The experimental set-up for the generation and measurement of entangled photons is illustrated schematically in Fig. 1d. A potassium-titanium-phosphate type I NLC was pumped with a 405 nm wavelength diode laser. The crystal temperature was set to obtain co-linear signal and idler entangled SPDC photons centred at a wavelength 810 nm. The photon pairs were then separated in path using a 50:50 beam splitter (BS). Each entangled photon was imaged onto an SLM using a 4*f* telescope (*f*_{1} and *f*_{2} having focal lengths of 100 and 500 mm, respectively), then subsequently coupled into single-mode fibres with a second 4*f* telescope (lenses *f*_{3} and *f*_{4} having focal lengths of 750 and 2 mm, respectively) and finally detected with avalanche photodetectors. Signals from each arm were measured in coincidences within a 25 ns coincidence window. The entangled photons were filtered with 10 nm bandpass filters centred at a wavelength of 810 nm. For our experimental demonstration, we restrict our measurements to a specific optical set-up and we varied the purity of the entangled state by introducing background noise in the form of white light. To obtain a high purity state (*p* = 0.45 in *K* = 22 dimensions), we had to reduce the laser power using a neutral density filter such as to reduce multiphoton emission events, which is known to have an impact on the purity of the SPDC photons^{20}. To increase the noise in the system for the OAM basis measurements, we introduced background noise in the form of white light emitted by an incandescent light bulb until the quantum contrast (equivalently signal-to-noise ratio) dropped to 3. The measurement procedure of the quantum contrast is discussed in Supplementary Note 8.

### Optimal purity and dimensionality calculation

Using the fact that the visibility obtained for each analyser is affected by the dimensionality and purity of the input state, we describe the procedure for determining their values for a given entangled quantum system, assuming it can be modelled by the isotropic state in Eq. (1). We measure the probability curves for *N* analysers each with *n* = 1, 3, ..., 2*N* − 1, and compute their corresponding visibilities *V*_{n} ≔ *V*_{n}(*p*, *K*). This results in a set of *N* non-linear equations that depend on the parameters *p* and *K*. We then determine the optimal (*p*, *K*) pair that best fit the function *V*_{n}(*p*, *K*) to all *N* measured visibilities by employing the method of least squares, which aims to minimise the objective function

where the terms in the summation are the residuals (absolute errors) for each *n* = 2*i* − 1 visibility measurement (Exp.) with respect to the theory (The.).

## Data availability

The data that supports the plots within this paper and other findings of this study are available from the corresponding author upon reasonable request.

## Code availability

The codes that support the plots and multimedia files within this paper are available from the corresponding author upon reasonable request.

## References

- 1.
Cozzolino, D., DaLio, B., Bacco, D. & Oxenløwe, L. K. High-dimensional quantum communication: benefits, progress, and future challenges.

*Adv. Quantum Technol.***2**, 1900038 (2019). - 2.
Erhard, M., Malik, M. & Zeilinger, A. A quantum router for high-dimensional entanglement.

*Quantum Sci. Technol.***2**, 014001 (2017). - 3.
Deng, F.-G., Ren, B.-C. & Li, X.-H. Quantum hyperentanglement and its applications in quantum information processing.

*Sci. Bull.***62**, 46–68 (2017). - 4.
Gisin, N. & Massar, S. Optimal quantum cloning machines.

*Phys. Rev. Lett.***79**, 2153 (1997). - 5.
Bouchard, F., Fickler, R., Boyd, R. W. & Karimi, E. High-dimensional quantum cloning and applications to quantum hacking.

*Sci. Adv.***3**, e1601915 (2017). - 6.
Ecker, S. et al. Overcoming noise in entanglement distribution.

*Phys. Rev. X***9**, 041042 (2019). - 7.
Barreiro, J. T., Wei, T.-C. & Kwiat, P. G. Beating the channel capacity limit for linear photonic superdense coding.

*Nat. Phys.***4**, 282 (2008). - 8.
Agnew, M., Leach, J., McLaren, M., Roux, F. S. & Boyd, R. W. Tomography of the quantum state of photons entangled in high dimensions.

*Phys. Rev. A.***84**, 062101 (2011). - 9.
Giovannini, D. et al. Characterization of high-dimensional entangled systems via mutually unbiased measurements.

*Phys. Rev. Lett.***110**, 143601 (2013). - 10.
Bavaresco, J. et al. Measurements in two bases are sufficient for certifying high-dimensional entanglement.

*Nat. Phys*.**14**, 1032–1037 (2018). - 11.
Hou, Z. et al. Experimental realization of self-guided quantum process tomography.

*Phys. Rev. A***101**, 022317 (2020). - 12.
Rambach, M. et al. Robust and efficient high-dimensional quantum state tomography.

*Phys. Rev. Lett.***126**, 100402 (2021). - 13.
Vaziri, A., Weihs, G. & Zeilinger, A. Experimental two-photon, three-dimensional entanglement for quantum communication.

*Phys. Rev. Lett.***89**, 240401 (2002). - 14.
Gröblacher, S., Jennewein, T., Vaziri, A., Weihs, G. & Zeilinger, A. Experimental quantum cryptography with qutrits.

*N. J. Phys.***8**, 75 (2006). - 15.
Dada, A. C., Leach, J., Buller, G. S., Padgett, M. J. & Andersson, E. Experimental high-dimensional two-photon entanglement and violations of generalized Bell inequalities.

*Nat. Phys.***7**, 677 (2011). - 16.
Dada, A. C. & Andersson, E. On Bell inequality violations with high-dimensional systems.

*Int. J. Quantum Inf.***9**, 1807–1823 (2011). - 17.
Romero, J., Giovannini, D., Tasca, D., Barnett, S. & Padgett, M. Tailored two-photon correlation and fair-sampling: a cautionary tale.

*N. J. Phys.***15**, 083047 (2013). - 18.
Pors, J. et al. Shannon dimensionality of quantum channels and its application to photon entanglement.

*Phys. Rev. Lett.***101**, 120502 (2008). - 19.
Almeida, M. L., Pironio, S., Barrett, J., Tóth, G. & Acín, A. Noise robustness of the nonlocality of entangled quantum states.

*Phys. Rev. Lett.***99**, 040403 (2007). - 20.
Zhu, F., Tyler, M., Valencia, N. H., Malik, M. & Leach, J. Is high-dimensional photonic entanglement robust to noise?

*AVS Quantum Sci.***3**, 011401 (2021). - 21.
Pinnell, J., Rodríguez-Fajardo, V. & Forbes, A. Probing the limits of orbital angular momentum generation and detection with spatial light modulators.

*J. Opt.***23**, 015602 (2020). - 22.
Law, C. & Eberly, J. Analysis and interpretation of high transverse entanglement in optical parametric down conversion.

*Phys. Rev. Lett.***92**, 127903 (2004). - 23.
Terhal, B. M. & Horodecki, P. Schmidt number for density matrices.

*Phys. Rev. A***61**, 040301 (2000). - 24.
Forbes, A. & Nape, I. Quantum mechanics with patterns of light: Progress in high dimensional and multidimensional entanglement with structured light.

*AVS Quantum Sci.***1**, 011701 (2019). - 25.
Forbes, A., de Oliveira, M. & Dennis, M. R. Structured light.

*Nat. Photonics***15**, 253–262 (2021). - 26.
Krenn, M. et al. Generation and confirmation of a (100 × 100)-dimensional entangled quantum system.

*Proc. Natl Acad. Sci. USA***111**, 6243–6247 (2014). - 27.
Molina-Terriza, G., Torres, J. P. & Torner, L. Twisted photons.

*Nat. Phys.***3**, 305–310 (2007). - 28.
Erhard, M., Fickler, R., Krenn, M. & Zeilinger, A. Twisted photons: new quantum perspectives in high dimensions.

*Light Sci. Appl.***7**, 17146–17146 (2018). - 29.
Valencia, N. H. et al. High-dimensional pixel entanglement: efficient generation and certification.

*Quantum***4**, 376 (2020). - 30.
Leach, J., Bolduc, E., Gauthier, D. J. & Boyd, R. W. Secure information capacity of photons entangled in many dimensions.

*Phys. Rev. A***85**, 060304 (2012). - 31.
Wang, C., Deng, F.-G., Li, Y.-S., Liu, X.-S. & Long, G. L. Quantum secure direct communication with high-dimension quantum superdense coding.

*Phys. Rev. A***71**, 044305 (2005). - 32.
Malik, M. et al. Multi-photon entanglement in high dimensions.

*Nat. Photonics***10**, 248–252 (2016). - 33.
Zhang, Y. et al. Simultaneous entanglement swapping of multiple orbital angular momentum states of light.

*Nat. Commun.***8**, 632 (2017). - 34.
Bornman, N. et al. Ghost imaging using entanglement-swapped photons.

*npj Quantum Inf.***5**, 1–6 (2019). - 35.
Mafu, M. et al. Higher-dimensional orbital-angular-momentum-based quantum key distribution with mutually unbiased bases.

*Phys. Rev. A***88**, 032305 (2013). - 36.
Steinlechner, F. et al. Distribution of high-dimensional entanglement via an intra-city free-space link.

*Nat. Commun.***8**, 15971 (2017). - 37.
Zhang, Y. et al. Engineering two-photon high-dimensional states through quantum interference.

*Sci. Adv.***2**, e1501165 (2016). - 38.
Liu, J. et al. Multidimensional entanglement transport through single-mode fiber.

*Sci. Adv.***6**, eaay0837 (2020). - 39.
Cao, H. et al. Distribution of high-dimensional orbital angular momentum entanglement over a 1 km few-mode fiber.

*Optica***7**, 232–237 (2020). - 40.
Cozzolino, D. et al. Air-core fiber distribution of hybrid vector vortex-polarization entangled states.

*Adv. Photonics***1**, 046005 (2019). - 41.
Cozzolino, D. et al. Orbital angular momentum states enabling fiber-based high-dimensional quantum communication.

*Phys. Rev. Appl.***11**, 064058 (2019). - 42.
Fickler, R. et al. Quantum entanglement of high angular momenta.

*Science***338**, 640–643 (2012). - 43.
Krenn, M., Handsteiner, J., Fink, M., Fickler, R. & Zeilinger, A. Twisted photon entanglement through turbulent air across vienna.

*Proc. Natl Acad. Sci. USA***112**, 14197–14201 (2015). - 44.
Fickler, R. et al. Interface between path and orbital angular momentum entanglement for high-dimensional photonic quantum information.

*Nat. Commun.***5**, 1–6 (2014). - 45.
Götte, J. B., Franke-Arnold, S., Zambrini, R. & Barnett, S. M. Quantum formulation of fractional orbital angular momentum.

*J. Mod. Opt.***54**, 1723–1738 (2007). - 46.
Gregory, T., Moreau, P.-A., Toninelli, E. & Padgett, M. J. Imaging through noise with quantum illumination.

*Sci. Adv.***6**, eaay2652 (2020). - 47.
Peres, A. Separability criterion for density matrices.

*Phys. Rev. Lett.***77**, 1413 (1996). - 48.
Horodecki, P. Separability criterion and inseparable mixed states with positive partial transposition.

*Phys. Lett. A.***232**, 333–339 (1997). - 49.
Horodecki, R., Horodecki, P., Horodecki, M. & Horodecki, K. Quantum entanglement.

*Rev. Mod. Phys.***81**, 865 (2009). - 50.
Vollbrecht, K. G. H. & Wolf, M. M. Efficient distillation beyond qubits.

*Phys. Rev. A***67**, 012303 (2003). - 51.
Horodecki, M. & Horodecki, P. Reduction criterion of separability and limits for a class of distillation protocols.

*Phys. Rev. A***59**, 4206 (1999). - 52.
Collins, D., Gisin, N., Linden, N., Massar, S. & Popescu, S. Bell inequalities for arbitrarily high-dimensional systems.

*Phys. Rev. Lett.***88**, 040404 (2002). - 53.
Ekert, A. K. Quantum cryptography based on Bell’s theorem.

*Phys. Rev. Lett.***67**, 661 (1991). - 54.
Klyachko, A. A., Can, M. A., Binicioğlu, S. & Shumovsky, A. S. Simple test for hidden variables in spin-1 systems.

*Phys. Rev. Lett.***101**, 020403 (2008). - 55.
Lapkiewicz, R. et al. Experimental non-classicality of an indivisible quantum system.

*Nature***474**, 490–493 (2011). - 56.
Larsson, J.-Å Loopholes in Bell inequality tests of local realism.

*J. Phys. A***47**, 424003 (2014). - 57.
Pires, H. D. L., Florijn, H. C. B. & van Exter, M. P. Measurement of the spiral spectrum of entangled two-photon states.

*Phys. Rev. Lett.***104**, 020505 (2010). - 58.
Kulkarni, G., Sahu, R., Magaña-Loaiza, O. S., Boyd, R. W. & Jha, A. K. Single-shot measurement of the orbital-angular-momentum spectrum of light.

*Nat. Commun.***8**, 1–8 (2017). - 59.
Oemrawsingh, S. et al. Experimental demonstration of fractional orbital angular momentum entanglement of two photons.

*Phys. Rev. Lett.***95**, 240501 (2005).

## Acknowledgements

We express our gratitude to Bienvenue Ndagano for his inputs. I.N. would like to acknowledge the Department of Science and Technology (South Africa) for funding. J.L. and F.Z. acknowledge support from the UK EPSRC (No. EP/T00097X/1). H.-C.H. acknowledges funding from the NTU Core Consortium project under Grant No. NTU-CC-109L892203.

## Author information

### Affiliations

### Contributions

The experiment was performed by I.N. and V.R.-F., the theory was developed by I.N., F.Z., H.-C.H. and J.L., the data analysis was performed by I.N., V.R.-F. and A.F. and the experiment was conceived by I.N., V.R.-F. and A.F. All authors contributed to the writing of the manuscript. A.F. supervised the project.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Peer review information** *Nature Communications* thanks Lixiang Chen and the other anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available

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

## Supplementary information

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Nape, I., Rodríguez-Fajardo, V., Zhu, F. *et al.* Measuring dimensionality and purity of high-dimensional entangled states.
*Nat Commun* **12, **5159 (2021). https://doi.org/10.1038/s41467-021-25447-0

Received:

Accepted:

Published:

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.