|
libqasm
library for handling cQASM files
|
Namespace for the Instruction class and helper types.
Classes | |
| class | Instruction |
| Representation of an available instruction (also known as gate) in the instruction set, without parameters bound to it (note that libqasm cannot match instructions based on which qubits are used; you'll need to do that on your own). More... | |
Typedefs | |
| using | InstructionRef = tree::Maybe< Instruction > |
| Optional reference to an instruction, used within the semantic tree. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Instruction &insn) |
| Stream << overload for instructions. More... | |
| std::ostream & | operator<< (std::ostream &os, const InstructionRef &insn) |
| Stream << overload for instruction references. More... | |
| using cqasm::v1::instruction::InstructionRef = typedef tree::Maybe<Instruction> |
Optional reference to an instruction, used within the semantic tree.
Definition at line 124 of file cqasm-v1-instruction.hpp.
| std::ostream & cqasm::v1::instruction::operator<< | ( | std::ostream & | os, |
| const Instruction & | insn | ||
| ) |
Stream << overload for instructions.
Definition at line 56 of file cqasm-v1-instruction.cpp.
| std::ostream & cqasm::v1::instruction::operator<< | ( | std::ostream & | os, |
| const InstructionRef & | insn | ||
| ) |
Stream << overload for instruction references.
Definition at line 64 of file cqasm-v1-instruction.cpp.
1.8.13