Skip to main content

This package was made to perform continous time quantum random walks on domain-specific networks

Project description

QuantumRandomWalk package

This package was built as the final summary assignment for the University of Rhode Island Quantum Computinhg Graduate Certificate by Jose Hernandez. The original project utilized quantum random walks to calculate probability of visit per node with a start node x or probability of edge existence between all possible pair nodes.

The purpose of this package is to allow network scientists to programmatically apply continous time quantum random walks on their own networks without needing signficant quantum preparation or onboarding.m This is alos meant as a begginer-friendly introductionn to quantu circuits which is why every effort has been made to simplify parameters and inputs as much as possible.

Capabilities:

Included Capabilities:

  1. Quantum walk from a single start node evolving outward (e^{-iAt}).
  2. Quantum walk from a single start node evolving inward (e^{iAt}).
  3. Quantum walk from a superposition of all nodes.

Planned Capabilities:

  1. Pre-processing for specific network formats such as Gephi-csv exports
  2. Post-processing utilities for extracting summary statistics and analyzing distributions.

Assumptions:

NOTE: A preprocessing module will be added before first major release to complete this preprocessing automatically for any network

  • The adjacency matrix should be square of size 2^n × 2^n.
  • Nodes are indexed from 0 to 2^n - 1 and correspond to binary quantum states.
  • If your graph doesn't fit this format, preprocessing will be needed.

Content:

Classes:

  • QuantumRandomWalk: Encapsulates circuit setup, walk simulation (inward or outward), and measurement.
  • ResultsDataFrame: Encapsulates all post-processing functions for the dataframe

Functions:

  • perform_one_node_walk: Performs a continuous-time quantum walk from a specific start node over time steps.
  • perform_superpositioned_walk: Performs a continous-time quantum walk starting at a superposition of all nodes

Dependencies:

These should be preinstalled by your package menager once you pip install the package. If not here they are for reference:

  • numpy
  • pandas
  • qiskit
  • qiskit-aer
  • scipy
  • math

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

quantumrandomwalks-0.0.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

quantumrandomwalks-0.0.5-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file quantumrandomwalks-0.0.5.tar.gz.

File metadata

  • Download URL: quantumrandomwalks-0.0.5.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for quantumrandomwalks-0.0.5.tar.gz
Algorithm Hash digest
SHA256 759f0eca6162f0558abdf1618e78ec3e00faec56379086f6be6f17d21d63d725
MD5 30f1cd2da4b1d9101e9492dd03644f6e
BLAKE2b-256 8340168453ce426ac176a256b48e9537b334b39b5592fd69b3c1d13b1c1553a4

See more details on using hashes here.

File details

Details for the file quantumrandomwalks-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for quantumrandomwalks-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 028e88dc01e4e0b74b4449deb6721ac567d56afa94bed0630e40213bd5ce7334
MD5 412ccbfc6bc42786ab2dca7e8413c004
BLAKE2b-256 18c2d83186adb20c314873629feb573a5be10c6a41bf2cc2fc128df2684960f2

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