Quantum Circuit Slicer (QCS)
This repo contains files to add a quantum circuit slicer to Qiksit. The slicer provides some useful functions for debugging quantum circuits.
The circuit slicer includes:
- The addition of the "breakbarrier" object, which acts as a breakpoint for quantum circuits.
- Vslicer function to divide the circuit vertically.
- Hslicer to remove unused qubits in a particular slice.
- Gate tracking when you enter debugging mode by calling the startDebug function.
- Perform queries on a specific gate within a circuit.
Instructions
Installation
To use the circuit slicer, you need to have a working version of Qiskit (version 0.19.6 or higher)
pip install quantum-circuit-slicer
Test
Once the package is installed, try running the file test.py to make sure eveything is installed and working properly, and how to use the slicer.
Release files for quantum-circuit-slicer 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quantum_circuit_slicer-0.0.8.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quantum_circuit_slicer-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / quantum_circuit_slicer-0.0.8.tar.gz
| Download URL | quantum_circuit_slicer-0.0.8.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30d6714773951bd0949cb8f0aa81be4c7dc5f51662db367bbc6b83d94724b4b5
|
|
BLAKE2b-256 checksum How to use checksums |
dbfa8400bbfe35d076e4143655b0adacab7b652207d6367527cd789f82543f45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3
|
Release files / quantum_circuit_slicer-0.0.8-py3-none-any.whl
| Download URL | quantum_circuit_slicer-0.0.8-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39923a858af832c35dd6270c20a3453a4263dcf3af144e5b5eda0e4504b0f440
|
|
BLAKE2b-256 checksum How to use checksums |
50232c2e0ed68deaf251c82a878cf7ad0d4bb287d136ca82caa06099ae3d1b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3
|