Function blackbird::parse(std::string&)

Function Documentation

Program *blackbird::parse(std::string &s_input)

Parse Blackbird code contained within a C++ std::string

To apply the parser directly to a file stream (std::ifstream), use parse(std::ifstream &stream).

Return
an instance of the Blackbird program containing details about the device, gates, and parameters.
Parameters
  • s_input: string input