tfq.util.get_supported_gates

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

A helper to get gates supported by TFQ.

Returns a dictionary mapping from supported gate types to the number of qubits each gate operates on.

Any of these gates used in conjuction with the controlled_by function for multi-qubit control are also supported.