quantum_costs Struct Reference

Calculates the quantum costs. More...

List of all members.

Public Member Functions

unsigned operator() (const gate &g, unsigned lines) const
 Returns the quantum costs for gate g.

Detailed Description

Calculates the quantum costs.

This costs class calculates the quantum costs. Thereby known optimizations for gates with few control lines or for gates with empty lines are considered.

See also:
Cost Functions
Author:
RevKit
Since:
1.0

Member Function Documentation

unsigned operator() ( const gate g,
unsigned  lines 
) const

Returns the quantum costs for gate g.

Parameters:
g Gate
lines Number of lines in the circuit
Returns:
Quantum Costs for gate g
Author:
RevKit
Since:
1.0

The documentation for this struct was generated from the following file:

Generated on Fri Jul 2 07:50:42 2010 for by doxygen 1.6.3