There might be some issues in the NoiseModelTQ class. And provided a potential fix to it. #108
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Hanrui,
In this open issue: #104 (comment), I mentioned that the profiling of sampling Pauli error gates is not what I expected.
In the old code, I mostly see Pauli Z errors sampled for sx gate, and a few Pauli Z errors sampled for cx gate. What should be like is that 1) the number of errors for double qubit errors (cx) are orders of magnitude higher than the number of errors for single qubit gates (sx); and 2) the number of Pauli X, Y, Z errors are kind of even.
I figured out that there might be some issues in the NoiseModelTQ class, and fixed them (mostly, may still have issues). Now the profiling of Pauli error gates is close to what I expect. An example of the current Pauli errors sampled is shown below (factor=1, no need to increase factor to a larger number):
References:
Thanks,
Caitao