qml.labs.estimator_beta.ops.ch_toffoli_based_resource_decomp¶
- ch_toffoli_based_resource_decomp()[source]¶
Returns a list representing the resources of the
CHoperator.Note
This operation assumes a catalytic T state is available. Users should ensure the cost of constructing such a state has been accounted for.
- Resources:
The resources are derived from Figure 17 in arXiv:2011.03494.
- Returns:
A list of
GateCountobjects, where each object represents a specific quantum gate and the number of times it appears in the decomposition.- Return type:
list[
GateCount]
code/api/api/pennylane.labs.estimator_beta.ops.ch_toffoli_based_resource_decomp
Download Python script
Download Notebook
View on GitHub