Skip to content

Commit 947e1ff

Browse files
authored
Change to optimize_for_target_gateset in docs (quantumlib#6658)
- This doc had an incorrect name for the function. Changed to the correct one.
1 parent 5dafac3 commit 947e1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq/transformers/target_gatesets/compilation_target_gateset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def transformer_with_kwargs(
7676
class CompilationTargetGateset(ops.Gateset, metaclass=abc.ABCMeta):
7777
"""Abstract base class to create gatesets that can be used as targets for compilation.
7878
79-
An instance of this type can be passed to transformers like `cirq.convert_to_target_gateset`,
79+
An instance of this type can be passed to transformers like `cirq.optimize_for_target_gateset`,
8080
which can transform any given circuit to contain gates accepted by this gateset.
8181
"""
8282

0 commit comments

Comments
 (0)