Skip to content

loqs.backends.state.qsimstate

Classes

Attributes

Name Type Value Doc
T TypeVar TypeVar('T', bound='QSimQuantumState')
QSimStateLike TypeAlias 'QSimQuantumState | int | quantumsim.sparsedm.SparseDM' Types that this backend can cast to an underlying state object.
QubitTypes TypeAlias str | int Types this backend can use for qubit labels.

Note that this is technically not a true restriction of SparseDM, but keeping it simple as other types are unlikely.