View source on GitHub |
A helper to get gates supported by TFQ.
tfq.util.get_supported_gates()
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.