qp.decomposition.resource_rep¶
- resource_rep(op_type, **params)[source]¶
Binds an operator type with additional resource parameters.
- Parameters:
op_type – the operator class to create a resource representation for.
**params – parameters relevant to the resource estimate of the operator’s decompositions. This should be consistent with
op_type.resource_keys.
- Returns:
a lightweight representation of the operator.
- Return type: