Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
anurudhp committed Jul 14, 2024
1 parent 2d3183c commit 8f23f29
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions qualtran/bloqs/mcmt/ctrl_spec_activation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,3 @@ def test_examples(bloq_autotester, example):
def test_raises_for_single_qubit_controls(ctrl_spec: CtrlSpec):
with pytest.raises(ValueError):
_ = CtrlSpecActivation(ctrl_spec)


@pytest.mark.parametrize("cvs", [np.array(1), np.ones(1), np.ones(2), np.ones((2, 2))])
def test_ctrl(cvs):
bloq = CtrlSpecActivation(CtrlSpec(QBit(), np.asarray(cvs, dtype=int)))
cbloq = bloq.decompose_bloq()
print(cbloq)

0 comments on commit 8f23f29

Please sign in to comment.