qiskit.circuit.EquivalenceLibrary.has_entry¶
- EquivalenceLibrary.has_entry(gate)[Quellcode]¶
Check if a library contains any decompositions for gate.
- Parameter
gate (Gate) – A Gate instance.
- Rückgabe
- True if gate has a known decomposition in the library.
False otherwise.
- Rückgabetyp
Bool