View source on GitHub |
Returns a list of the sympy.Symbols that are present in circuit
.
tfq.util.get_circuit_symbols(
circuit
)
Args | |
---|---|
circuit
|
A cirq.Circuit object.
|
Returns | |
---|---|
Python list containing the symbols found in the circuit.
|
Raises | |
---|---|
TypeError
|
If circuit is not of type cirq.Circuit .
|