Skip to main content

A supporting (optional) library for stabilizer-toolkit that provides stabilizer states.

Project description

Stabilizer States

pypi

A supporting, optional package to stabilizer-toolkit, which provides the following stabilizer state datasets:

  • 1 qubit stabilizer states (all: 6)
  • 2 qubit stabilizer states (all: 60)
  • 3 qubit stabilizer states (all: 1080)
  • 4 qubit stabilizer states (all: 36720)
  • 5 qubit stabilizer states (all: 2423520, ternary: 146880)
  • 6 qubit stabilizer states (ternary: 9694080)

Usage

from stabilizer_states import StabilizerStates
S1 = StabilizerStates(1)
print(S1.shape)

It's worth noting that if you are only using the real or ternary form of the states, then in some cases the dataset will load quicker (e.g. 5 and 6 qubit datasets):

from stabilizer_states import StabilizerStates
S5 = StabilizerStates(5, "ternary")
print(S5.shape)

Installation

The package is available on pypi and installable via pip:

pip install stabilizer-states 

Development

If you'd like to work with a development copy, then clone this repository and install via poetry:

poetry install -vvv --with dev

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

stabilizer_states-0.1.1.tar.gz (64.3 MB view details)

Uploaded Source

Built Distribution

stabilizer_states-0.1.1-py3-none-any.whl (83.0 MB view details)

Uploaded Python 3

File details

Details for the file stabilizer_states-0.1.1.tar.gz.

File metadata

  • Download URL: stabilizer_states-0.1.1.tar.gz
  • Upload date:
  • Size: 64.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.9.16 Darwin/19.6.0

File hashes

Hashes for stabilizer_states-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7eeb536b4c46eb4600e30f5fa6c800e07fc84d2cf1e338c4ad90118647b01f46
MD5 a51e7554dc1ca591ac6dc5e45256834b
BLAKE2b-256 129306c0a18bd093b9bd95612768c778a3eb5a814a87a768e6dabf13bde54d69

See more details on using hashes here.

File details

Details for the file stabilizer_states-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stabilizer_states-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 405b98be12d11fb9d250defe35e61ca83972de90faaeefd78070adc0693870ee
MD5 09ccf6aeb2797fe8f6e700c834d2bd14
BLAKE2b-256 d01d45cfcf0924f7f6fed307cc045cd36f17b889b11248c7a50e6a1042b60149

See more details on using hashes here.

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