Skip to content

Commit 90cdc09

Browse files
committed
Merge remote-tracking branch 'mine/2025-11/cirqnumpy' into 2025-11/cirqnumpy
2 parents 8668e56 + 78e0295 commit 90cdc09

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

qualtran/bloqs/mcmt/and_bloq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def build_call_graph(self, ssa: 'SympySymbolAllocator') -> 'BloqCountDictT':
361361
or is_symbolic(*self.concrete_cvs)
362362
or (self.n_ctrls == sum(self.concrete_cvs))
363363
):
364-
cost[XGate()] = 2 * (self.n_ctrls - sum(self.concrete_cvs))
364+
cost[XGate()] = 2 * (self.n_ctrls - sum(int(cv) for cv in self.concrete_cvs))
365365

366366
return cost
367367

qualtran/bloqs/phase_estimation/qubitization_qpe_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def should_decompose(binst):
152152

153153

154154
@pytest.mark.notebook
155-
def test_phase_estimation_of_qubitized_hubbard_model():
155+
def test_phase_estimation_of_qubitized_hubbard_model_notebook():
156156
execute_notebook('phase_estimation_of_quantum_walk')
157157

158158

0 commit comments

Comments
 (0)