Depending on the definition of parameters I can remove or keep the boarders of an operation.
For example, this code
\begin{quantikz}
&\gate[style={red!10}]{X} & \measure[style={fill=gray!10}]{Z}
\end{quantikz}
creates this
You can see that the \gate
X has no boarders while \measure
has.
If I try to apply the same criteria used for \gate
. Namely
\begin{quantikz}
&\gate[style={red!10}]{X} & \measure[style={gray!10}]{Z}
\end{quantikz}
This is what happens
The Z disappeared.
Am I doing something wrong? How can I overcome this?
draw=none
.gray!10
you just define the color of everything, fill, stroke and text to begray!10
, so the Z is not visible against the background in the same color, but it is still there. Withdraw=...
you can set the color for the border of a node, withtext=...
you can set the color for the text.