diff --git a/bqskit/passes/processing/treescan.py b/bqskit/passes/processing/treescan.py index 71ff203c..4f888958 100644 --- a/bqskit/passes/processing/treescan.py +++ b/bqskit/passes/processing/treescan.py @@ -148,9 +148,9 @@ def get_tree_circs( of operations to be considered for deletion. Returns: - A list of 2^(`tree_depth`) - 1 circuits that remove up - to `tree_depth` operations. The circuits are sorted by - the number of operations removed. + list[Circuit]: A list of 2^(`tree_depth`) - 1 circuits + that remove up to `tree_depth` operations. The circuits + are sorted by the number of operations removed. """ all_circs = [circuit_copy.copy()] for cycle, op in cycle_and_ops: