Skip to content

shubhanshu02/qcir_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

  1. Create a virtual environment
uv venv .venv
  1. Activate the virtual environment
source .venv/bin/activate
  1. Install the dependencies
uv sync
uv pip install pandas # required in benchmark.py

Legacy virtual environments

  1. Create virtual environment
python3 -m venv .venv
  1. Activate the virtual environment
source .venv/bin/activate
  1. Install dependencies
pip install -e . # -e to develop while using