returns an infinitesimal 2x2 rotation matrix where the three parameters eps_1,
eps_2, eps_3 are drawn from a Gaussian distribution of standard deviation sigma
as specified in the real part of the complex number.
returns the probability distribution for the outcome of a particular basis ket
when performing a measurement without actually performing a measurement.
this method is a optimized version to apply a unitary 2x2 matrix with zeros
of the counter diagonal onto the corresponding
subspace as specified by the Gate argument to the ket given by v2.
this method is a optimized version to apply a unitary 2x2 matrix with zero
diagonal onto the corresponding
subspace as specified by the Gate argument to the ket given by v2.
this method is an optimized method for applying a general unitary NxN matrix
onto the corresponding subspace as specified by the Gate argument to the ket
given by v2.
class representing a map that generates an infinitesimal 2x2 complex rotation matrix
in dependence of the standard deviation of a Gaussian distribution given as a parameter.
specialized multiplication routine for large Braket objects where the complex
numbers are not instantiated before actually participating in an operation.