A circuit slicer addition to Qiskit to help developers with debugging
Project description
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.
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
Built Distribution
Close
Hashes for quantum_circuit_slicer-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d6714773951bd0949cb8f0aa81be4c7dc5f51662db367bbc6b83d94724b4b5 |
|
MD5 | a67021c2e082239755267a72ee232fac |
|
BLAKE2b-256 | dbfa8400bbfe35d076e4143655b0adacab7b652207d6367527cd789f82543f45 |
Close
Hashes for quantum_circuit_slicer-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39923a858af832c35dd6270c20a3453a4263dcf3af144e5b5eda0e4504b0f440 |
|
MD5 | c50b8e3208e6ef78b29285f3cec8121c |
|
BLAKE2b-256 | 50232c2e0ed68deaf251c82a878cf7ad0d4bb287d136ca82caa06099ae3d1b1c |