This PR adds the gatelayer and appendlayer! functions to replace the hadamardlayer[!] and related functions.
It also renames randomquantumcircuit to randomcircuit.
I still would like to replace twoqubitlayer! with a fancier version of appendlayer!, such as appendlayer!(gates, gatename, bonds; nqubit = 2), but that is not implemented yet.
This PR adds the
gatelayer
andappendlayer!
functions to replace thehadamardlayer[!]
and related functions.It also renames
randomquantumcircuit
torandomcircuit
.I still would like to replace
twoqubitlayer!
with a fancier version ofappendlayer!
, such asappendlayer!(gates, gatename, bonds; nqubit = 2)
, but that is not implemented yet.