tfq.util.get_circuit_symbols

Stay organized with collections Save and categorize content based on your preferences.

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.