Skip to main content

Python bindings for fbool: Boolean function analysis with entanglement, entropy, sensitivity and circuit complexity

Project description

fbool for Python

Python bindings for fbool, a toolkit for analysing Boolean functions through truth tables, partitions, entanglement metrics, sensitivity, spectral properties, certificates, and exact 5-variable circuit data.

from fbool import FBool

f = FBool.majority(5)

print(f.entanglement())
print(f.spectral_entropy())
print(f.minimal_gates())

The package requires Python 3.11 or newer and is backed by the Rust fbool crate.

Documentation: https://edugzlez.github.io/fbool/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbool-0.1.0.tar.gz (13.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fbool-0.1.0-cp311-abi3-win_amd64.whl (6.9 MB view details)

Uploaded CPython 3.11+Windows x86-64

File details

Details for the file fbool-0.1.0.tar.gz.

File metadata

  • Download URL: fbool-0.1.0.tar.gz
  • Upload date:
  • Size: 13.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.6

File hashes

Hashes for fbool-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c162aabefedb2004bf9bdd66d5ab60e6b6059352ef3a6d8adbb2109c1b48df33
MD5 d7952f3f79f4e1d8524eadc16e8f2114
BLAKE2b-256 ef7ad9066c896012f6e0520066164442c8fb920f29d5660e85d886035d8d71db

See more details on using hashes here.

File details

Details for the file fbool-0.1.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: fbool-0.1.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.6

File hashes

Hashes for fbool-0.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c2cd9d80dd1d7f3ea050be3a08c6c17615c9131744ec4d915aadfde453cc9bac
MD5 2bef719e1f28d0ee754ceb4ebc18cc24
BLAKE2b-256 fdbed55db91e27c3b7fdef27d3be25e3e193062ada8a08db3339073b3084c7b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page