Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-cqc committed Jul 20, 2023
1 parent ad33df3 commit 87b4ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytket/tests/circuit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ def test_depth() -> None:
assert c.depth_by_type({OpType.CX, OpType.H}) == 6
assert c.depth_by_type({OpType.CZ, OpType.H}) == 6
assert c.depth_by_type(set()) == 0
assert c.depth_2q_gates() == 6
assert c.depth_2q() == 6


def test_op_dagger_transpose() -> None:
Expand Down
2 changes: 1 addition & 1 deletion tket/test/src/Circuit/test_Circ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ SCENARIO("Test depth_by_type method") {
REQUIRE(circ.depth_by_types({OpType::CX, OpType::CY}) == 2);
}
}
SCENARIO("Test depth_2q_gates method") {
SCENARIO("Test depth_2q method") {
GIVEN("2q OpTypes") {
Circuit circ(3, 1);
circ.add_op<unsigned>(OpType::CX, {0, 1});
Expand Down

0 comments on commit 87b4ac8

Please sign in to comment.