List of all members | Public Member Functions
standard_decomposition Struct Reference

Default gate-wise decomposition. More...

Public Member Functions

void operator() (circuit &circ, const gate &g) const
 Functor Operator. More...
 

Detailed Description

Default gate-wise decomposition.

This struct can be used as gate_decomposition_func to assign to the gate_decomposition setting of the quantum_decomposition algorithm.

Author
RevKit
Since
1.0

Member Function Documentation

void operator() ( circuit circ,
const gate g 
) const

Functor Operator.

Decomposes g and appends it to circ

Parameters
circCircuit to be created during decomposition process
gGate to be decomposed
Author
RevKit
Since
1.0

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

Generated on Tue Apr 16 2013 08:12:02 for RevKit by doxygen 1.8.3.1