Skip to content

Add supported sympy expressions to Google devices documentation #5472

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

Merged
merged 2 commits into from
Jun 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/google/devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,13 @@ Circuits with a repetitive structure can benefit from using
Using this type condenses the serialized representation of the circuit, which
may help for circuits that would otherwise run into size limitations.

### Parameterized Gates

## Specific Device Layouts
Circuits for Google devices could contain gates parameterized by Sympy
expressions, but only a subset of Sympy expression types are supported:
`sympy.Symbol`, `sympy.Add`, `sympy.Mul`, and `sympy.Pow`.

## Specific Device Layouts
The following devices are provided as part of cirq and can help you get your
circuit ready for running on hardware by verifying that you are using
appropriate qubits.
Expand Down