Coder Social home page Coder Social logo

chp-sim's People

Contributors

allcontributors[bot] avatar crazy4pi314 avatar rolfhuisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chp-sim's Issues

environment-QuTiP.yml : ResolvePackageNotFound when creating conda environment

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

Allow for printing stabilizer tableaus in โŸจ๐‘ƒโ‚€, ๐‘ƒโ‚, โ€ฆโŸฉ form

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
โŸจ๐‘‹โ‚€๐‘‹โ‚๐‘‹โ‚‚๐‘‹โ‚ƒ, ๐‘โ‚€๐‘โ‚, ๐‘โ‚๐‘โ‚‚, ๐‘โ‚‚๐‘โ‚ƒโŸฉ

Would you be interested in some integration / performance tests?

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:

  1. benchmark the default simulator on a HelloWorld-like class (that uses a combination of the C, H, P gates)
  2. benchmark chp-sim on the same class
  3. check that chp-sim runs faster (and/or better if the simulator outputs meaningful metrics)
  4. if that is not conclusive, replace HelloWorld with something that would need "hundreds of qubits" (as per the README)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.