Skip to content

Stretch capture order should not matter in circuit equality #13998

@kevinhartman

Description

@kevinhartman

Environment

  • Qiskit version: 2.0.0rc
  • Python version: Any
  • Operating system: Any

What is happening?

When circuits with stretch captures are compared, the order of the captures is part of the equality. This should not be the case.

How can we reproduce the issue?

Create two circuits with the same captures, but added in a different order. Observe that they are not equal.

What should happen?

The two circuit should be equal.

Any suggestions?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions