Parametrization of uniformly distributed n dimensional states

Click For Summary

Discussion Overview

The discussion revolves around the parametrization of uniformly distributed n-dimensional quantum states, exploring how to generalize the two-dimensional state representation to higher dimensions. Participants consider various methods for achieving uniform distribution over the state space, including integration techniques and the use of spherical coordinates.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a two-dimensional state parametrization and asks how to extend this to n-dimensional states.
  • Another participant suggests using random distributions on n-spheres and discusses the limitations of n-dimensional spherical coordinates for uniform sampling.
  • A different participant expresses the need for a parametrization suitable for integration over the space of states, seeking a generalization of spherical coordinates.
  • Several participants propose various forms of parametrization involving angles and phase factors, with some expressing uncertainty about the sufficiency of these approaches.
  • Concerns are raised about the uniformity of distributions when using random angles, with a suggestion to consider the area element for proper uniform sampling.
  • One participant suggests generating random numbers in a cube and normalizing them to obtain points on the sphere, while another notes this may not assist in analytical manipulation of states.
  • There is a recognition that the original question could have been more precise, indicating some ambiguity in the discussion.

Areas of Agreement / Disagreement

Participants express differing views on the best methods for parametrization and uniform sampling, with no consensus reached on a single approach. Some agree on the need for careful consideration of distributions, while others propose different parametrization techniques without resolving the overall question.

Contextual Notes

Participants highlight limitations related to the uniformity of distributions and the challenges of generating random angles that yield uniform points on the n-sphere. There is also mention of potential numerical issues when normalizing vectors.

Arubaito
Messages
8
Reaction score
0
Any two dimensional state can be written as:
<br /> |\phi\rangle=\cos\frac{\theta}{2}|0\rangle+e^{i\phi}\sin\frac{\theta}{2}|1\rangle<br />
where 0\leq\theta\leq\pi and 0\leq\phi\leq 2\pi, and 0\leq\theta\leq\pi. To pick one such state uniformly at random it suffices to draw \phi at random from its domain and \cos\theta uniformly in the range [-1,1]. How would you do the equivalent parametrization for an n-dimensional state?
 
Physics news on Phys.org
I think you should google for "random distribution on n-spheres"

It is not possible to use n-dim. spherical coordinates; the sample will not be distributed uniformly. However it is possible to generate a random point X uniformly distributed in the n-cube [−1,1]n, to reject it if it is outside the unit ball |X| ≤ 1, and to project the remaining points to the n-sphere. This works nice for small n, but fails for large n b/c the ratio Vol(n-sphere) / Vol(n-cube) tends to zero for large n.
 
Last edited:
Thanks for your pointer. Probably my question was a little ambiguous. The thing is that I want to use the parametrization to integrate over the space of states, that's why I was looking for a generalization of spherical coordinates.
 
The uniform distribution on the spheres gives you this generalization - you just have to add phase factors for all but one base vector afterwards.
 
are you looking for generalization of spherical coordinates then
x1=rCos(ψ1)
x2=rSin(ψ1)Cos(ψ2) and so on
with xn=rSin(ψ1)...Sin(ψn-2)Sin(ψn-1)
ψn-1 ranges over 0 to 2∏ and other ranges from 0 to ∏.
 
I am not very sure that andrien parametrization suffices. Following mfb, dou you think that something of the following form works?

<br /> |\phi\rangle=\cos\frac{\theta_1}{2}|0\rangle <br /> + e^{i\phi_1}\sin\frac{\theta_1}{2}\cos\frac{\theta_2}{2}|1\rangle<br /> + e^{i\phi_2}\sin\frac{\theta_1}{2}\sin\frac{\theta_2}{2}\cos\frac{\theta_3}{2}|2\rangle<br /> + \ldots<br /> + e^{i\phi_{n-2}}\sin\frac{\theta_1}{2}\ldots\cos\frac{\theta_{n-2}}{2}|n-2\rangle<br /> + e^{i\phi_{n-1}}\sin\frac{\theta_1}{2}\ldots\sin\frac{\theta_{n-2}}{2}|n-1\rangle<br />
 
Hi Tom, I took a look, however the parametrization I need should be in the computational basis. What is wrong with:

<br /> |\phi\rangle=\cos\frac{\theta_1}{2}|0\rangle \\<br /> + e^{i\phi_1}\sin\frac{\theta_1}{2}\cos\frac{\theta_2}{2}|1\rangle \\<br /> + e^{i\phi_2}\sin\frac{\theta_1}{2}\sin\frac{\theta_2}{2}\cos\frac{\theta_3}{2}|2\rangle \\<br /> + \ldots \\<br /> + e^{i\phi_{n-2}}\sin\frac{\theta_1}{2}\ldots\cos\frac{\theta_{n-2}}{2}|n-2\rangle \\<br /> + e^{i\phi_{n-1}}\sin\frac{\theta_1}{2}\ldots\sin\frac{\theta_{n-2}}{2}|n-1\rangle<br />
 
Nothing is wrong, but a uniform random distribution of the angles results in a non-uniform distribution on the n-sphere
 
  • #10
I see, you mean that I should consider also the appropriate element of area, which following your pointer should be:

<br /> (\sin{\theta_1})^{n-2}d\theta_1(\sin{\theta_2})^{n-3}d\theta_2 \ldots d\theta_{n-2} d\phi_1 d\phi_2\ldots d\phi_{n-1}<br />

with 0\leq\theta_i\leq\pi and 0\leq\phi_i\leq 2\pi.
 
  • #11
yes

but honerstly, I do not know how to generate random angles with a specific non-uniform distribution such that the resulting points on the sphere are uniformely distributed. Better try a google search
 
  • #12
Generate n random numbers from -1 to 1, interpret them as vector, normalize? Calculate the vectors afterwards if you like.

To avoid numerical issues, discard vectors with a very small magnitude due to rounding errors.
 
  • #13
What you're saying helps if I wanted to sample vectors, but I think it doesn't help me much if I want to manipulate analitically the state
 
  • #14
Arubaito said:
What you're saying helps if I wanted to sample vectors, but I think it doesn't help me much if I want to manipulate analitically the state
Right.

But in the 1st post you wrote

Arubaito said:
... To pick one such tate uniformly at random it suffices to draw ... at random from its domain and ... uniformly in the range ... How would you do the equivalent parametrization for an n-dimensional state?

So my conclusion was that you are looking for random samples on th n-dim. unit sphere.
 
  • #15
You're right, my question should have been more precise.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K