Agony5757 / QPanda-lite

A python-native version for pyqpanda. Simple, easy, and transparent.
Apache License 2.0
17 stars 12 forks source link

there is a bug when parser get qubit from a barrier. #27

Closed didaozi closed 10 months ago

didaozi commented 11 months ago

qpandalite/originir/originir_line_parser.py line 103

qubit_indices = [int(q[0]) for q in qubits] --> qubit_indices = [int(q) for q in qubits]

Agony5757 commented 10 months ago

Fixed