Calculates the gate costs. More...
Public Member Functions | |
| cost_t | operator() (const circuit &circ) const |
| Returns the number of gates. More... | |
Calculates the gate costs.
This costs class is basically a wrapper around num_gates() and is given for convenience use with other cost functions.
Returns the number of gates.
| circ | Circuit |
1.8.3.1