PySparQ.pysparq¶
PySparQ type stubs - re-exports all public API from the _core module.
Submodules¶
Attributes¶
Classes¶
Reusable state formatter with configurable default mode. |
Functions¶
|
Return a formatted string representation of a SparseState. |
|
Print a SparseState to stdout in Detail mode. |
|
Test that the PySparQ import works correctly. |
|
Return a formatted string representation of a SparseState (alias for StatePrint). |
Package Contents¶
- class PySparQ.pysparq.StatePrinter(mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0)[source]¶
Reusable state formatter with configurable default mode.
- PySparQ.pysparq.StatePrint(state: pysparq._core.SparseState, mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0) str[source]¶
Return a formatted string representation of a SparseState.
- PySparQ.pysparq.print(state: pysparq._core.SparseState, mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0) None[source]¶
Print a SparseState to stdout in Detail mode.
- PySparQ.pysparq.to_string(state: pysparq._core.SparseState, mode: int | pysparq._core.StatePrintDisplay = 1, precision: int = 0) str[source]¶
Return a formatted string representation of a SparseState (alias for StatePrint).
- PySparQ.pysparq.AddAssign_AnyInt_AnyInt_InPlace: type[pysparq._core.Add_AnyInt_AnyInt_InPlace][source]¶
- PySparQ.pysparq.GlobalPhase_Int: type[pysparq._core.GlobalPhase][source]¶
- PySparQ.pysparq.Hadamard_PartialQubit: type[pysparq._core.Hadamard_Partial][source]¶
- PySparQ.pysparq.RXgate_Bool: type[pysparq._core.RX_Bool][source]¶
- PySparQ.pysparq.RYgate_Bool: type[pysparq._core.RY_Bool][source]¶
- PySparQ.pysparq.RZgate_Bool: type[pysparq._core.RZ_Bool][source]¶
- PySparQ.pysparq.SXgate_Bool: type[pysparq._core.SX_Bool][source]¶
- PySparQ.pysparq.Sgate_Bool: type[pysparq._core.S_Bool][source]¶
- PySparQ.pysparq.Tgate_Bool: type[pysparq._core.T_Bool][source]¶
- PySparQ.pysparq.U2gate_Bool: type[pysparq._core.U2_Bool][source]¶
- PySparQ.pysparq.U3gate_Bool: type[pysparq._core.U3_Bool][source]¶