Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A Docker This repository contains the source code of research paper titled: " A generalized quantum algorithm for assuring fairness in random selection among 2^n participants"

Project description

QrandomSelection

This repository contains the source code of research paper titled: " A generalized quantum algorithm for assuring fairness in random selection among 2^n participants". Github repository: https://github.com/mr-ravin/QrandomSelection

Author: Ravin Kumar

Qiskit Version:

qiskit-terra version: 0.7.0
qiskit-aqua version: 0.4.1
  • Create quantum circuit for 'N' participants

Our module provides a direct method for creating quantum circuit for 'n' participants.

import qrandom
res=qrandom.select(8) ### here 8 is total number of participants.
  • Visualization of quantum circuit

A simple method is given to save the pictorial repreentation of quantum circuit for 'n' participants.

import qrandom
chk=qrandom.vis_circuit(8,"file_name.png") ### it saves the generalized quantum circuit for 8 participants in file_name.png file. 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
qrandom-0.5-py3-none-any.whl (14.4 kB) Copy SHA256 hash SHA256 Wheel py3
qrandom-0.5.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page