QuilΒΆ
-
template<typename
Network
>
voidtweedledum
::
write_quil
(Network const &network, std::string const &filename) Writes network in quil format into a file.
- Parameters
network
: A quantum networkfilename
: Filename
-
template<typename
Network
>
voidtweedledum
::
write_quil
(Network const &network, std::ostream &os) Writes network in quil format into output stream.
An overloaded variant exists that writes the network into a file.
- Parameters
network
: A quantum networkos
: Output stream