-
Notifications
You must be signed in to change notification settings - Fork 50
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
[Costs] Bloq & Gate counts #958
[Costs] Bloq & Gate counts #958
Conversation
@@ -99,4 +100,7 @@ def test_hamiltonian_simulation_by_gqsp( | |||
|
|||
def test_hamiltonian_simulation_by_gqsp_t_complexity(): | |||
hubbard_time_evolution_by_gqsp = _hubbard_time_evolution_by_gqsp.make() | |||
_ = hubbard_time_evolution_by_gqsp.t_complexity() | |||
t_comp = hubbard_time_evolution_by_gqsp.t_complexity() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you just picked this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
somewhat arbitrary -- seemed like a reasonably complicated example
I've gone through all the bloq examples and validated that each bloq_example with a non-erroring This PR does not include rotations! Will do in a follow-up |
This introduces two
CostKey
s to let you count gates in different ways. Part of #899BloqCount
takes a sequence of bloqs to count (based on equality)QECGatesCost
counts the common "leaf bloqs" we care about, cc More Leaf Bloqs #873