Function blackbird::parse(std::string&)¶
Defined in File Blackbird.h
Function Documentation¶
-
Program *blackbird::parse(std::string &s_input)¶
Parse Blackbird code contained within a C++
std::stringTo apply the parser directly to a file stream (
std::ifstream), useparse(std::ifstream &stream).- Parameters
s_input – string input
- Returns
an instance of the Blackbird program containing details about the device, gates, and parameters.