Skip to main content

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:

  1. The addition of the "breakbarrier" object, which acts as a breakpoint for quantum circuits.
  2. Vslicer function to divide the circuit vertically.
  3. Hslicer to remove unused qubits in a particular slice.
  4. Gate tracking when you enter debugging mode by calling the startDebug function.
  5. 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

quantum_circuit_slicer-0.0.6.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantum_circuit_slicer-0.0.6-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file quantum_circuit_slicer-0.0.6.tar.gz.

File metadata

  • Download URL: quantum_circuit_slicer-0.0.6.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for quantum_circuit_slicer-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b6ceda0c699f4daeba5e1dc3b3a96311718e17b1933e0ed1e402c14bbf225efd
MD5 a449091a5076eee31f059293c7749dee
BLAKE2b-256 ef752d91b867b1b0488ef4ff36fef9b62bbc633db3245dada8109d5fcdbdfbc9

See more details on using hashes here.

File details

Details for the file quantum_circuit_slicer-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: quantum_circuit_slicer-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for quantum_circuit_slicer-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b2a9050dad92b04484d4ca497aac4b684e9a9e9bf32f5ebe8e915ca8d601846c
MD5 da6bfe03e0ce6e3e7837aa38e42b794e
BLAKE2b-256 04780406552f0ee19e8fa255865ef4e119e733f9c67bea4cf4529248ae1ff555

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page