cirq.Symbol

class cirq.Symbol(name: str)[source]

A constant plus the runtime value of a parameter with a given key.

name

The non-empty name of a parameter to lookup at runtime and add to the constant offset.

__init__(name: str) → None[source]

Initializes a Symbol with the given name.

Parameters:name – The name of a parameter.

Methods