QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.core.StabilizerResult Class Reference
Inheritance diagram for pyqpanda3.core.StabilizerResult:

Public Member Functions

None __init__ (self)
 init(self: core.StabilizerResult) -> None
 
list[complex] get_state_vector (self)
 get_state_vector(self: core.StabilizerResult) -> list[complex]
 
- Public Member Functions inherited from pyqpanda3.core.QResult
None add_result (self, int cbit_addr, bool result)
 add_result(self: core.QResult, cbit_addr: int, result: bool) -> None
 
dict[str, int] get_counts (self)
 get_counts(self: core.QResult) -> dict[str, int]
 
dict[str, float] get_measure_probs (self)
 get_measure_probs(self: core.QResult) -> dict[str, float]
 
dict[str, float] get_prob_dict (self, list[int] qubits=...)
 get_prob_dict(self: core.QResult, qubits: list[int] = []) -> dict[str, float]
 
list[float] get_prob_list (self, list[int] qubits=...)
 get_prob_list(self: core.QResult, qubits: list[int] = []) -> list[float]
 
None print_results (self)
 print_results(self: core.QResult) -> None
 
None reset (self)
 reset(self: core.QResult) -> None
 
int shots (self)
 shots(self: core.QResult) -> int
 
None store_measure_result (self)
 store_measure_result(self: core.QResult) -> None
 
None store_state_vector (self, list[complex] arg0)
 store_state_vector(self: core.QResult, arg0: list[complex]) -> None
 

Constructor & Destructor Documentation

◆ __init__()

None pyqpanda3.core.StabilizerResult.__init__ ( self)

init(self: core.StabilizerResult) -> None

Reimplemented from pyqpanda3.core.QResult.

Member Function Documentation

◆ get_state_vector()

list[complex] pyqpanda3.core.StabilizerResult.get_state_vector ( self)

get_state_vector(self: core.StabilizerResult) -> list[complex]

Get the state vector of the stabilizer result.

Returns
A vector representing the state of the quantum system.

Reimplemented from pyqpanda3.core.QResult.


The documentation for this class was generated from the following file: