答案1
也许您想开始尝试一下这个问题并提出一些更具体的问题?
\documentclass[tikz]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(1,0) node[twoportshape, t=S'] (ss) {}
(2,1.5) node[twoportshape, t=S] (s) {}
(3,0) node[twoportshape, t=G] (g) {}
(4,1.5) node[twoportshape, t=G] (gg) {}
(3,3) node[twoportshape, t=R] (r) {}
(8,2.25) node[and port] (and) {}
(12,0.75) node[xor port] (xor) {}
(and.out) to[multiwire=$\rho$] ++ (1,0) -| (xor.in 1)
(g.right) to[multiwire=$\rho$] ++ (1,0) -| (xor.in 2)
(r.right) to[multiwire=$\rho$] ++ (1,0) -| (and.in 1)
(gg.right) to[multiwire=$\rho$] ++ (1,0) -| (and.in 2)
(s.right) to[multiwire=$n$] ++ (1,0) -- (gg.left)
(ss.right) to[multiwire=$n$] ++ (1,0) -- (g.left)
(0,3)node[left]{b} -- (r.left)
(0,1.5)node[left]{0} -- (s.left)
(0,0)node[left]{0} -- (ss.left)
(xor.out) to[multiwire=$\rho$] ++ (1,0)node[right]{c};
\end{circuitikz}
\end{document}