You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a cli tool in the qlasskit/tools package called py2bexp that receives a python script (file or stdin) in input and outputs bool expressions. The python script should contain at least one qlassf function.
If not specified by --input-file/-i, read from stdin (-).
If not specified by --entrypoint/-e, func_name is the last qlassf defined.
If not specified by --output/-o, output to stdout
Add a parameter [-f/--form] for specifying the expression form (support all sympy: anf, cnf, dnf, nnf
Create a cli tool in the
qlasskit/tools
package calledpy2bexp
that receives a python script (file or stdin) in input and outputs bool expressions. The python script should contain at least one qlassf function.py2bexp -i pyfile [-e func_name] -o file
Provide also:
-h\--help
for usage-v\--version
for qlasskit versionRequirements:- Code should be placed on
qlasskit/tools
argparse
for argument parsingqlasskit.tools.utils
for getting qlassfs from file / stringtest_tools.py
Please read CONTRIBUTING.md before contributing.
The text was updated successfully, but these errors were encountered: