Exemplo n.º 1
0
        // Creation of two entangled particles with hidden parameters
        public static (HPParticle first, HPParticle second) BurnPair(HPEnv env)
        {
            var first  = new HPParticle(env);
            var second = new HPParticle(env);

            var angle = env.RandomAngle();

            first._angle  = angle;              // the second particle polarization
            second._angle = angle + Env.HalfPi; // the second particle polarization is orthogonal to the first

            return(first, second);
        }
Exemplo n.º 2
0
 protected HPParticle(HPEnv env) : base(env)
 {
 }