I've found that having only the standard \qw wire for input to multigates is a little restrictive, so I created \cghost{} and \nghost{} to have a classical input or no input.
Maybe this feature could be inplemented as an option of \ghost{}. Also I thought to use \ghost*{} instead of \nghost{} but didn't want to change too much your code.
I know classical input to a quantum gate can sound strange, but at least in optics it happens.
Hi,
I've found that having only the standard
\qw
wire for input to multigates is a little restrictive, so I created\cghost{}
and\nghost{}
to have a classical input or no input.Maybe this feature could be inplemented as an option of
\ghost{}
. Also I thought to use\ghost*{}
instead of\nghost{}
but didn't want to change too much your code.I know classical input to a quantum gate can sound strange, but at least in optics it happens.
Here is the exemple I've put in the doc:
And many thanks for that nice package, Élie