Skip to content

Commit

Permalink
Fix: Use new gates infrastructure (Qiskit#12459)
Browse files Browse the repository at this point in the history
- Create custom enum to collect either a `NormalOperation` or a `VariableOperation` depending on what is needed.
- Add a rust native `is_instruction_supported` method to check whether a Target supports a certain instruction.
- Make conversion methods from `circuit_instruction.rs` public.
- Add comparison methods for `Param` in `operations.rs`
- Remove need for isclass method in rustwise `add_instruction`
- Other tweaks and fixes.
  • Loading branch information
raynelfss committed Jun 14, 2024
1 parent 0fd4316 commit 529128a
Show file tree
Hide file tree
Showing 4 changed files with 333 additions and 278 deletions.
Loading

0 comments on commit 529128a

Please sign in to comment.