Skip to content

Commit

Permalink
Cleaned up leftover from previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Aug 1, 2024
1 parent 5062635 commit 4672a5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bqskit/passes/mapping/placement/trivial.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async def run(self, circuit: Circuit, data: PassData) -> None:
model = BasePass.get_model(circuit, data)
data['placement'] = trivial_placement

_logger.info(f'Placed qudits on {data["placement"]}')
_logger.info(f'Placed qudits on {data['placement']}')

# Raise an error if this is not a valid placement
sg = model.coupling_graph.get_subgraph(data['placement'])
Expand Down
2 changes: 1 addition & 1 deletion tests/ir/gates/composed/test_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _recursively_calc_power_grad(
dgn = _recursively_calc_power_grad(g, dg, power - 1)
return g @ dgn + dg @ g.ipower(power - 1)

from bqskit.ir.gates import CRYGate

@given(gates_and_params(), integers(min_value=-10, max_value=10))
def test_power_gate(g_and_p: tuple[Gate, RealVector], power: int) -> None:
gate, params = g_and_p
Expand Down

0 comments on commit 4672a5a

Please sign in to comment.