There are many arithmetic operations that can be performed on gates. This makes it easy to create combine existing gates into new gates.
|
|
|
|
|
By extension, arithmetic operations also work with gate matrices:
|
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/SLPexpressions/doc.m2:472:0.