semvec/pypi-packages huggingface dataset:
py2QAN 0.0.3
2QAN is an open source compiler for two-local qubit Hamiltonian simulation algorithms.
Requires Python: >=3.8

# 2QAN

[![PyPI version](https://badge.fury.io/py/py2QAN.svg)](https://badge.fury.io/py/py2QAN)
[![arXiv](https://img.shields.io/badge/arXiv-2108.02099-<COLOR>.svg)](https://arxiv.org/abs/2108.02099)
[![Unitary Fund](https://img.shields.io/badge/Supported%20By-UNITARY%20FUND-brightgreen.svg?style=for-the-badge)](http://unitary.fund)

2QAN is a quantum compiler for 2-local qubit Hamiltonian simulation algorithms. 2QAN uses algorithm-specific routing and scheduling techniques and can target different device topologies, different gate sets (e.g., CNOT/CX, SYC, iSWAP, sqrt_iSWAP, etc.). 

A mapping [algorithm](https://github.com/zeman412/Tabu_Search_QAP_20) based on quadratic assignment problem (QAP) is implemented in 2QAN for small benchmarks.
The QAP mapper could find good qubit initial placements for small circuits, but becomes very slow for large circuits. For fast compilation, especially for circuits with more than 40 qubits, we encourage users to use other different qubit mapping techniques such as the ones in [Qiskit](https://github.com/Qiskit/qiskit-terra/tree/main/qiskit/transpiler/passes/layout) and [tket](https://cqcl.github.io/tket/pytket/api/placement.html).

## Requirements
1. 2QAN is using Qiskit (0.36.0) circuit representation
2. Other required python packages can be found in requirement.txt

## Installation

Py2QAN can be downloaded and installed from [PyPI](https://pypi.org/project/Py2QAN/) with the command:
```
pip install py2qan
```
Note that Py2QAN requires Python 3.


## Example

Check out the examples [here](https://github.com/lllingoo/2QAN/tree/master/tests)


## Attribution

When using 2QAN for research, please cite:
```
@article{lao20212QAN,
  title={{2QAN}: A quantum compiler for 2-local qubit Hamiltonian simulation algorithms},
  author={Lao, Lingling},
  journal={arXiv preprint arXiv:2108.02099},
  year={2021}
}
```
py-js-runner 1.0.0
Execute JavaScript Code From Python.
Keywords: python,javascript,js,runjsfrompython

# JS Runner
Run JavaScript From Python.

# Installing

```
pip3 install py_js_runner
```

# How To Use

## Note

py_js_runner Uses Node.JS To Run JavaScript Code.

So Make Sure Node.JS Is Installed.

## JavaScript
```python
import py_js_runner

# Check If Node.JS Is Installed.

py_js_runner.javascript().check_node() # Gives Error If Not Installed.

# Run JavaScript

py_js_runner.javascript().run("""
// Some JavaScript Comments.
// Blah Blah
// Print Someting
console.log('hello from javascript with python!');

// Some More JavaScript Comments.
// Blah Blah""")
```

# NPM
```python
import py_js_runner

# Check If NPM Is Installed.

py_js_runner.npm().check_npm() # Gives Error If Not Installed.

# Command Line Arguments For NPM

# This Line Will Execute: npm help
py_js_runner.npm().npm_cli("help")

# Check If A NPM Package.
print(py_js_runner.npm().check_if_npm_package()) # Returns Boolean.

# You Can Also Specify Directory To Check If A NPM Package.
print(py_js_runner.npm().check_if_npm_package("./somedirectory"))

# Create NPM Package
py_js_runner.npm().init_npm_package("MY_HELPFUL_PACKAGE_NAME")

# Default Parameters:
# license: str = "MIT"
# author: str = ""
# description: str = ""
# version: str = "1.0.0"
# main: str = "index.js"
# npm_package_path: str = "./"

# Install Packages
py_js_runner.npm().install_packages("nodemon vite")

# Run: npm install
py_js_runner.npm().install()

# Uninstall Packages
py_js_runner.npm().uninstall("nodemon vite")

# Remove NPM Package.
py_js_runner.npm().remove_npm_package() # You Can Specify Path.
```
vulpo 0.5
Homomorphic encryption
Requires Python: >=3.6

# Vulpo cryptography tools kit


## Vulpo's license

````
Vulpo - cryptography tools kit
Copyright (C) 2022 Tabaqui
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
````
spycamera 1.0.0
A small package to record and save a webcamclip
Requires Python: >=3.6

# Spycamera

Spycamera is a small package to record and save a webcamclip. You can download it from
[Github](https://github.com/Official-BReep/spycam)
too.

##Installation
Install Opencv:
```
pip install opencv-python
```

Install spycamera
```
pip install spycamera==1.0.0
```
Create a python file

Import Package:
```
from spycam import record
```

Write Line:
```
record.webcam(duration_in_seconds, filepath, <False>)
```

Example 1:
```
from spycam import record

record.webcam(10, "video.avi", False)


> 10 seconds video as video.avi in Project folder without Output
```

Example 2:
```
from spycam import record
import os

os.mkdir("video") #Create a folder called video in your Projects folder
record.webcam(30, "./video/video.avi") # 30 seconds Video called video.avi in created video folder
```