Skip to content

Commit cbf71d0

Browse files
authored
Update pennylane_aqt/device.py
1 parent 768e0f8 commit cbf71d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pennylane_aqt/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def batch_transform(self, circuit):
109109
raise ValueError(
110110
"The aqt.base_device device does not support analytic expectation values"
111111
)
112-
return super().expand_fn(circuit, max_expansion)
112+
return super().batch_transform(circuit)
113113

114114
def reset(self):
115115
"""Reset the device and reload configurations."""

0 commit comments

Comments
 (0)