We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c37f95 commit 38ebedbCopy full SHA for 38ebedb
cirq-core/cirq/transformers/tag_transformers.py
@@ -26,7 +26,7 @@ def index_tags(
26
circuit: 'cirq.AbstractCircuit',
27
*,
28
context: Optional['cirq.TransformerContext'] = None,
29
- target_tags: set[Hashable],
+ target_tags: Optional[set[Hashable]] = None,
30
) -> 'cirq.Circuit':
31
"""Indexes tags in target_tags as tag_0, tag_1, ... per tag.
32
0 commit comments