Skip to content

Commit

Permalink
Refactor: HashableVec is now Qarg
Browse files Browse the repository at this point in the history
- Use `PhysicalQubit` instead of u32 for qargs.
- Use a `SmallVec` of size 4 instead of a dynamic Vec.
- Default to using the `Hash()` method embedded in `SmallVec`.
- Add a Default method to easily unwrap Qarg objects.
- Other tweaks and fixes.
  • Loading branch information
raynelfss committed Apr 29, 2024
1 parent d2e2338 commit f34ff4b
Showing 1 changed file with 108 additions and 121 deletions.
Loading

0 comments on commit f34ff4b

Please sign in to comment.