QPanda3
0.1.0
Supported by OriginQ
|
Public Member Functions | |
None | __init__ (self) |
init(self: core.Stabilizer) -> None | |
StabilizerResult | result (self) |
result(self: core.Stabilizer) -> core.StabilizerResult | |
None | run (self, QProg prog, int shots, NoiseModel model=...) |
run(self: core.Stabilizer, prog: core.QProg, shots: int, model: core.NoiseModel = <core.NoiseModel object at 0x000002074DEF5A70>) -> None | |
None pyqpanda3.core.Stabilizer.__init__ | ( | self | ) |
init(self: core.Stabilizer) -> None
StabilizerResult pyqpanda3.core.Stabilizer.result | ( | self | ) |
result(self: core.Stabilizer) -> core.StabilizerResult
Get the result after running the program.
None pyqpanda3.core.Stabilizer.run | ( | self, | |
QProg | prog, | ||
int | shots, | ||
NoiseModel | model = ... ) |
run(self: core.Stabilizer, prog: core.QProg, shots: int, model: core.NoiseModel = <core.NoiseModel object at 0x000002074DEF5A70>) -> None
Run a quantum program using the Stabilizer simulator.
prog | The quantum program to be executed. |
shots | The number of shots (repetitions) for measurement. |
model | The noise model to apply (default is NoiseModel()). |