Skip to content

Commit 3494f17

Browse files
committed
improve function naming
1 parent 490949b commit 3494f17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/catalyst/python_interface/visualization/construct_circuit_dag.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _state_op(self, op: quantum.StateOp) -> None:
157157
self._node_uid_counter += 1
158158

159159
@_visit_operation.register
160-
def _statistical_measurement_ops(
160+
def _expval_and_var_ops(
161161
self,
162162
op: quantum.ExpvalOp | quantum.VarianceOp,
163163
) -> None:
@@ -179,7 +179,7 @@ def _statistical_measurement_ops(
179179
self._node_uid_counter += 1
180180

181181
@_visit_operation.register
182-
def _visit_sample_and_probs_ops(
182+
def _sample_counts_probs_ops(
183183
self,
184184
op: quantum.SampleOp | quantum.ProbsOp,
185185
) -> None:

0 commit comments

Comments
 (0)