QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.core.Stabilizer Class Reference

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
 

Constructor & Destructor Documentation

◆ __init__()

None pyqpanda3.core.Stabilizer.__init__ ( self)

init(self: core.Stabilizer) -> None

Member Function Documentation

◆ result()

StabilizerResult pyqpanda3.core.Stabilizer.result ( self)

result(self: core.Stabilizer) -> core.StabilizerResult

Get the result after running the program.

Returns
The result of the quantum simulation.

◆ run()

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.

Parameters
progThe quantum program to be executed.
shotsThe number of shots (repetitions) for measurement.
modelThe noise model to apply (default is NoiseModel()).
Returns
None

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