Skip to main content

A quantum circuit transformation and manipulation tool

Project description

Mini-compiler for Quantum Inspire's quantum chip[munks]

 ,;;:;,
   ;;;;;
  ,:;;:;    ,'=.
  ;:;:;' .=" ,'_\
  ':;:;,/  ,__:=@
   ';;:;  =./)_
 jgs `"=\_  )_"`
          ``'"`

Installation

pip install opensquirrel

Documentation

The package exposes only the Circuit class, whose up-to-date documentation is accessed:

  • from the Python console:
>>> import opensquirrel
>>> help(opensquirrel.Circuit)
  • from a Linux shell: python3 -c "import opensquirrel; help(opensquirrel.Circuit)

Currently there is also a set of default gates exposed as opensquirrel.DefaultGates to use in the Circuit constructor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opensquirrel-0.0.3.tar.gz (9.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page