gateutil 0.2.0

The library with basic utilities for GateSim.
Documentation
  • Coverage
  • 100%
    27 out of 27 items documented0 out of 24 items with examples
  • Size
  • Source code size: 632.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.7 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 20s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • matszpk/gateutil
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • matszpk

GateUtil

The library of basic functions that operates on circuits provided by gatesim. This library provide set of functions that doing some operations on circuits. Routines provided to make following operations:

  • translate circuits inputs and circuit outputs.
  • assignment to circuits.
  • generate circuit table circuit (with all outputs for all index combinations).
  • fill outputs defined in output map.
  • generate circuits that have assigned values to original inputs.
  • generate optimized circuits that have assigned values to original inputs.
  • generate optimized and deduplicated circuits that have assigned values to original inputs.
  • optimize clause circuit.
  • deduplicate circuit or clause circuit.
  • optimize and deduplicate clause circuit.
  • generate circuit with negated inputs.
  • generate join of two circuits sequentially.
  • generate join of many circuits sequentially.
  • calculate minimal and maximal depth of circuit.
  • calculate minimal and maximal depth and depths for any gate of circuit.
  • generate pipelined circuit.
  • join input or output maps.

Some WARNINGS about using some routines. A optimization and deduplication routines are not completely tested and they can get wrong results in some specific input. They shouldn't be used in deployed software.