Skip to content

Commit

Permalink
fix(tests): redundant pytest importskip
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaoyilunnn committed Jul 22, 2024
1 parent 0b5035d commit e95e9b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/quafu/algorithms/qnn_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def forward(self, features):
# yield nn.Parameter(p)


@pytest.importorskip("torch")
class TestLayers:
circ = QuantumCircuit(2)
theta = [Parameter(f"theta_{i}", 0.1) for i in range(3)]
Expand Down

0 comments on commit e95e9b4

Please sign in to comment.