Skip to content

Generate random stabilizer quantum states explicitly

License

Notifications You must be signed in to change notification settings

qotlabs/randstab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

randstab

Generate random stabilizer quantum states explicitly.

The proof of the implemented algorithm is presented in the article G.I. Struchalin et al. "Experimental Estimation of Quantum State Properties from Classical Shadows", PRX Quantum 2, 010307 (2021), in Appendix A.

Dependencies

  • Numpy – the fundamental package for scientific computing with Python.

Usage

To start sampling n-qubit random stabilizer states simply import the module and call the function random_stabilizer_state(n). It will produce a Numpy array with 2n complex elements. For example:

import randstab as rs
rs.random_stabilizer_state(3)

About

Generate random stabilizer quantum states explicitly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages