You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
), f"the interface '{interface}' does not exist in labels.toml"
56
+
), f"the interface '{interface}' does not exist in classifications.toml"
52
57
53
58
54
59
deftest_valid_category(member, categories):
55
60
"""008"""
56
-
assertmember.categoryincategories, "member.group should exist in labels.toml"
61
+
assert (
62
+
member.categoryincategories
63
+
), "member.group should exist in classifications.toml"
57
64
58
65
59
66
deftest_valid_label(member, labels):
60
67
"""009"""
61
68
forlabelinmember.labels:
62
-
assertlabelinlabels, f"the label '{label}' does not exist in labels.toml"
69
+
assert (
70
+
labelinlabels
71
+
), f"the label '{label}' does not exist in classifications.toml"
72
+
73
+
74
+
deftest_005(member, pattern_steps):
75
+
"""All `member.pattern_steps` should exist in https://qisk.it/ecosystem-pattern_steps"""
76
+
ifnotmember.pattern_steps:
77
+
pytest.skip("No Qiskit Pattern step declared")
78
+
forpattern_stepinmember.pattern_steps:
79
+
assert (
80
+
pattern_stepinpattern_steps
81
+
), f"the Qiskit Pattern step '{pattern_step}' does not exist in classifications.toml"
Copy file name to clipboardExpand all lines: resources/checks.toml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,14 @@ description = "If the software depends on Qiskit SDK in some way, there should e
30
30
importance = "CRITICAL"
31
31
checker = "test_general.py::test_Q20"
32
32
33
+
[005]
34
+
title = "Qiskit Pattern steps have to exist"
35
+
description = "All `member.pattern_steps` should exist in https://qisk.it/ecosystem-pattern_steps"
Copy file name to clipboardExpand all lines: resources/classifications.toml
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,6 @@ description = "Translate domain-specific problems into quantum circuits and oper
221
221
name = "Optimize"
222
222
description = "Optimize quantum circuits into ISA circuits (mapping to physical qubits, converting to hardware basis gates, and reducing operations) to maximize success on the target device."
223
223
224
-
225
224
[[pattern_steps]]
226
225
name = "Execute"
227
226
description = "Run the quantum circuits using primitives (such as Estimator or Sampler) to get results."
0 commit comments