Closed xumingkuan closed 1 year ago
Fixes #88
This PR supports parametrized 2-qubit gates in the bfs method of generator. The dfs method is deprecated (and slower) so we don't plan to add support to it.
bfs
generator
dfs
Usage example:
gen_ecc_set({GateType::cp}, "cp_", true, true, 2, 1, 1);
Fixes #88
This PR supports parametrized 2-qubit gates in the
bfs
method ofgenerator
. Thedfs
method is deprecated (and slower) so we don't plan to add support to it.Usage example: