3.5.6. qupulse.program.volatile¶
Classes
|
Hashable representation of a volatile program property. |
|
|
|
Not hashable |
Exceptions
This warning is emitted if the requested volatility of a parameter cannot be implemented efficiently by the backend. |
|
This warning is emitted if the volatile part of a program gets modified. |
- exception InefficientVolatility[source]¶
Bases:
RuntimeWarningThis warning is emitted if the requested volatility of a parameter cannot be implemented efficiently by the backend.
- exception VolatileModificationWarning[source]¶
Bases:
InefficientVolatilityThis warning is emitted if the volatile part of a program gets modified. This might imply that the volatile parameter cannot be changed anymore.
- class VolatileProperty(expression: Expression, dependencies: Mapping[str, Expression])¶
Bases:
tupleHashable representation of a volatile program property. It does not contain the concrete value. Using the dependencies attribute to calculate the value might yield unexpected results.
Create new instance of VolatileProperty(expression, dependencies)
- dependencies: Mapping[str, Expression]¶
Alias for field number 1
- expression: Expression¶
Alias for field number 0
- class VolatileRepetitionCount(expression: ExpressionScalar, scope: Scope)[source]¶
Bases:
VolatileValue
- class VolatileValue(expression: ExpressionScalar, scope: Scope)[source]¶
Bases:
objectNot hashable
- property volatile_property: VolatileProperty¶