Skip to content

Commit

Permalink
fix: a typo in tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaoyilunnn committed Mar 31, 2024
1 parent 94b3087 commit cd881d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quafu/tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def send(
from quafu import get_version

version = get_version()
if qc.num > self.backend.qubt_num:
if qc.num > self.backend.qubit_num:
raise CircuitError(
"The qubit number %d is too large for backend %s which has %d qubits"
% (qc.num, self.backend.name, self.backend.qubit_num)
Expand Down

0 comments on commit cd881d2

Please sign in to comment.