qml.devices.capabilities.ExecutionCondition¶
- class ExecutionCondition(value)[source]¶
Bases:
enum.Enum
The constraint on the support of something.
Attributes
If the operator or measurement process is only supported with finite shots.
If the operator or measurement process is only supported in analytic execution.
If the composite operator is supported only when its terms commute.
- FINITE_SHOTS_ONLY = 'finiteshots'¶
If the operator or measurement process is only supported with finite shots.
- ANALYTIC_MODE_ONLY = 'analytic'¶
If the operator or measurement process is only supported in analytic execution.
- TERMS_MUST_COMMUTE = 'terms-commute'¶
If the composite operator is supported only when its terms commute.
code/api/pennylane.devices.capabilities.ExecutionCondition
Download Python script
Download Notebook
View on GitHub