Fang Zhang
Fang Zhang
The circuit simulation example reads an input file in the "qsim format" described in https://github.com/quantumlib/qsim/blob/master/docs/input_format.md, although we haven't implemented all those gates, but only `h`, `cz`, `t`, `x_1_2`, `y_1_2`, `hz_1_2`,...
As mentioned above, we did not implement all the gates supported by the "qsim" format, but only the ones used in Google's random circuits. The `GRCS` function is intended as...
Measurements are a bit complicated. If you want to calculate the amplitude (or the probability) of a specific measurement result, you can use `ZeroMeas` or `OneMeas`. If you want to...
There are two common ways of constructing a circuit. Either first create an empty circuit and add gates to it with the [Circuit.append()](https://alibabaquantumlab.github.io/acqdp/acqdp.circuit.html#acqdp.circuit.circuit.Circuit.append) function, or construct simple circuits with the...
I will note that usually the first subtask takes more times than the rest: The JAX backend of einsum performs lazy compilation, which takes place while evaluating the first subtask....