pyquil icon indicating copy to clipboard operation
pyquil copied to clipboard

WavefunctionSimulator should be imported from pyquil.api

Open bramathon opened this issue 3 years ago • 0 comments

Issue Description

In the documentation, WavefunctionSimulator is imported from pyquil

https://pyquil-docs.rigetti.com/en/stable/basics.html#defining-parametric-gates

However, the WavefunctionSimulator must be imported from pyquil.api

How to Reproduce

from pyquil import WavefunctionSimulator

Environment Context

Tested in QCS pyquil v3.0.0

bramathon avatar Oct 08 '21 23:10 bramathon