Skip to content

DM-Sim bug when gates applied between qubit measurements #10

Description

@nkcxliu2

In a quantum circuit or a qasm file, when quantum measurements of qubits that are no longer in use occur before quantum gates on other qubits, the dm-sim calculation gets incorrect results.

For instance, the following operation sequence will cause this problem.

measure q[1] -> c[1];
sx q[2];
measure q[2] -> c[2];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions