Module: tfq.util

View source on GitHub

A collection of helper functions that are useful several places in tfq.


exponential(...): Return a Cirq circuit with exponential forms of operators.

get_circuit_symbols(...): Returns a list of the sympy.Symbols that are present in circuit.

get_supported_gates(...): A helper to get the gates supported by tfq.