acqdp icon indicating copy to clipboard operation
acqdp copied to clipboard

Documentation about how to construct a circuit?

Open zhoupingjay opened this issue 4 years ago • 1 comments

The documentation site does not have much information about how to construct a circuit from acqdb: https://alibabaquantumlab.github.io/acqdp/

It will be very helpful if there could be some tutorials on creating and running a simple circuit in acqdb.

zhoupingjay avatar Dec 31 '20 20:12 zhoupingjay

There are two common ways of constructing a circuit. Either first create an empty circuit and add gates to it with the Circuit.append() function, or construct simple circuits with the * and | operators.

The GRCS() function was supposed to demonstrate how to construct a circuit, although it might have become too complicated for this purpose.

fangzh-umich avatar Jan 06 '21 02:01 fangzh-umich