Skip to content

Commit

Permalink
Update tasks.py
Browse files Browse the repository at this point in the history
Add ScQ-P156
  • Loading branch information
ScQ-Cloud committed Mar 21, 2024
1 parent 4a64e4b commit 854a47a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quafu/tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def send(
% (qc.num, self.backend.name, self.backend.qubit_num)
)

self.check_valid_gates(qc)
if not self.backend.name == "ScQ-P156":
self.check_valid_gates(qc)
qc.to_openqasm()
data = {
"qtasm": qc.openqasm,
Expand Down

0 comments on commit 854a47a

Please sign in to comment.