Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link out to ParamResolver in resolve_parameters docstring #5699

Merged
merged 1 commit into from Jul 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cirq-core/cirq/protocols/resolve_parameters.py
Expand Up @@ -150,7 +150,7 @@ def resolve_parameters(
Returns:
a gate or operation of the same type, but with all Symbols
replaced with floats or terminal symbols according to the
given ParamResolver. If `val` has no `_resolve_parameters_`
given `cirq.ParamResolver`. If `val` has no `_resolve_parameters_`
method or if it returns NotImplemented, `val` itself is returned.
Note that in some cases, such as when directly resolving a sympy
Symbol, the return type could differ from the input type; however,
Expand Down