Skip to content

Commit

Permalink
Change to optimize_for_target_gateset in docs (quantumlib#6658)
Browse files Browse the repository at this point in the history
- This doc had an incorrect name for the function.
Changed to the correct one.
  • Loading branch information
dstrain115 authored Jul 3, 2024
1 parent 5dafac3 commit 947e1ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def transformer_with_kwargs(
class CompilationTargetGateset(ops.Gateset, metaclass=abc.ABCMeta):
"""Abstract base class to create gatesets that can be used as targets for compilation.
An instance of this type can be passed to transformers like `cirq.convert_to_target_gateset`,
An instance of this type can be passed to transformers like `cirq.optimize_for_target_gateset`,
which can transform any given circuit to contain gates accepted by this gateset.
"""

Expand Down

0 comments on commit 947e1ff

Please sign in to comment.