// Input: Two qubits (stored in an array) which are guaranteed to be// or in superposition of states |01⟩ and |10⟩.
// Output: 0 if qubitswere in the first superposition</em
(refamp,objamp,x,y,a,lambda) S = refamp+(objamp*cos(2*amplitude of object wave A0>>A1: A0/A1>=3% generate the superpositionspace width*height at a along z-axis