https://github.com/shubhanshu02/qcir_sim
Quantum circuit simulation
https://github.com/shubhanshu02/qcir_sim
quantum-computing
Last synced: 10 months ago
JSON representation
Quantum circuit simulation
- Host: GitHub
- URL: https://github.com/shubhanshu02/qcir_sim
- Owner: shubhanshu02
- License: mit
- Created: 2024-10-22T19:12:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T17:33:02.000Z (over 1 year ago)
- Last Synced: 2025-07-29T07:37:53.840Z (11 months ago)
- Topics: quantum-computing
- Language: Python
- Homepage: https://pypi.org/project/qcir-sim/
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qcir_sim
Quantum circuit simulation using Vector and Tensor simulations
**Note:** Examples for using are provided in the `examples/` folder. Examples include:
1. Benchmarking how many qubits can we simulate using Vector and Tensor simulation
2. Sampling the Qubits from a Quantum simulation
3. Calculating the expectation values of `<Ψ| Op |Ψ>`
## Setting up
### Using uv ([Installation](https://docs.astral.sh/uv/getting-started/installation/))
1. Create a virtual environment
```sh
uv venv .venv
```
2. Activate the virtual environment
```sh
source .venv/bin/activate
```
3. Install the dependencies
```sh
uv sync
uv pip install pandas # required in benchmark.py
```
### Legacy virtual environments
1. Create virtual environment
```sh
python3 -m venv .venv
```
2. Activate the virtual environment
```sh
source .venv/bin/activate
```
3. Install dependencies
```sh
pip install -e . # -e to develop while using
```