-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Is the CTQG(CLASSICAL-TO-QUANTUMGATE CONVERSION) part proposed in the paper available now? I want to transform some simple classical functions into the quantum circuit but do not find doc for the CTQG. The example code in the paper
#define M 100
scaff_module main_ctqg(qint[16] sum, qint[16] i, qint[16] n){
int control_i;
$ i := 1;
$ sum := 0;
for (control_i = 1; control_i <= M; control_i++) {
$if (i <= n)
$ sum += i;
$endif
$ i += 1;
}
cannot be compiled by current ScaffCC.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels