Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfq.util.get_circuit_symbols

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.