Skip to content

Commit

Permalink
add release note
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinston committed Mar 21, 2024
1 parent c442fe3 commit ff9b4ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions releasenotes/notes/fix_soft_compare-3f4148aab3a4606b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
The method :meth:`qiskit.instruction.Instruction.soft_compare` is meant to compare whether two gates match in their name, number of qubits, number of clbits, and the number of parameters. However, there was a typo where it would not check the number of qubits and number of clbits for a match. This resolves the apparent typo.

0 comments on commit ff9b4ed

Please sign in to comment.