Skip to main content

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

Metadata

Release files for stabilizer-states 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stabilizer-states 0.1.1
File Size Uploaded
stabilizer_states-0.1.1.tar.gz 64.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for stabilizer-states 0.1.1
File Interpreter ABI Platform
stabilizer_states-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 147.3 MB

Release files / stabilizer_states-0.1.1.tar.gz

Download URL stabilizer_states-0.1.1.tar.gz
Size 64.3 MB
Tags Source
SHA-256 checksum
How to use checksums
7eeb536b4c46eb4600e30f5fa6c800e07fc84d2cf1e338c4ad90118647b01f46
BLAKE2b-256 checksum
How to use checksums
129306c0a18bd093b9bd95612768c778a3eb5a814a87a768e6dabf13bde54d69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.9.16 Darwin/19.6.0

Release files / stabilizer_states-0.1.1-py3-none-any.whl

Download URL stabilizer_states-0.1.1-py3-none-any.whl
Size 83.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
405b98be12d11fb9d250defe35e61ca83972de90faaeefd78070adc0693870ee
BLAKE2b-256 checksum
How to use checksums
d01d45cfcf0924f7f6fed307cc045cd36f17b889b11248c7a50e6a1042b60149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.9.16 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page