Skip to content

Commit a5c2e5b

Browse files
committed
typo
1 parent e3ecca4 commit a5c2e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorcircuit/quditcircuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _set_dim(self, dim: int) -> None:
9292
if not isinstance(dim, int) or dim <= 2:
9393
raise ValueError(
9494
f"QuditCircuit is only for qudits (dim>=3). "
95-
f"You passed dim={dim}. For qudits, please use `Circuit` instead."
95+
f"You passed dim={dim}. For qubits, please use `Circuit` instead."
9696
)
9797
# Require integer d>=2; current string-encoded IO supports d<=36 (0-9A-Z digits).
9898
if dim > 36:

0 commit comments

Comments
 (0)