tfq.util.get_circuit_symbols

View source on GitHub

Returns a list of the sympy.Symbols that are present in circuit.

circuit A cirq.Circuit object.

Python list containing the symbols found in the circuit.