qsharp-community / chp-sim Goto Github PK
View Code? Open in Web Editor NEWCHP Simulator for Q#
License: MIT License
CHP Simulator for Q#
License: MIT License
Currently its hardcoded to one.
While adding testing in #4, seeing some differences
Currently the simulater uses a hardcoded ammounts of cubits. Like to be able to have the simulator adapt automaticly.
Hello, I get the following error when trying to create a conda environment:
$ conda env create --file environment-QuTiP.yml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- numpy==1.18.4=py38h72c728b_0
- kiwisolver==1.2.0=py38heaebd3c_0
- matplotlib-base==3.2.1=py38h1626042_0
- openssl==1.1.1g=he774522_0
- zlib==1.2.11=h2fa13f4_1006
- sqlite==3.30.1=hfa6e2cd_0
- vs2015_runtime==14.16.27012=h30e32a0_2
- jpeg==9c=hfa6e2cd_1001
- mistune==0.8.4=py38h9de7a3e_1001
- zeromq==4.3.2=h6538335_2
- msys2-conda-epoch==20160418=1
- m2w64-gcc-libs==5.3.0=7
- python==3.8.2=h5fd99cc_7_cpython
- icc_rt==2019.0.0=h0cc432a_1
- pyrsistent==0.16.0=py38h9de7a3e_0
- pyzmq==19.0.1=py38h77b9d75_0
- scipy==1.3.2=py38h582fac2_0
- markupsafe==1.1.1=py38h9de7a3e_1
- vc==14.1=h869be7e_1
- icu==64.2=he025d50_1
- freetype==2.10.1=ha9979f8_0
- m2w64-libwinpthread-git==5.0.0.4634.697f757=2
- libpng==1.6.37=hfe6a214_1
- pyqt==5.12.3=py38h7ae7562_3
- tornado==6.0.4=py38hfa6e2cd_0
- qutip==4.5.0=py38h79cbd7a_0
- m2w64-gcc-libs-core==5.3.0=7
- ipykernel==5.2.1=py38h5ca1d4c_0
- cython==0.29.17=py38h7ae7562_0
- libsodium==1.0.17=h2fa13f4_0
- winpty==0.4.3=4
- wincertstore==0.2=py38_1003
- libclang==9.0.1=default_hf44288c_0
- pywinpty==0.5.7=py38_0
- m2w64-gcc-libgfortran==5.3.0=6
- m2w64-gmp==6.1.0=2
- pywin32==227=py38hfa6e2cd_0
- qt==5.12.5=h7ef1ec2_0
$ conda --version
conda 4.8.3
Using miniconda and macOS 10.15
The matrix form for stabilizer tableaus is really helpful for users that are accustomed to binary symplectic form, but sometimes it can be easier to read lists of Paulis instead. From that perspective, it'd be really great to be able to present things using โจโฆโฉ notation as well as matrices.
For example:
In [1]: %config chp.dumpFormat = "dense-paulis"
In [2]: %simulate DumpBellPair
โจ๐๐, ๐๐โฉ
In [3]: %config chp.dumpFormat = "sparse-paulis"
In [4]: %simulate DumpGHZState n=4
โจ๐โ๐โ๐โ๐โ, ๐โ๐โ, ๐โ๐โ, ๐โ๐โโฉ
As a user, I often look at a tests to understand what a project does.
As a developer, they help me detecting when I break something.
I understand that chp-sim aims at improving the number the qubits that can be simulated by restricting the simulation scope to the C, H, P gates.
Would you be interested in an integration test that checks that?
Scenario idea:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.