-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Pauli noise support to sparse simulator (#1971)
Added support for parametric Pauli noise to sparce simulator. (px, py, pz) can be provided. Sparse simulator will apply X, Y or Z gates after each gate and before each measurement with corresponding probability. - This allows for simulation with parametric Pauli noise: bit flip, phase flip, depolarizing, etc. - For two-qubit gates noise is applied to each qubit. - Allocation and service functions do not apply noise. Idle (Identity) gate is also noiseless. - Reset applies noise. - Added tests. - Released qubits are no longer checked to be in zero state by consumers of the backend via calling qubit_is_zero. Instead, qubit_release returns Boolean. True indicates, that the release was valid - the qubit was in a zero state in a noiseless simulation. It will always be true in noisy simulations when the release of a qubit is always valid. - The functionality is not yet exposed outside Rust code. Will come in subsequent PRs. --------- Co-authored-by: Dmitry Vasilevsky <[email protected]>
- Loading branch information
1 parent
5b95d95
commit 04868d7
Showing
8 changed files
with
390 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.