Qpandalite

Latest version: v0.2.5

Safety actively analyzes 723200 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

0.1.3

What's New
OriginIR_Simulator now supports re-simulate a new originir.
OriginIR_Simulator.state can read the internal quantum state.

**Full Changelog**: https://github.com/Agony5757/QPanda-lite/compare/0.1.2...0.1.3

0.1.2

What's New
Add qpandalite.simulator.OriginIR_Simulator

A simple example for this simulator

(python)
import qpandalite.simulator as qsim

sim = qsim.OriginIR_Simulator(reverse_key=False)

originir = '''
QINIT 72
CREG 2
RY q[45],(0.9424777960769379)
RY q[46],(0.9424777960769379)
CZ q[45],q[46]
RY q[45],(-0.25521154)
RY q[46],(0.26327053)
X q[46]
MEASURE q[45],c[0]
MEASURE q[46],c[2]
MEASURE q[52],c[1]
'''

res = sim.simulate(originir)
print(res)


New Contributors
* didaozi made their first contribution in https://github.com/Agony5757/QPanda-lite/pull/1
* automatic-code-ztr made their first contribution in https://github.com/Agony5757/QPanda-lite/pull/3

**Full Changelog**: https://github.com/Agony5757/QPanda-lite/commits/0.1.2

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.