We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f5d6c commit 2a98e55Copy full SHA for 2a98e55
src/bloqade/analysis/validation/nocloning/analysis.py
@@ -160,15 +160,13 @@ def eval_stmt_fallback(
160
if len(unknown_arg_names) > 1:
161
condition = f", when {args_str}"
162
else:
163
- condition = f", with unknown index {args_str}"
+ condition = f", with unknown argument {args_str}"
164
165
self._validation_errors.append(
166
PotentialQubitValidationError(stmt, gate_name, condition)
167
)
168
169
- usage = May(
170
- violations=frozenset([f"Unknown qubits at {gate_name} Gate{condition}"])
171
- )
+ usage = May(violations=frozenset([f"{gate_name} Gate{condition}"]))
172
173
usage = Bottom()
174
0 commit comments