Skip to content

PyQrack Exception: ForceM with probability of 0. #169

@weinbe58

Description

@weinbe58

This is a bug that is very hard to reproduce. It seems to happen randomly when executing the noise model via interpretation.

The fix is very simple, do not use QrackSimulator.force_m when an atom is lost. We do not need to do this anymore because in measurement we already check the state of the atom when measuring. Instead of using force_m we should just do a regular measurement the qubit.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpyqrackissues related to pyqrack target or upstream pyqrack

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions