Creates a validated amplitude from real and imaginary components. Throws if the magnitude is greater than 1.
Real component
Imaginary component (default: 0)
Valid quantum amplitude
Error if magnitude > 1
Creates a validated amplitude from real and imaginary components. Throws if the magnitude is greater than 1.