Skip to content

Commit 28bc50d

Browse files
committed
Fix docstrings of overloaded wrappers
1 parent 0cf41fd commit 28bc50d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/bloqade/qasm2/_wrappers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ def measure(qarg: Qubit, cbit: Bit) -> None:
7373

7474

7575
@overload
76-
def measure(qarg: QReg, cbit: CReg) -> None:
76+
def measure(qarg: QReg, carg: CReg) -> None:
7777
"""
78-
Measure the qubit `qarg` and store the result in the classical bit `cbit`.
78+
Measure each qubit in the quantum register `qarg` and store the result in the classical register `carg`.
7979
8080
Args:
81-
qarg: The qubit to measure.
82-
cbit: The classical bit to store the result in.
81+
qarg: The quantum register to measure.
82+
carg: The classical bit to store the result in.
8383
"""
8484
...
8585

8686

8787
@wraps(core.Measure)
88-
def measure(*args) -> None: ...
88+
def measure(qarg, carg) -> None: ...
8989

9090

9191
@wraps(uop.CX)

0 commit comments

Comments
 (0)