Skip to main content

GitHub release PyPI - Python Version CI

CI CI

Perceval_Interop

Perceval_Interop is designed to facilitate a bridge between Perceval, a photonic quantum computing framework, and several leading gate-based frameworks through a python API.

It provides converters to translate gate-based quantum circuits from various frameworks into Perceval's linear optical circuits using dual rail encoding. Currently supported frameworks include:

  • Quantum gate circuit conversion from Qiskit, myQLM, and cQASM.
  • Quantum states conversion from Qutip and Qiskit.

Installation

Perceval-Interop requires:

  • Python between 3.9 and 3.13

PIP

We recommend installing it with pip, and selecting any interop package such as qiskit, qutip, myqlm, or cqasm:

pip install --upgrade pip
pip install perceval-interop[qiskit] #install qiskit and seaborn
pip install perceval-interop[qutip] #install qutip
pip install perceval-interop[myqlm] #install myqlm
pip install perceval-interop[cqasm] #install cqasm
pip install perceval-interop[all] #install all above

GitHub

git clone https://github.com/quandela/Perceval

then to install Perceval:

pip install .

Or for developers:

pip install -e .

Running tests

Unit tests files are part of the repository in tests/ and can be run with:

pip install -r tests/requirements.txt
pytest

Additionally, you can see a coverage report with the command:

pytest --cov=perceval-interop

Documentation and Forum

Twitter Follow YouTube Channel Subscribers

Metadata

Release files for perceval-interop 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perceval-interop 1.3.0
File Size Uploaded
perceval_interop-1.3.0.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for perceval-interop 1.3.0
File Interpreter ABI Platform
perceval_interop-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 84.8 kB

Release files / perceval_interop-1.3.0.tar.gz

Download URL perceval_interop-1.3.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
68156076d1eb45d58f0dea7db5df8add551b0b0ae953ada68950b1c6b320b8be
BLAKE2b-256 checksum
How to use checksums
aa715ab3d144827c73060a0b0b79fdf12a6cd4db9ed53aa05a4087b0a626911c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / perceval_interop-1.3.0-py3-none-any.whl

Download URL perceval_interop-1.3.0-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
398015bdb1ea79787be141f27cc7b2fe60d02aa0a9fa16d72d3a64fdfc38be59
BLAKE2b-256 checksum
How to use checksums
2dd07902922d77c1f8949286fa4c0e1c85cb776d41fa209192f1d388adf11307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page