qiskit.transpiler.Target.get_non_global_operation_names¶
- Target.get_non_global_operation_names(strict_direction=False)[fuente]¶
Return the non-global operation names for the target
The non-global operations are those in the target which don’t apply on all qubits (for single qubit operations) or all multiqubit qargs (for multi-qubit operations).
- Parámetros
strict_direction (bool) – If set to
True
the multi-qubit operations considered as non-global respect the strict direction (or order of qubits in the qargs is signifcant). For example, ifcx
is defined on(0, 1)
andecr
is defined over(1, 0)
by default neither would be considered non-global, but ifstrict_direction
is setTrue
bothcx
andecr
would be returned.- Devuelve
A list of operation names for operations that aren’t global in this target
- Tipo del valor devuelto
List[str]