Skip to content

Adding cirq util tests on a suite random circuits + some refactors. #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/bloqade/cirq_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
from .parallelize import parallelize as parallelize
from .parallelize import (
parallelize as parallelize,
no_similarity as no_similarity,
auto_similarity as auto_similarity,
block_similarity as block_similarity,
moment_similarity as moment_similarity,
)
2 changes: 1 addition & 1 deletion src/bloqade/cirq_utils/lineprog.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __rmul__(self, factor: float | int) -> "Expression":
return self.__mul__(factor)


class Solution(dict): ...
class Solution(dict[Variable, float]): ...


@dataclasses.dataclass(frozen=False)
Expand Down
Loading