Session7中门电路转化问题 #65
Answered
by
crazysnut
miles-six
asked this question in
Q&A(提问题在隔壁~)
-
在session7中,在电路中有意将加法门转化成了乘法门,这样转化的原因是什么呢 |
Beta Was this translation helpful? Give feedback.
Answered by
crazysnut
Mar 17, 2023
Replies: 1 comment
-
我的理解是所有的门需要转化为R1CS的形式,即
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Demian101
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我的理解是所有的门需要转化为R1CS的形式,即
$$L*R=O$$
所以对于加法门,可以有两种处理方式
对于Tonglai老师上课的例子,gate2和gate3也可以被优化成: