Suppose I have a gate

\begin{bmatrix} 0.91164831+0.39241212j && -0.07144438+0.09902415j \\ -0.07144438+0.09902415j && 0.65985617+0.74140391j \end{bmatrix}

and I want to introduce an error generated by np.random.normal(0,0.001,(2,2)). This noise has to be generated by two parameters: mean and std. The noised gate is not unitary anymore, thus, if to try to add the noised gate to circuit I get an error ExtensionError: 'Input matrix is not unitary.'. How to deal with the random noise introducing to the gates?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.