jcmgray / quimb

A python library for quantum information and many-body calculations including tensor networks.
http://quimb.readthedocs.io
Other
455 stars 107 forks source link

Simulating noisy circuit #182

Open yuxuanzhang1995 opened 1 year ago

yuxuanzhang1995 commented 1 year ago

What is your issue?

Hi Johnnie,

So if I have an optimized TN, is there a fast way to perform noisy simulation on each gate?

Best, YZ

jcmgray commented 1 year ago

Hi @yuxuanzhang1995, there are not built in ways to do this, so it just depends what kind of noise you want? You could for instance add some unitary noise simply by making the parameters noisy.

yuxuanzhang1995 commented 1 year ago

That makes sense. I was thinking more of physical-related noises like depolarizing channel or dephasing channels. What you suggested make sense too, I could maybe add a small random matrix as noise to the optimized unitaries and then re-normalize them?