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