- Target.get_non_global_operation_names(strict_direction=False)[código fonte]¶
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).
strict_direction (bool) – If set to
Truethe multi-qubit operations considered as non-global respect the strict direction (or order of qubits in the qargs is signifcant). For example, if
cxis defined on
ecris defined over
(1, 0)by default neither would be considered non-global, but if
ecrwould be returned.
A list of operation names for operations that aren’t global in this target
- Tipo de retorno