QCOR
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
qcor::internal::PassManager Class Reference

Public Member Functions

 PassManager (int level, const std::vector< int > &qubitMap={}, const std::string &placementName="")
 
void applyPlacement (std::shared_ptr< CompositeInstruction > program) const
 
std::vector< PassStatoptimize (std::shared_ptr< CompositeInstruction > program) const
 

Static Public Member Functions

static PassStat runPass (const std::string &passName, std::shared_ptr< CompositeInstruction > program)
 

Static Public Attributes

static constexpr const char * DEFAULT_PLACEMENT = "swap-shortest-path"
 
static const constexpr char *const LEVEL1_PASSES []
 
static const constexpr char *const LEVEL2_PASSES []
 

Member Data Documentation

◆ LEVEL1_PASSES

const constexpr char* const qcor::internal::PassManager::LEVEL1_PASSES[]
staticconstexpr
Initial value:
= {
"rotation-folding",
"single-qubit-gate-merging",
"circuit-optimizer",
}

◆ LEVEL2_PASSES

const constexpr char* const qcor::internal::PassManager::LEVEL2_PASSES[]
staticconstexpr
Initial value:
= {
"rotation-folding",
"single-qubit-gate-merging",
"circuit-optimizer",
"two-qubit-block-merging",
"single-qubit-gate-merging",
"circuit-optimizer",
}

The documentation for this class was generated from the following files: