Write to qpic file format

Warning

doxygenfunction: Unable to resolve multiple matches for function “tweedledum::write_qpic” with arguments (Network const&, std::string const&, bool) in doxygen xml output for project “tweedledum” from directory: doxyxml/xml. Potential matches:

- template<typename Network>
  void tweedledum::write_qpic(Network const&, std::ostream&, bool)
- template<typename Network>
  void tweedledum::write_qpic(Network const&, std::string_view, bool)
template<typename Network>
void tweedledum::write_qpic(Network const &network, std::ostream &os, bool color_marked_gates = false)

Writes network in qpic format into output stream.

An overloaded variant exists that writes the network into a file.

Parameters
  • network: A quantum network

  • os: Output stream

  • color_marked_gates: Flag to draw marked nodes in red