1 Introduction

Density matrices play a key role in quantum mechanics [1,2,3] as well as in the treatment of classical mixed states, i.e., states that can be expressed as a convex sum of classical pure states [4,5,6]. An important example in the classical context is the normalized polarization matrix and its representation in terms of the polarization matrices of fully polarized (pure) states [7]. Regarding the dimensional structure of a system represented by a density matrix \({{\varvec{\uprho}}}\), it is well known that there are two integer parameters that play key roles, namely the dimensions n of \({{\varvec{\uprho}}}\) (i.e., the number of rows and files of \({{\varvec{\uprho}}}\)), and \(r = {\text{rank}} {{\varvec{\uprho}}}\), with \(1 \le r \le n\). Since through an appropriate change of the complex basis used to represent the system \({{\varvec{\uprho}}}{,}\) the \(m = n - r\) last files and columns of the transformed density matrix can always be converted to zero, one may be tempted to interpret \(r\) as the minimum number dimensions required for a complete description, without loss of physical information, of \({{\varvec{\uprho}}}\). Nevertheless, through a more detailed analysis it will be shown that such a minimum number of dimensions is given by an integer number k (hereafter called the true dimension of \({{\varvec{\uprho}}}\)) satisfying \(r \le k \le n\). Moreover, a new parameter describing, in a continuous manner, the closeness of the state to the determined true dimension can be defined.

In this paper, novel quantities and concepts describing the dimensionality properties of n-dimensional density matrices are introduced and interpreted in terms of the population asymmetry exhibited by the considered physical system. The fact that some of these notions have proven to be fruitful for the study of polarization density matrices in three-dimensional (3D) optical systems, supports their generalization to nD density matrices. Despite the fact that this work focuses on general systems described by density matrices, the results have direct applications in the analysis concerning, e.g., sets of n interacting pencils of radiation [8,9,10], classical optical coherence [11, 12], qutrits, or any mixed n-state quantum system (n-level systems). Furthermore, the research of the features of quantum channels as transformers of density matrices [13,14,15,16] can also potentially benefit from the formalism.

After a brief summary of the theoretical framework necessary to develop the formulation of the problem, the concepts of dimensionality index and effective dimension are introduced as natural generalizations of their versions for 3D polarimetric systems [17,18,19]. Then, it is shown that the dimensionality index is identical to the degree of population asymmetry introduced recently [20], which broadens their physical interpretation and significance. On the basis of such developments, the concepts of dimensional folding, hidden dimensional purity, and dimensional entropy are defined and discussed.

2 Theoretical background

Consider a classical nD system whose state is characterized by a set of n random variables \(v_{i}\) \((i = 1, \ldots ,n)\) that can be arranged into a unit complex vector \({\hat{\mathbf{v}}} = v_{1} , \ldots ,v_{n} )^{\text {T}}\), where the superscript “T” indicates transpose. The ensemble averages \(\rho_{ij} = \left\langle {v_{i} v_{j}^{*} } \right\rangle\) \((i,j = 1,2, \ldots ,n)\) over the sample realizations \(v_{i} v_{j}^{*}\) provide all the second-order measurable quantities associated with \({\hat{\mathbf{v}}}\) and constitute the elements of the corresponding density matrix, defined as \({{\varvec{\uprho}}} = \left\langle {{\hat{\mathbf{v}}} \otimes {\hat{\mathbf{v}}}^{\dag } } \right\rangle\), where ⊗ stands for the Kronecker product and the dagger indicates conjugate transpose. Except for variables obeying Gaussian statistics, higher-order moments are in general necessary for a complete description of the stochastic classical system; nevertheless, for many problems the second-order description is sufficient in practice (as occurs frequently in polarization optics). In quantum physics, density matrices arise naturally in the description of statistical mixtures of pure states [21].

From a formal point of view, a given n × n matrix \({{\varvec{\uprho}}}\) can be considered a density matrix if and only if \({{\varvec{\uprho}}}\) is a trace-normalized nonnegative definite Hermitian matrix, i.e., \({\text{tr}} {{\varvec{\uprho}}} = 1\) where “tr” stands for the trace, \({{\varvec{\uprho}}} = {{\varvec{\uprho}}}^{\dag }\), and the n eigenvalues of \({{\varvec{\uprho}}}\) are real and nonnegative. The density matrix can always be diagonalized as \({{\varvec{\uprho}}} = {\mathbf{U\Lambda U}}^{\dagger}\) (spectral theorem [22]), where U is the unitary matrix whose columns are the orthonormal eigenvectors of \({{\varvec{\uprho}}}\), whereas \({{\varvec{\Lambda}}} = {\text{diag}} \,(\lambda_{1} ,\lambda_{2} , \ldots ,\lambda_{n} )\) is the diagonal matrix whose diagonal elements are the eigenvalues of \({{\varvec{\uprho}}}\), which are taken in decreasing order, \(\lambda_{1} \ge \lambda_{2} \ge \ldots \ge \lambda_{n} .\) Due to the trace normalization, the eigenvalues satisfy \(\lambda_{1} + \lambda_{2} + ... + \lambda_{n} = 1\). When \({{\varvec{\uprho}}}\) has a single nonzero eigenvalue \((\lambda_{1} > 0,\lambda_{2} = \ldots = \lambda_{n} = 0)\), the state is said to be pure and the matrix is denoted by \({{\varvec{\uprho}}}_{p}\), which constitutes a limiting case of the general mixed states. On the other hand, maximally mixed states \((\lambda_{1} = \lambda_{2} = \ldots = \lambda_{n} = {1 \mathord{\left/ {\vphantom {1 n}} \right. \kern-0pt} n})\) are represented by the identity matrix I scaled by \({1 \mathord{\left/ {\vphantom {1 n}} \right. \kern-0pt} n}\) and denoted as \({{\varvec{\uprho}}}_{u} = {\mathbf{\text{ I}}}/{\varvec{n}} \).

An overall measure of the degree of purity of a state \({{\varvec{\uprho}}}\) is given by [23,24,25]

$$ P_{nD}^{2} = \frac{1}{n - 1}\left( {n{\text{tr}} {{\varvec{\uprho}}}^{2} - 1} \right) = \frac{1}{n - 1}\sum\limits_{\substack{ i,j = 1 \\ i < j } }^{n} {\left( {\lambda_{i} - \lambda_{j} } \right)^{2} } , $$
(1)

which satisfies \(0 \le P_{nD} \le 1\) and reaches its extremal values \(P_{nD} = 1\) and \(P_{nD} = 0\) for pure and maximally mixed states, respectively. While \(P_{nD}\) is a global measure of the purity of the state represented by \({{\varvec{\uprho}}}\), detailed quantitative information on the structure of purity is given by the \(n - 1\) indices of purity (hereafter IP), defined in analogy to the indices of polarimetric purity (IPP) as [25]

$$ P_{k} = \sum\limits_{j = 1}^{k} {\lambda_{j} - k\lambda_{k + 1} } ,\,\,\,\,\,\,\,\,1 \le k \le n - 1. $$
(2)

In comparison with other possible alternative sets of \(n - 1\) parameters obtained as linear functions of \(\lambda_{i}\), the IP has the hierarchical property that they obey the nested inequalities \(0 \le P_{1} \le \ldots \le P_{n - 1} \le 1\). The expression for \(P_{nD}\) in terms of the IP is [25]

$$ P_{nD}^{2} = \frac{n}{n - 1}\sum\limits_{k = 1}^{n - 1} {\frac{{P_{k}^{2} }}{{k\left( {k + 1} \right)}}}. $$
(3)

This relation is obtained by using the expressions of the eigenvalues \(\lambda_{i}\) of \({{\varvec{\uprho}}}\) in terms of the IP (see Eq. (36) of Ref. [25]) and then applying them to the latter form of \(P_{nD}\) in Eq. (1).

Another concept that must be taken into account to formulate the results of this work is the intrinsic density matrix described below. Given an nD density matrix \({{\varvec{\uprho}}}\), there always exists a proper orthogonal matrix Q (\({\mathbf{Q}}^{{\text{T}}} = {\mathbf{Q}}^{{ - {1}}}\), \(\det {\mathbf{Q}} = + 1\)) that allows one to perform the diagonalization of the real part \({\text{Re}} {{\varvec{\uprho}}}\) of \({{\varvec{\uprho}}}\), \({\mathbf{Q}}^{{\text{T}}} {\kern 1pt} \left( {{\text{Re}} {{\varvec{\uprho}}}} \right)\,{\mathbf{Q}} = {\text{diag}} \,(a_{1} ,a_{2} , \ldots ,a_{n} ) = {\mathbf{A}}\). Observe that, since the orthogonal transformation \({\mathbf{Q}}^{{\text{T}}} {\kern 1pt} {{\varvec{\uprho}}}\,{\mathbf{Q}}\) of \({{\varvec{\uprho}}}\) has always the form of a density matrix, their diagonal elements \((a_{1} ,a_{2} , \ldots ,a_{n} )\), which coincide with the eigenvalues of the symmetric matrix \({\text{Re}} {{\varvec{\uprho}}}\), are necessarily nonnegative, showing that \({\text{Re}} {{\varvec{\uprho}}}\) has the formal character of a density matrix. Without loss of generality, the convention \(\,a_{1} \ge a_{2} \ge \ldots \ge a_{n}\) (with \({\text{tr}} {{\varvec{\uprho}}} = a_{1} + a_{2} + ... + a_{n} = 1\)) is taken, so that \((a_{1} ,a_{2} , \ldots ,a_{n} )\) are the ordered (real, nonnegative) eigenvalues of \({\text{Re}} {{\varvec{\uprho}}}\) and referred to as intrinsic populations [20].

The orthogonal transformation \({\mathbf{Q}}^{{\text{T}}} {\kern 1pt} \left( {{\text{Re}} {{\varvec{\uprho}}}} \right)\,{\mathbf{Q}}\) can always be formally interpreted as a proper rotation of the original nD Cartesian reference frame \(X_{1} X_{2} \ldots X_{n}\), used for the representation of \({\text{Re}} {{\varvec{\uprho}}}\) in the associated nD real space, to the intrinsic reference frame \(X_{1O} X_{2O} \ldots X_{nO}\) [20] for which the real part of the density matrix takes the diagonal form A. By denoting \(k = {\text{rank}} {\kern 1pt} \left( {{\text{Re}} {{\varvec{\uprho}}}} \right) = {\text{rank}} {\kern 1pt} {\mathbf{A}}\), the diagonal matrix A can be expressed as \({\mathbf{A}} = {\text{diag}} \,(a_{1} ,a_{2} , \ldots ,a_{k} ,0, \ldots 0)\), with \(\,a_{1} \ge a_{2} \ge \ldots \ge a_{k} > 0\) and \(\,a_{k + 1} = a_{k + 2} = \ldots = a_{n} = 0\). Note that, as is well known in matrix algebra, Q is not unique when some diagonal elements of A are equal, i.e., some eigenvalues of \({\text{Re}} {{\varvec{\uprho}}}\) are degenerate. This fact does not affect the developments performed below.

By applying the orthogonal transformation represented by Q to the entire density matrix \({{\varvec{\uprho}}}\), we get its associated intrinsic density matrix [20, 26]

$$ {{\varvec{\uprho}}}_{O} = {\mathbf{Q}}^{{\text{T}}} {\kern 1pt} {{\varvec{\uprho}}}\,{\mathbf{Q}} = {\mathbf{A}} + i\,\frac{1}{2}{\mathbf{N}}\,,\quad \left[ {{\mathbf{A}} = {\mathbf{Q}}^{{\text{T}}} {\kern 1pt} \left( {{\text{Re}} {{\varvec{\uprho}}}} \right)\,{\mathbf{Q}},\,\,\,\,{\mathbf{N}} = 2{\mathbf{Q}}^{{\text{T}}} {\kern 1pt} \left( {{\text{Im}} {{\varvec{\uprho}}}} \right)\,{\mathbf{Q}}\,} \right], $$
(4)

where N is an antisymmetric real matrix, \({\mathbf{N}}^{{\text{T}}} = - {\mathbf{N}}\), whose off-diagonal elements \(n_{ij}\) are called the intrinsic coherences. The terms populations and coherences are used by analogy to the names employed commonly in quantum mechanics, but we apply them to any kind of quantum or classical state represented by a density matrix. Thus, any density matrix, \({{\varvec{\uprho}}}\), has an associated intrinsic density matrix, \({{\varvec{\uprho}}}_{O}\), which represents the same state as \({{\varvec{\uprho}}}\), but referenced with respect to the associated intrinsic reference frame (real and Euclidean) defined from \({{\varvec{\uprho}}}\) via \({\text{Re}} {{\varvec{\uprho}}}\).

As with the definition of the IP from the \(\lambda_{i}\) of \({{\varvec{\uprho}}}\), a set of \(n - 1\) indices of population asymmetry (IPA) are defined from the \(a_{i}\) of \({\mathbf{A}}\) as [20]

$$ M_{k} = \sum\limits_{j = 1}^{k} {a_{j} - k{\kern 1pt} a_{k + 1} } ,\,\,\,\,\,1 \le k \le n - 1. $$
(5)

The IPA satisfies the nested inequalities \(0 \le M_{1} \le M_{2} \ldots \le M_{n - 1} \le 1\) and provides detailed information on the structure of population asymmetry of the state represented by \({{\varvec{\uprho}}}\). States with full population symmetry \((a_{1} = a_{2} = \ldots = a_{n} = {1 \mathord{\left/ {\vphantom {1 n}} \right. \kern-0pt} n})\) are characterized by \(M_{1} = M_{2} = \ldots = M_{n - 1} = 0\), while the maximal population asymmetry (\(a_{1} = 1\), \(a_{2} = \ldots = a_{n} = 0\)) is expressed by \(M_{1} = M_{2} = \ldots = M_{n - 1} = 1\).

According to Eq. (4), two complementary contributions to purity arise naturally from the population asymmetry (derived from A) and from the coherence asymmetry (derived from N), respectively, in such a manner that the degree of purity can be expressed as [20] (\(n > 1\) assumed)

$$ P_{nD}^{2} = P_{p}^{2} + \frac{n}{{2\left( {n - 1} \right)}}P_{c}^{2} ,\,\,\,\,\left[ {0 \le P_{p} \le 1,\,\,\,0 \le P_{c} \le 1} \right] $$
(6)

where the degree of population asymmetry, \(P_{p}\), and the degree of coherence asymmetry, \(P_{c}\), are defined as

$$ P_{p}^{2} = \frac{1}{n - 1}\left( {n{\text{tr}} {\mathbf{A}}^{2} - 1} \right) = \frac{n}{n - 1}\sum\limits_{k = 1}^{n - 1} {\frac{{M_{k}^{2} }}{{k\left( {k + 1} \right)}}} ,\,\,\,\,\,\,P_{c}^{2} = \frac{1}{2}\left\| {\mathbf{N}} \right\|_{{\text{F}}}^{2} = \sum\limits_{\substack{ i,j = 1 \\ i < j } }^{n} {\left| {n_{ij} } \right|^{2} } , $$
(7)

where \(\left\| {\mathbf{N}} \right\|_{{\text{F}}}^{{}}\) denotes the Frobenius norm. Clearly, purity is related to the population and coherence asymmetries of the structure of \({{\varvec{\uprho}}}\); the greater the asymmetry, the closer the state is to a pure state, while the greater the symmetry, the closer the state is to a maximally mixed state.

3 True dimension and effective dimension of a density matrix

To show the origin and motivation of the general approach described below, let us first consider the particular case of a 3 × 3 density matrix \({{\varvec{\uprho}}}_{m} = ({1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2})\,{\mathbf{U}}{\text{diag}} \,(1,1,0)\,{\mathbf{U}}^{\dag }\) (with a double degenerate nonzero eigenvalue and \({\text{rank}} {{\varvec{\uprho}}}_{m} = 2\)) whose associated intrinsic density matrix is of the form

$$ {{\varvec{\uprho}}}_{mO} = {\mathbf{Q}}^{{\text{T}}} {{\varvec{\uprho}}}_{m} \,{\mathbf{Q}} = \left( {\begin{array}{*{20}c} {a_{1} } & { - i{{n_{3} } \mathord{\left/ {\vphantom {{n_{3} } 2}} \right. \kern-0pt} 2}} & {i{{n_{2} } \mathord{\left/ {\vphantom {{n_{2} } 2}} \right. \kern-0pt} 2}} \\ {i{{n_{3} } \mathord{\left/ {\vphantom {{n_{3} } 2}} \right. \kern-0pt} 2}} & {a_{2} } & { - i{{n_{1} } \mathord{\left/ {\vphantom {{n_{1} } 2}} \right. \kern-0pt} 2}} \\ { - i{{n_{2} } \mathord{\left/ {\vphantom {{n_{2} } 2}} \right. \kern-0pt} 2}} & {i{{n_{1} } \mathord{\left/ {\vphantom {{n_{1} } 2}} \right. \kern-0pt} 2}} & {a_{3} } \\ \end{array} } \right),\,\,\,\,\,\left[ {0 < a_{3} \le a_{2} \le a_{1} } \right] $$
(8)

so that \(k({{\varvec{\uprho}}}_{m} ) = {\text{rank}} \,({\text{Re}} {{\varvec{\uprho}}}_{m} ) = 3\). The matrix \({{\varvec{\uprho}}}_{m}\) is the middle component (hence the subscript m) or the so-called the discriminating component in the characteristic decomposition [7, 27] of the 3 × 3 polarization matrix and its detailed general structure can be found in [28] dealing with nonregularity of polarization states. Note that, since qutrit states are represented by 3 × 3 density matrices [29, 30], the concept of discriminating density matrices \({{\varvec{\uprho}}}_{m}\) [20] can be applied to certain kind of qutrit states. In analogy to the fact that discriminating polarization states cannot be considered as two-dimensional polarization states embedded in the 3D representation [27], qutrits with associated density matrices of the form \({{\varvec{\uprho}}}_{m}\) (with \(k({{\varvec{\uprho}}}_{m} ) = 3\)) cannot be considered as qubits embedded in qutrit structures.

If the 2 × 2 restricted form \({{\varvec{\uprho}}}_{m(2 \times 2)} = {\mathbf{U}}_{(2 \times 2)} {\text{diag}} \,(1,1)\,{\mathbf{U}}_{(2 \times 2)}^{\dag }\) of \({{\varvec{\uprho}}}_{m}\) is taken, the specific information determining U is lost, and therefore \({{\varvec{\uprho}}}_{mO}\) cannot be recovered from \({{\varvec{\uprho}}}_{m(2 \times 2)}\). This shows that, in general, given a density matrix satisfying \(k > r = {\text{rank}} \,{{\varvec{\uprho}}}\), its r × r restricted version \({{\varvec{\uprho}}}_{(r \times r)}\) obtained by eliminating then n-r rows-columns associated with zero eigenvalues of the original \({{\varvec{\uprho}}}\) does not allow for recovering the complete information held by \({{\varvec{\uprho}}}\).

From a general point of view, let us now consider the ranks of \({{\varvec{\uprho}}}\) and \({\text{Re}} {{\varvec{\uprho}}}\) denoted by \(r = {\text{rank}} \,{{\varvec{\uprho}}}\) and \(k = {\text{rank}} \,({\text{Re}} {{\varvec{\uprho}}})\), and observe that condition \(k \ge r\) is necessarily satisfied (proven in the Appendix). Furthermore, looking at the possible representations of the state \({{\varvec{\uprho}}}\), the number of dimensions that take place in the problem is the true dimension k (and not r). In fact, when a number q of intrinsic populations are zero, a restricted version of the density matrix can be used by removing \(n - k = q\) (and not \(n - r\)) rows and columns from \({{\varvec{\uprho}}}_{O}\). It is important to note that, when a given intrinsic population is zero, the intrinsic correlations appearing in the associated row-column necessarily vanish, which justifies the above analysis based on intrinsic populations only.

Thus, k constitutes an integer descriptor of the true physical dimensions involved in the representation of the state. Situations of this kind have been studied in the context of polarization optics, leading to new and fruitful concepts like nonregularity and the structure of spin vectors of polarization states [28,29,30,31,32]. It is also important to keep in mind that states satisfying \(a_{1} = a_{2} = \ldots = a_{n} = {1 \mathord{\left/ {\vphantom {1 n}} \right. \kern-0pt} n}\), whose density matrices will be denoted by \({{\varvec{\uprho}}}_{Au}\), are not necessarily maximally mixed states since such states can exhibit certain amount of correlation asymmetry, regardless of their full population symmetry. It should be stressed that the 3 × 3 approach developed in previous papers under the scope of polarization optics, whose generalization is dealt with in this work, can entirely be applied to qutrit states and density matrices representing 3-level quantum states in general.

The true dimension, k, of a state, provides a discrete measure which does not reflect, in a continuous functional manner, the dimensional features of a state. Thus, we next introduce the dimensionality index, d, of the state \({{\varvec{\uprho}}}\) as

$$ d^{2} = \frac{1}{{\left( {n - 1} \right)}}\sum\limits_{\substack{ i,j = 1 \\ i < j } }^{n} {\left( {a_{i} - a_{j} } \right)^{2} } \,,\,\,\,\,n > 1 $$
(9)

which is the mean square average of the differences between all pairs of intrinsic populations and takes values in the range \(0 \le d \le 1\). Thus, d is defined as a generalization of the dimensionality index of random light fields \((n = 3)\) introduced for the first time in [17]. States with a single nonzero intrinsic population (\(a_{1} = 1\), maximal population asymmetry) are characterized uniquely by \(d = 1\). These states are necessarily pure, while the converse is not generally true. An example of a pure state with \(d < 1\) is a circularly polarized state in optics [17]. The lower limit \(d = 0\) is reached, uniquely, by states \({{\varvec{\uprho}}}_{Au}\) exhibiting maximal population symmetry. In addition, by using the relation \(a_{1} + a_{2} + \ldots + a_{n} = 1\) in the expression of \(P_{p}\) in Eq. (7), it is straightforward to show that in fact \(P_{p}^{{}} = d\). Thus, the dimensionality index is a proper measure of the degree of population asymmetry and also a measure of the Frobenius distance between the state \({{\varvec{\uprho}}}\) and \({{\varvec{\uprho}}}_{Au}\).

While the index d is defined as a relative measure constrained to the range \(0 \le d \le 1\), the effective dimension, D, of a state \({{\varvec{\uprho}}}\) is defined as

$$ D = n - \left( {n - 1} \right)d $$
(10)

which takes continuous values in the range \(1 \le D \le n\) and allows for distinguishing among different physical situations with equal true dimensions in terms of their closeness to the possible values of k. We remark that in the context of polarization optics D has been called the polarimetric dimension [17] but here the term effective dimension is invoked for the general case. States with maximal population asymmetry (smallest effective dimension) are characterized by \(D = 1\), while \(D = n\) is achieved uniquely by states \({{\varvec{\uprho}}}_{Au}\) with maximal population symmetry (largest effective dimension). Therefore, the real parameter D provides a continuous and more accurate characterization for the effective dimensionality of \({{\varvec{\uprho}}}\) than that given by the integer parameter k. The ability of D to characterize the dimensionality of optical evanescent waves and tightly focused beams has been described in previous works [19, 31, 33].

4 Dimensional folding

When a given density matrix \({{\varvec{\uprho}}}\) satisfies \(k > r\) we may say that a number \(f = k - r\) of dimensions of the state represented by \({{\varvec{\uprho}}}\) are folded. More precisely, despite that \({{\varvec{\uprho}}}\) has r nonzero eigenvalues, the state cannot be represented through an \(r \times r\) density matrix, but instead such a representation necessitates a \(k \times k\) density matrix. Since both the true dimension and the effective dimension of \({{\varvec{\uprho}}}\) are determined by the eigenvalues of \({\text{Re}} {{\varvec{\uprho}}}\) (and not by the eigenvalues of \({{\varvec{\uprho}}}\)), this phenomenon corresponds to states with \(D > r\), which means that the effective dimension is larger than the rank r of \({{\varvec{\uprho}}}\). Hence, the minimum number of dimensions to describe both \({\text{Re}} {{\varvec{\uprho}}}\) and \({{\varvec{\uprho}}}\) is k and not r. States exhibiting dimensional folding \((k > r)\) are characterized by any of the two following equivalent properties: (1) \(D > r\), and (2) the number of IPA equal to 1 (\(n - k - 1\)) is smaller than the number of IP with value 1 (\(n - r - 1\)).

A good example of a dimensionally folded state is given by the incoherent superposition of two pure polarization states whose polarization planes (the planes where their corresponding polarization ellipses lie) are different. Contrary to what could be expected at first sight, polarization states of this kind \((r = 2)\) cannot be represented by 2 × 2 polarization density matrices, but must be represented by 3 × 3 ones. Another physical example is a system composed of n interacting pencils of radiation [8,9,10]. Generally, the notion of dimensional folding can be applied to any density matrix whose representation with respect to an nD Euclidean space is physically significant.

5 Hidden dimensional purity

The notion of purity of a density matrix \({{\varvec{\uprho}}}\) is closely linked to that of dimensional folding and, in general, to the dimensional structure of \({{\varvec{\uprho}}}\). The present section is devoted to the analysis and quantification of the part of the purity that corresponds to the extra dimensions that, being relevant to the problem under study, are not considered in the representation of \({{\varvec{\uprho}}}\).

Prior to address the general approach, and in order to exemplify the problem, it is worth to recall that hidden dimensional purity occurs, for instance, for 2D polarization states of light, whose usual 2D representation does not reflect the fact that all physical polarization states are realized in the 3D Euclidean space. Indeed, the 2D degree of polarization \(P_{{{\text{2D}}}}\) could even take its minimum value \(P_{{2{\text{D}}}} = 0\) regardless of the fact that such states satisfy \(P_{{3{\text{D}}}} \ge {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}\) [34, 35]. In other words, the 2D representation of a polarization state leaves hidden the fact that a half of the purity, i.e., the indicated threshold \({1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}\) for \(P_{{3{\text{D}}}} ,\) comes from dismissing the additional third real dimension involved in the complete description of the state.

We next introduce the notion of hidden dimensional purity, which is linked to the dimensionality properties of a state that is represented by an mD density matrix, where m is smaller than the actual dimensions n in which the state is described by an nD density matrix. This procedure is equivalent to discarding a number \(q = n - m\) of the IP of the true nD system having maximal values \(P_{n - 1} = P_{n - 2} = \ldots = P_{n - q} = 1\), which implies that a considerable part of the purity of the state is contained in the hidden q dimensions.

The quantification of the hidden dimensional purity when the system is represented with \(n - 1\) dimensions instead of n can be performed through the following expression, Eq. (43) of [25], that links the consecutive degrees of purity \(P_{nD}\) and \(P_{(n - 1)D}\) with \(P_{n - 1}\) (the largest IP in the nD representation)

$$ P_{nD}^{2} = \frac{{n\left( {n - 2} \right)}}{{\left( {n - 1} \right)^{2} }}P_{{\left( {n - 1} \right)D}}^{2} + \frac{1}{{\left( {n - 1} \right)^{2} }}P_{n - 1}^{2}. $$
(11)

When the last dimension n is ignored, this is equivalent to set all elements of the n-th row and column of the density matrix to zero, which in turn corresponds to \(P_{n - 1} = 1\), in which case

$$ P_{nD}^{2} = \frac{{n\left( {n - 2} \right)}}{{\left( {n - 1} \right)^{2} }}P_{{\left( {n - 1} \right)D}}^{2} + \frac{1}{{\left( {n - 1} \right)^{2} }} \Rightarrow P_{nD} \ge \frac{1}{n - 1}, $$
(12)

and the lost dimensional purity is quantified in \({1 \mathord{\left/ {\vphantom {1 {(n - 1)}}} \right. \kern-0pt} {(n - 1)}}\).

For a given \({{\varvec{\uprho}}}\), the recursive application of Eq. (11) leads to the expression that relates the nD degree of purity \(P_{nD}\), the mD degree of purity \(P_{mD}\) (with \(1 < m < n\)), and the last \(q-1\) indices of purity

$$ P_{nD}^{2} = \frac{{n\left( {m - 1} \right)}}{{\left( {n - 1} \right)m}}P_{mD}^{2} + \frac{n}{n - 1}\sum\limits_{l = m}^{n - 1} {\frac{{P_{l}^{2} }}{{l\left( {l + 1} \right)}}}. $$
(13)

Consequently, when the last \(q = n - m\) dimensions are hidden, in which case \(P_{l} = 1\) \((l = m, \ldots ,n - 1)\), the corresponding hidden dimensional purity, \(P_{h}\), is

$$ P_{h}^{2} = \frac{n}{n - 1}\sum\limits_{l = m}^{n - 1} {\frac{1}{{l\left( {l + 1} \right)}}} \, = \frac{q}{{\left( {n - 1} \right)m}}\,,\,\,\,\, $$
(14)

so that

$$ P_{nD}^{2} = \frac{{n\left( {m - 1} \right)}}{{\left( {n - 1} \right)m}}P_{mD}^{2} + P_{h}^{2} \Rightarrow P_{nD} \ge P_{h}. $$
(15)

6 Dimensional entropy

The von Neumann entropy of a system represented by a density matrix has proven to be a very fruitful concept, which motivates the introduction of a similar, but complementary, quantity obtained from \({{\varvec{\uprho}}}\) via the associated real density matrix \({\text{Re}} {{\varvec{\uprho}}}\). Obviously, both quantities have different physical meanings.

As we have seen, the detailed information on the true dimensionality of a state represented by a given density matrix is provided either by the dimensionality index d or by the effective dimension D, which are defined in terms of the (ordered) intrinsic populations \(a_{i}\) \((i = 1,2, \ldots ,n)\). This fact suggests the introduction of a quantity akin to the conventional von Neumann entropy, which is expressed in terms of the eigenvalues of the density matrix. In particular, we define the dimensional entropy of a state represented by \({{\varvec{\uprho}}}\) as the following entropy-like measure of the information provided by \({{\varvec{\uprho}}}\) regarding effective dimensionality (and hence population asymmetry, because of its essential link to D):

$$ S_{D} \left( {{\varvec{\uprho}}} \right) = S\left( {{\text{Re}} {{\varvec{\uprho}}}} \right) = S\left( {\mathbf{A}} \right) = - {\text{tr}}\left( {{\mathbf{A}}\ln {\mathbf{A}}} \right) = - \sum\limits_{i = 1}^{n} {\left( {a_{i} \ln a_{i} } \right)}. $$
(16)

Note that the fact that \({\text{Re}} {{\varvec{\uprho}}}\) has the mathematical structure of a density matrix justifies the above definition of the dimensional entropy in terms of the eigenvalues \(a_{i}\) of \({\text{Re}} {{\varvec{\uprho}}}\). Thus, as with the conventional concept of von Neumann entropy, \(S_{D} ({{\varvec{\uprho}}})\) is limited by \(0 \le S_{D} ({{\varvec{\uprho}}}) \le \ln n\), with its maximum value \(S_{D} ({{\varvec{\uprho}}}) = \ln n\) corresponding to states with maximal population symmetry \((d = 0,\,\,D = n)\), while its minimum \(S_{D} ({{\varvec{\uprho}}}) = 0\) is reached by 1D states (\(d = 1,\,\,D = 1\)), i.e., states with maximal population asymmetry, which constitutes a particular category of pure states. In general, the larger is the effective dimension the more disordered the state is regarding the physical dimensions and the larger is the dimensional entropy.

An interesting alternative definition of the dimensional entropy is given by the normalized form

$$ \hat{S}_{D} \left( {{\varvec{\uprho}}} \right) = \hat{S}\left( {{\text{Re}} {{\varvec{\uprho}}}} \right) = \hat{S}\left( {\mathbf{A}} \right) = - {\text{tr}}\left( {{\mathbf{A}}\log_{n} {\mathbf{A}}} \right) = - \sum\limits_{i = 1}^{n} {\left( {a_{i} \log_{n} a_{i} } \right)} $$
(17)

where \(\hat{S}_{D} ({{\varvec{\uprho}}})\) is then constrained to the interval \(0 \le \hat{S}_{D} ({{\varvec{\uprho}}}) \le 1\) regardless of the value of n, with the maximum \(\hat{S}_{D} ({{\varvec{\uprho}}}) = 1\) corresponding to full population symmetry.

7 Conclusions

In this work, we examined the structural characterization of nD density matrices with emphasis on dimensionality properties. By considering the intrinsic populations of such matrices, we extended the concepts of dimensionality index and effective dimension established for 3D polarization states in optics to generic physical systems in n dimensions. We further introduced the notion of dimensional folding which occurs when the number of nonzero eigenvalues of the density matrix is less than that of nonzero intrinsic populations, i.e., the dimensions needed to describe the state exceeds the rank of the density matrix. We also put forward the property we call hidden dimensional purity which characterizes the amount of purity in dimensions not taken into account in the representation of the state. Finally, we presented the notion of dimensional entropy as a measure for the effective dimensionality associated with a density matrix. The results of this work apply to the description of classical or quantum mixed states of any dimensionality.