tfq.util.get_circuit_symbols

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.

TypeError If circuit is not of type cirq.Circuit.