|
| using | qasm::ArgumentType = std::variant<std::string, IndexedId> |
| using | qasm::BarrierType = MixedListType |
| using | qasm::CondOpType = boost::fusion::vector<std::string, int, QopType> |
| using | qasm::CXGateCallType = boost::fusion::vector<ArgumentType, ArgumentType> |
| using | qasm::DeclarationRegistry = std::unordered_map<std::string, DeclarationKind> |
| using | qasm::ExpGatecallType |
| using | qasm::GatecallType = std::variant<SimpleGatecallType, ExpGatecallType> |
| using | qasm::GateDeclOpType = std::variant<UopType, SimpleBarrierType> |
| using | qasm::GateDeclType |
| using | qasm::InputDeclType |
| using | qasm::MeasureType = boost::fusion::vector<ArgumentType, ArgumentType> |
| using | qasm::MixedListType = std::vector<ArgumentType> |
| using | qasm::ModifiedUopType = boost::fusion::vector<ModifierListType, UopType> |
| using | qasm::ModifierListType = std::vector<ModifierType> |
| using | qasm::OpaqueDeclType |
| using | qasm::ProgramType |
| using | qasm::QopType = StatementType |
| using | qasm::RegisterMap = std::unordered_map<std::string, IndexedId> |
| using | qasm::ResetType = ArgumentType |
| using | qasm::SimpleBarrierType = std::vector<std::string> |
| using | qasm::SimpleExpType = std::variant<double, int, std::string> |
| using | qasm::SimpleGatecallType = boost::fusion::vector<std::string, MixedListType> |
| using | qasm::StatementType = QoperationStatement |
| using | qasm::UGateCallType |
| using | qasm::UopType = std::variant<UGateCallType, CXGateCallType, GatecallType> |
|
| std::string_view | qasm::DeclarationKindName (DeclarationKind kind) |
| void | qasm::RegisterDeclaration (DeclarationRegistry &declarations, const std::string &name, DeclarationKind kind) |
| void | qasm::RequireMatchingRegisterWidths (const std::vector< int > &left, const std::vector< int > &right, std::string_view operation) |
| std::vector< int > | qasm::ResolveRegisterOperand (const ArgumentType &argument, const RegisterMap ®isters, std::string_view kind) |
| double | qasm::ValidateInputBinding (const std::string &name, const std::string &type, const boost::optional< int > &width, double value) |
| void | qasm::ValidateInputDeclaration (const std::string &name, const std::string &type, const boost::optional< int > &width) |
| int | qasm::ValidateRegisterAllocation (const IndexedId &id, int currentSize, std::string_view kind) |
- Version
- 1.0
DESCRIPTION
Classes for the qasm parser and interpreter, dealing with the simple declarations and operations.
It's supposed to support only open qasm 2.0.
Definition in file SimpleOps.h.