Make sure you have tests for the new code and that test passes (run tox)
Tests added and pass locally.
format added code by black -l 120 <filename>
Done
Then, please fill in below:
Context (if applicable):
Density matrix backend
Description of the change:
Modified the implementation of the 2-qubit depolarising channel. Old version was just the tensor product channel of two single-qubit depolarising channels. The code and the tests are modified accordingly. Old analytical results for the tests left as comments just in case.
Added methods to create all tensor Pauli operators and generate random Pauli channels
Before submitting, please check the following:
tox
) Tests added and pass locally.black -l 120 <filename>
DoneThen, please fill in below:
Context (if applicable): Density matrix backend
Description of the change:
Related issue:
31