Compares gates in the allowed TFQ gate set.
gate_true, gate_deser, atol=1e-05
Gates in TFQ support symbols, numbers or a single product of a real number
and a symbol as their parameters. This function behaves like
cirq.approx_eq specialized for these kinds of gates so that TFQ can
support approximate equality in gates containing symbols.
bool which says if the two gates are approximately equal in the way
If input gates are not of type
If invalid gate types are provided.