Skip to content

Bugs on 'qsim_simulator' with repetitions option #662

Open
@mchan90

Description

@mchan90

With very rare probability (less than 1% in my experience), qsim_simulator with repetitions fails.

For example,
run_out = qsim_simulator.run(program=circuit, repetitions=n_shot)
with n_shot=4000 fails with following error message

screenshot

Usually, I avoid this error by following fix near the line 335 of "qsim_simulator.py" file.

image

But, this is just a workaround. Please, find the origin of this problem and resolve the problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions