-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implemented gates and single entry point (#7)
* Added Lean template. Implemented AssertIsDifferent * Added support for chained ops * Added du, neg, mac * Refactored Neg, MulAcc, Div, DivUnchecked, Inverse * Added Boolean gates and refactoring * Added lookup and select ops. Added support for callback format * Added cmp and le * Moved Lean files to other repo. Added function to create Proj array * Added ConstantValue implementation * Prototype single entry point * Added support for vector arguments * Added ToBinary and FromBinary. Improved panic messages * Fixed implicit parameter for from_binary. Added optional gate explicit type. * Refactored tests and added second example * Added field in code extractor * Fixed dependency file * Replaced Bit with F * Improved interface to initialise circuit * Added readme * Streamlined user API and using NewSchema to identify fields to initialise * Added support for nested arrays as circuit fields
- Loading branch information
Showing
5 changed files
with
430 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.