An open API service indexing awesome lists of open source software.

https://github.com/brenoepics/qsharp-rand

QSharp-Rand is a Quantum Computing project built with Q# that demonstrates random number generation, sorting, and prime number filtering using quantum algorithms.
https://github.com/brenoepics/qsharp-rand

qsharp quantum quantum-algorithms quantum-randomizer random

Last synced: about 2 months ago
JSON representation

QSharp-Rand is a Quantum Computing project built with Q# that demonstrates random number generation, sorting, and prime number filtering using quantum algorithms.

Awesome Lists containing this project

README

        

# QSharp-Rand

QSharp-Rand is a Quantum Computing project implemented in Q# that focuses on generating random numbers, sorting them, and filtering prime numbers using quantum algorithms.

## Overview

This project demonstrates how quantum computing techniques can be utilized to perform certain tasks more efficiently compared to classical computing methods.
By leveraging quantum operations and algorithms provided by Microsoft Quantum Development Kit,
QSharp-Rand showcases the power of quantum computing in solving problems related to randomness generation and number manipulation.

## Features

- **Random Number Generation**: Generates a list of random numbers within a specified range using quantum random number generation techniques.
- **Sorting**: Implements the bubble sort algorithm to sort the generated random numbers.
- **Prime Number Filtering**: Utilizes classical algorithms to filter prime numbers from the sorted list.

## Usage

To use QSharp-Rand, follow these steps:

1. Install the Microsoft Quantum Development Kit (QDK) on your machine. You can find installation instructions [here](https://docs.microsoft.com/en-us/quantum/install-guide/).
2. Clone this repository to your local machine.
3. Open the solution in Visual Studio or any Q# development environment.
4. Build the project to ensure all dependencies are resolved.
5. Run the `Main` operation in the `Sample.qs` file to execute the random number generation, sorting, and prime number filtering process.

## Contributing

Contributions to QSharp-Rand are welcome! If you have ideas for improvements or new features, feel free to open an issue or submit a pull request. Please follow the [contributing guidelines](CONTRIBUTING.md) when contributing to this project.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

QSharp-Rand makes use of the following technologies and resources:

- [Microsoft Quantum Development Kit (QDK)](https://www.microsoft.com/en-us/quantum/development-kit)
- [Q# Programming Language](https://docs.microsoft.com/en-us/quantum/?view=qsharp-preview)