-
Notifications
You must be signed in to change notification settings - Fork 89
Noisy simulation in Q# #504
Description
Please describe what you would like the feature to accomplish.
I would like a way to simulate real/noisy hardware in Q#.
Describe the solution you'd like
I am working now full time developing Mitiq, a Python library for doing error mitigation techniques for quantum programs. The reason we have gone with Python and other tools like Circ and Qiskit to date is because they have built-in ways to simulate the noise we are trying to mitigate. I am running into other situations where I would rather try and implement these techniques in Q# (one such being compiling to QIR) but without a noisy simulator it would be pretty much impossible.
Describe alternatives you've considered
I could try and write my own noisy simulator backend for Q#, or try and hook it up to other existing noisy simulators via the simulator interface. This is a well explored area and basically I don't want to duplicate effort on.
Additional context
The reason doing this in Q# is really interesting to me is that I need to design experiments where sending an entire program that can generate random characterization gate sequences on the device is essential. I am constantly fighting other APIs where I can only send individual quantum circuits and are thus limited in how much data I can get per request.