target_tags.hpp File Reference

Predefined target type tags for common gate types. More...

Classes

struct  toffoli_tag
 Target Tag for Toffoli gates. More...
struct  fredkin_tag
 Target Tag for Fredkin gates. More...
struct  peres_tag
 Target Tag for Peres gates. More...
struct  v_tag
 Target Tag for V gates. More...
struct  vplus_tag
 Target Tag for V+ gates. More...
struct  module_tag
 Target Tag for Modules. More...

Namespaces

namespace  revkit
 

Main namespace.


Functions

template<typename T >
bool is_type (const boost::any &operand)
 Compares type of a boost::any variable.
bool same_type (const gate &g1, const gate &g2)
 Checks if two gates have the same type.
bool is_toffoli (const gate &g)
 Returns whether a gate is a Toffoli gate.
bool is_fredkin (const gate &g)
 Returns whether a gate is a Fredkin gate.
bool is_peres (const gate &g)
 Returns whether a gate is a Peres gate.
bool is_v (const gate &g)
 Returns whether a gate is a V gate.
bool is_vplus (const gate &g)
 Returns whether a gate is a V+ gate.
bool is_module (const gate &g)
 Returns whether a gate is a module.

Detailed Description

Predefined target type tags for common gate types.

See also:
Target Tags

Generated on Tue Dec 21 2010 21:52:13 for RevKit by doxygen 1.7.1