classiq 0.42.2__py3-none-any.whl → 0.43.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. classiq/__init__.py +2 -6
  2. classiq/_internals/api_wrapper.py +6 -12
  3. classiq/_internals/authentication/token_manager.py +5 -2
  4. classiq/_internals/jobs.py +5 -10
  5. classiq/analyzer/rb.py +3 -3
  6. classiq/applications/chemistry/chemistry_model_constructor.py +12 -8
  7. classiq/applications/combinatorial_helpers/pauli_helpers/pauli_utils.py +2 -2
  8. classiq/applications/finance/finance_model_constructor.py +16 -13
  9. classiq/applications/qsvm/__init__.py +1 -3
  10. classiq/applications/qsvm/qsvm_model_constructor.py +7 -6
  11. classiq/exceptions.py +9 -4
  12. classiq/execution/execution_session.py +5 -2
  13. classiq/execution/qnn.py +1 -1
  14. classiq/executor.py +0 -2
  15. classiq/interface/_version.py +1 -1
  16. classiq/interface/chemistry/operator.py +19 -5
  17. classiq/interface/executor/constants.py +1 -0
  18. classiq/interface/finance/function_input.py +16 -10
  19. classiq/interface/generator/application_apis/chemistry_declarations.py +2 -2
  20. classiq/interface/generator/application_apis/qsvm_declarations.py +4 -2
  21. classiq/interface/generator/arith/argument_utils.py +20 -3
  22. classiq/interface/generator/arith/arithmetic_expression_validator.py +3 -26
  23. classiq/interface/generator/arith/binary_ops.py +8 -14
  24. classiq/interface/generator/arith/extremum_operations.py +30 -0
  25. classiq/interface/generator/arith/number_utils.py +1 -1
  26. classiq/interface/generator/arith/unary_ops.py +1 -3
  27. classiq/interface/generator/compiler_keywords.py +1 -1
  28. classiq/interface/generator/expressions/atomic_expression_functions.py +13 -3
  29. classiq/interface/generator/expressions/enums/__init__.py +0 -20
  30. classiq/interface/generator/expressions/enums/finance_functions.py +11 -18
  31. classiq/interface/generator/expressions/non_symbolic_expr.py +119 -0
  32. classiq/interface/generator/expressions/qmod_qarray_proxy.py +52 -37
  33. classiq/interface/generator/expressions/qmod_qscalar_proxy.py +16 -11
  34. classiq/interface/generator/expressions/qmod_sized_proxy.py +5 -5
  35. classiq/interface/generator/function_param_list_without_self_reference.py +0 -10
  36. classiq/interface/generator/function_params.py +0 -4
  37. classiq/interface/generator/functions/__init__.py +0 -20
  38. classiq/interface/generator/functions/builtins/core_library/exponentiation_functions.py +2 -2
  39. classiq/interface/generator/functions/builtins/open_lib_functions.py +530 -1
  40. classiq/interface/generator/functions/classical_type.py +22 -69
  41. classiq/interface/generator/functions/port_declaration.py +0 -11
  42. classiq/interface/generator/model/__init__.py +0 -1
  43. classiq/interface/generator/model/model.py +9 -185
  44. classiq/interface/generator/synthesis_metadata/synthesis_execution_data.py +3 -1
  45. classiq/interface/generator/types/builtin_enum_declarations.py +69 -0
  46. classiq/interface/generator/types/builtin_struct_declarations/pauli_struct_declarations.py +2 -2
  47. classiq/interface/generator/types/enum_declaration.py +57 -0
  48. classiq/interface/jobs.py +36 -65
  49. classiq/interface/model/bind_operation.py +3 -0
  50. classiq/interface/model/classical_parameter_declaration.py +3 -0
  51. classiq/interface/model/handle_binding.py +7 -0
  52. classiq/interface/model/inplace_binary_operation.py +13 -15
  53. classiq/interface/model/model.py +8 -20
  54. classiq/interface/model/native_function_definition.py +0 -17
  55. classiq/interface/model/quantum_function_call.py +63 -182
  56. classiq/interface/model/quantum_type.py +71 -10
  57. classiq/interface/server/routes.py +0 -6
  58. classiq/qmod/__init__.py +3 -3
  59. classiq/qmod/builtins/__init__.py +10 -1
  60. classiq/qmod/builtins/classical_execution_primitives.py +4 -2
  61. classiq/qmod/builtins/enums.py +177 -0
  62. classiq/qmod/builtins/functions.py +1 -2
  63. classiq/qmod/builtins/operations.py +2 -4
  64. classiq/qmod/builtins/structs.py +16 -17
  65. classiq/qmod/declaration_inferrer.py +23 -20
  66. classiq/qmod/model_state_container.py +2 -0
  67. classiq/qmod/native/pretty_printer.py +31 -13
  68. classiq/qmod/pretty_print/pretty_printer.py +52 -27
  69. classiq/qmod/qmod_constant.py +7 -3
  70. classiq/qmod/qmod_parameter.py +2 -1
  71. classiq/qmod/qmod_struct.py +9 -33
  72. classiq/qmod/qmod_variable.py +55 -22
  73. classiq/qmod/quantum_callable.py +6 -1
  74. classiq/qmod/quantum_expandable.py +29 -11
  75. classiq/qmod/quantum_function.py +8 -4
  76. classiq/qmod/semantics/annotation.py +38 -0
  77. classiq/qmod/semantics/error_manager.py +49 -0
  78. classiq/qmod/semantics/static_semantics_visitor.py +308 -0
  79. classiq/qmod/semantics/validation/func_call_validation.py +149 -0
  80. classiq/qmod/semantics/validation/types_validation.py +21 -0
  81. classiq/qmod/symbolic.py +6 -6
  82. classiq/qmod/symbolic_expr.py +26 -11
  83. classiq/qmod/utilities.py +23 -1
  84. {classiq-0.42.2.dist-info → classiq-0.43.1.dist-info}/METADATA +2 -2
  85. {classiq-0.42.2.dist-info → classiq-0.43.1.dist-info}/RECORD +88 -103
  86. classiq/_internals/_qfunc_ext.py +0 -6
  87. classiq/applications/libraries/ampltitude_estimation_library.py +0 -11
  88. classiq/interface/generator/credit_risk_example/linear_gci.py +0 -122
  89. classiq/interface/generator/credit_risk_example/weighted_adder.py +0 -69
  90. classiq/interface/generator/expressions/enums/chemistry.py +0 -28
  91. classiq/interface/generator/expressions/enums/classical_enum.py +0 -20
  92. classiq/interface/generator/expressions/enums/ladder_operator.py +0 -6
  93. classiq/interface/generator/expressions/enums/optimizers.py +0 -9
  94. classiq/interface/generator/expressions/enums/pauli.py +0 -8
  95. classiq/interface/generator/expressions/enums/qsvm_feature_map_entanglement.py +0 -9
  96. classiq/interface/generator/functions/foreign_function_definition.py +0 -114
  97. classiq/interface/generator/functions/function_implementation.py +0 -107
  98. classiq/interface/generator/functions/native_function_definition.py +0 -155
  99. classiq/interface/generator/functions/quantum_function_declaration.py +0 -69
  100. classiq/interface/generator/functions/register.py +0 -44
  101. classiq/interface/generator/functions/register_mapping_data.py +0 -106
  102. classiq/interface/generator/inequality_mixer.py +0 -51
  103. classiq/interface/generator/model/classical_main_validator.py +0 -106
  104. classiq/interface/generator/range_mixer.py +0 -56
  105. classiq/interface/generator/state_propagator.py +0 -74
  106. classiq/interface/model/resolvers/function_call_resolver.py +0 -64
  107. classiq/interface/model/validations/__init__.py +0 -0
  108. classiq/interface/model/validations/handle_validation_base.py +0 -55
  109. classiq/interface/model/validations/handles_validator.py +0 -153
  110. classiq/interface/model/validations/port_to_wire_name_generator.py +0 -12
  111. /classiq/{interface/generator/credit_risk_example → qmod/semantics}/__init__.py +0 -0
  112. /classiq/{interface/model/resolvers → qmod/semantics/validation}/__init__.py +0 -0
  113. {classiq-0.42.2.dist-info → classiq-0.43.1.dist-info}/WHEEL +0 -0
@@ -16,6 +16,10 @@ QFT = QuantumFunctionDeclaration.parse_raw(
16
16
  "quantum_type": {
17
17
  "source_ref": null,
18
18
  "kind": "qvec",
19
+ "element_type": {
20
+ "source_ref": null,
21
+ "kind": "qbit"
22
+ },
19
23
  "length": null
20
24
  },
21
25
  "size": null,
@@ -31,6 +35,10 @@ QFT = QuantumFunctionDeclaration.parse_raw(
31
35
  "quantum_type": {
32
36
  "source_ref": null,
33
37
  "kind": "qvec",
38
+ "element_type": {
39
+ "source_ref": null,
40
+ "kind": "qbit"
41
+ },
34
42
  "length": null
35
43
  },
36
44
  "size": null,
@@ -255,7 +263,8 @@ LINEAR_PAULI_ROTATIONS = QuantumFunctionDeclaration.parse_raw(
255
263
  "bases": {
256
264
  "kind": "list",
257
265
  "element_type": {
258
- "kind": "pauli"
266
+ "kind": "struct_instance",
267
+ "name": "Pauli"
259
268
  }
260
269
  },
261
270
  "slopes": {
@@ -314,6 +323,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
314
323
  "quantum_type": {
315
324
  "source_ref": null,
316
325
  "kind": "qvec",
326
+ "element_type": {
327
+ "source_ref": null,
328
+ "kind": "qbit"
329
+ },
317
330
  "length": null
318
331
  },
319
332
  "size": null,
@@ -333,6 +346,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
333
346
  "quantum_type": {
334
347
  "source_ref": null,
335
348
  "kind": "qvec",
349
+ "element_type": {
350
+ "source_ref": null,
351
+ "kind": "qbit"
352
+ },
336
353
  "length": null
337
354
  },
338
355
  "size": null,
@@ -348,6 +365,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
348
365
  "quantum_type": {
349
366
  "source_ref": null,
350
367
  "kind": "qvec",
368
+ "element_type": {
369
+ "source_ref": null,
370
+ "kind": "qbit"
371
+ },
351
372
  "length": null
352
373
  },
353
374
  "size": null,
@@ -369,6 +390,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
369
390
  "quantum_type": {
370
391
  "source_ref": null,
371
392
  "kind": "qvec",
393
+ "element_type": {
394
+ "source_ref": null,
395
+ "kind": "qbit"
396
+ },
372
397
  "length": null
373
398
  },
374
399
  "size": null,
@@ -384,6 +409,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
384
409
  "quantum_type": {
385
410
  "source_ref": null,
386
411
  "kind": "qvec",
412
+ "element_type": {
413
+ "source_ref": null,
414
+ "kind": "qbit"
415
+ },
387
416
  "length": null
388
417
  },
389
418
  "size": null,
@@ -407,6 +436,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
407
436
  "quantum_type": {
408
437
  "source_ref": null,
409
438
  "kind": "qvec",
439
+ "element_type": {
440
+ "source_ref": null,
441
+ "kind": "qbit"
442
+ },
410
443
  "length": null
411
444
  },
412
445
  "size": null,
@@ -422,6 +455,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
422
455
  "quantum_type": {
423
456
  "source_ref": null,
424
457
  "kind": "qvec",
458
+ "element_type": {
459
+ "source_ref": null,
460
+ "kind": "qbit"
461
+ },
425
462
  "length": null
426
463
  },
427
464
  "size": null,
@@ -443,6 +480,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
443
480
  "quantum_type": {
444
481
  "source_ref": null,
445
482
  "kind": "qvec",
483
+ "element_type": {
484
+ "source_ref": null,
485
+ "kind": "qbit"
486
+ },
446
487
  "length": null
447
488
  },
448
489
  "size": null,
@@ -458,6 +499,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
458
499
  "quantum_type": {
459
500
  "source_ref": null,
460
501
  "kind": "qvec",
502
+ "element_type": {
503
+ "source_ref": null,
504
+ "kind": "qbit"
505
+ },
461
506
  "length": null
462
507
  },
463
508
  "size": null,
@@ -488,6 +533,10 @@ AMPLITUDE_ESTIMATION = QuantumFunctionDeclaration.parse_raw(
488
533
  "quantum_type": {
489
534
  "source_ref": null,
490
535
  "kind": "qvec",
536
+ "element_type": {
537
+ "source_ref": null,
538
+ "kind": "qbit"
539
+ },
491
540
  "length": null
492
541
  },
493
542
  "size": null,
@@ -510,6 +559,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
510
559
  "quantum_type": {
511
560
  "source_ref": null,
512
561
  "kind": "qvec",
562
+ "element_type": {
563
+ "source_ref": null,
564
+ "kind": "qbit"
565
+ },
513
566
  "length": null
514
567
  },
515
568
  "size": null,
@@ -529,6 +582,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
529
582
  "quantum_type": {
530
583
  "source_ref": null,
531
584
  "kind": "qvec",
585
+ "element_type": {
586
+ "source_ref": null,
587
+ "kind": "qbit"
588
+ },
532
589
  "length": null
533
590
  },
534
591
  "size": null,
@@ -555,6 +612,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
555
612
  "quantum_type": {
556
613
  "source_ref": null,
557
614
  "kind": "qvec",
615
+ "element_type": {
616
+ "source_ref": null,
617
+ "kind": "qbit"
618
+ },
558
619
  "length": null
559
620
  },
560
621
  "size": null,
@@ -589,6 +650,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
589
650
  "quantum_type": {
590
651
  "source_ref": null,
591
652
  "kind": "qvec",
653
+ "element_type": {
654
+ "source_ref": null,
655
+ "kind": "qbit"
656
+ },
592
657
  "length": null
593
658
  },
594
659
  "size": null,
@@ -615,6 +680,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
615
680
  "quantum_type": {
616
681
  "source_ref": null,
617
682
  "kind": "qvec",
683
+ "element_type": {
684
+ "source_ref": null,
685
+ "kind": "qbit"
686
+ },
618
687
  "length": null
619
688
  },
620
689
  "size": null,
@@ -642,6 +711,10 @@ PHASE_ORACLE = QuantumFunctionDeclaration.parse_raw(
642
711
  "quantum_type": {
643
712
  "source_ref": null,
644
713
  "kind": "qvec",
714
+ "element_type": {
715
+ "source_ref": null,
716
+ "kind": "qbit"
717
+ },
645
718
  "length": null
646
719
  },
647
720
  "size": null,
@@ -664,6 +737,10 @@ REFLECT_ABOUT_ZERO = QuantumFunctionDeclaration.parse_raw(
664
737
  "quantum_type": {
665
738
  "source_ref": null,
666
739
  "kind": "qvec",
740
+ "element_type": {
741
+ "source_ref": null,
742
+ "kind": "qbit"
743
+ },
667
744
  "length": null
668
745
  },
669
746
  "size": null,
@@ -679,6 +756,10 @@ REFLECT_ABOUT_ZERO = QuantumFunctionDeclaration.parse_raw(
679
756
  "quantum_type": {
680
757
  "source_ref": null,
681
758
  "kind": "qvec",
759
+ "element_type": {
760
+ "source_ref": null,
761
+ "kind": "qbit"
762
+ },
682
763
  "length": null
683
764
  },
684
765
  "size": null,
@@ -701,6 +782,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
701
782
  "quantum_type": {
702
783
  "source_ref": null,
703
784
  "kind": "qvec",
785
+ "element_type": {
786
+ "source_ref": null,
787
+ "kind": "qbit"
788
+ },
704
789
  "length": null
705
790
  },
706
791
  "size": null,
@@ -720,6 +805,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
720
805
  "quantum_type": {
721
806
  "source_ref": null,
722
807
  "kind": "qvec",
808
+ "element_type": {
809
+ "source_ref": null,
810
+ "kind": "qbit"
811
+ },
723
812
  "length": null
724
813
  },
725
814
  "size": null,
@@ -735,6 +824,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
735
824
  "quantum_type": {
736
825
  "source_ref": null,
737
826
  "kind": "qvec",
827
+ "element_type": {
828
+ "source_ref": null,
829
+ "kind": "qbit"
830
+ },
738
831
  "length": null
739
832
  },
740
833
  "size": null,
@@ -758,6 +851,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
758
851
  "quantum_type": {
759
852
  "source_ref": null,
760
853
  "kind": "qvec",
854
+ "element_type": {
855
+ "source_ref": null,
856
+ "kind": "qbit"
857
+ },
761
858
  "length": null
762
859
  },
763
860
  "size": null,
@@ -773,6 +870,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
773
870
  "quantum_type": {
774
871
  "source_ref": null,
775
872
  "kind": "qvec",
873
+ "element_type": {
874
+ "source_ref": null,
875
+ "kind": "qbit"
876
+ },
776
877
  "length": null
777
878
  },
778
879
  "size": null,
@@ -789,6 +890,10 @@ GROVER_DIFFUSER = QuantumFunctionDeclaration.parse_raw(
789
890
  "quantum_type": {
790
891
  "source_ref": null,
791
892
  "kind": "qvec",
893
+ "element_type": {
894
+ "source_ref": null,
895
+ "kind": "qbit"
896
+ },
792
897
  "length": null
793
898
  },
794
899
  "size": null,
@@ -811,6 +916,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
811
916
  "quantum_type": {
812
917
  "source_ref": null,
813
918
  "kind": "qvec",
919
+ "element_type": {
920
+ "source_ref": null,
921
+ "kind": "qbit"
922
+ },
814
923
  "length": null
815
924
  },
816
925
  "size": null,
@@ -830,6 +939,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
830
939
  "quantum_type": {
831
940
  "source_ref": null,
832
941
  "kind": "qvec",
942
+ "element_type": {
943
+ "source_ref": null,
944
+ "kind": "qbit"
945
+ },
833
946
  "length": null
834
947
  },
835
948
  "size": null,
@@ -845,6 +958,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
845
958
  "quantum_type": {
846
959
  "source_ref": null,
847
960
  "kind": "qvec",
961
+ "element_type": {
962
+ "source_ref": null,
963
+ "kind": "qbit"
964
+ },
848
965
  "length": null
849
966
  },
850
967
  "size": null,
@@ -866,6 +983,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
866
983
  "quantum_type": {
867
984
  "source_ref": null,
868
985
  "kind": "qvec",
986
+ "element_type": {
987
+ "source_ref": null,
988
+ "kind": "qbit"
989
+ },
869
990
  "length": null
870
991
  },
871
992
  "size": null,
@@ -881,6 +1002,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
881
1002
  "quantum_type": {
882
1003
  "source_ref": null,
883
1004
  "kind": "qvec",
1005
+ "element_type": {
1006
+ "source_ref": null,
1007
+ "kind": "qbit"
1008
+ },
884
1009
  "length": null
885
1010
  },
886
1011
  "size": null,
@@ -904,6 +1029,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
904
1029
  "quantum_type": {
905
1030
  "source_ref": null,
906
1031
  "kind": "qvec",
1032
+ "element_type": {
1033
+ "source_ref": null,
1034
+ "kind": "qbit"
1035
+ },
907
1036
  "length": null
908
1037
  },
909
1038
  "size": null,
@@ -919,6 +1048,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
919
1048
  "quantum_type": {
920
1049
  "source_ref": null,
921
1050
  "kind": "qvec",
1051
+ "element_type": {
1052
+ "source_ref": null,
1053
+ "kind": "qbit"
1054
+ },
922
1055
  "length": null
923
1056
  },
924
1057
  "size": null,
@@ -940,6 +1073,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
940
1073
  "quantum_type": {
941
1074
  "source_ref": null,
942
1075
  "kind": "qvec",
1076
+ "element_type": {
1077
+ "source_ref": null,
1078
+ "kind": "qbit"
1079
+ },
943
1080
  "length": null
944
1081
  },
945
1082
  "size": null,
@@ -955,6 +1092,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
955
1092
  "quantum_type": {
956
1093
  "source_ref": null,
957
1094
  "kind": "qvec",
1095
+ "element_type": {
1096
+ "source_ref": null,
1097
+ "kind": "qbit"
1098
+ },
958
1099
  "length": null
959
1100
  },
960
1101
  "size": null,
@@ -971,6 +1112,10 @@ GROVER_OPERATOR = QuantumFunctionDeclaration.parse_raw(
971
1112
  "quantum_type": {
972
1113
  "source_ref": null,
973
1114
  "kind": "qvec",
1115
+ "element_type": {
1116
+ "source_ref": null,
1117
+ "kind": "qbit"
1118
+ },
974
1119
  "length": null
975
1120
  },
976
1121
  "size": null,
@@ -998,6 +1143,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
998
1143
  "quantum_type": {
999
1144
  "source_ref": null,
1000
1145
  "kind": "qvec",
1146
+ "element_type": {
1147
+ "source_ref": null,
1148
+ "kind": "qbit"
1149
+ },
1001
1150
  "length": null
1002
1151
  },
1003
1152
  "size": null,
@@ -1017,6 +1166,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
1017
1166
  "quantum_type": {
1018
1167
  "source_ref": null,
1019
1168
  "kind": "qvec",
1169
+ "element_type": {
1170
+ "source_ref": null,
1171
+ "kind": "qbit"
1172
+ },
1020
1173
  "length": null
1021
1174
  },
1022
1175
  "size": null,
@@ -1032,6 +1185,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
1032
1185
  "quantum_type": {
1033
1186
  "source_ref": null,
1034
1187
  "kind": "qvec",
1188
+ "element_type": {
1189
+ "source_ref": null,
1190
+ "kind": "qbit"
1191
+ },
1035
1192
  "length": null
1036
1193
  },
1037
1194
  "size": null,
@@ -1064,6 +1221,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
1064
1221
  "quantum_type": {
1065
1222
  "source_ref": null,
1066
1223
  "kind": "qvec",
1224
+ "element_type": {
1225
+ "source_ref": null,
1226
+ "kind": "qbit"
1227
+ },
1067
1228
  "length": null
1068
1229
  },
1069
1230
  "size": null,
@@ -1079,6 +1240,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
1079
1240
  "quantum_type": {
1080
1241
  "source_ref": null,
1081
1242
  "kind": "qvec",
1243
+ "element_type": {
1244
+ "source_ref": null,
1245
+ "kind": "qbit"
1246
+ },
1082
1247
  "length": null
1083
1248
  },
1084
1249
  "size": null,
@@ -1095,6 +1260,10 @@ GROVER_SEARCH = QuantumFunctionDeclaration.parse_raw(
1095
1260
  "quantum_type": {
1096
1261
  "source_ref": null,
1097
1262
  "kind": "qvec",
1263
+ "element_type": {
1264
+ "source_ref": null,
1265
+ "kind": "qbit"
1266
+ },
1098
1267
  "length": null
1099
1268
  },
1100
1269
  "size": null,
@@ -1166,6 +1335,10 @@ QFT_NO_SWAP = QuantumFunctionDeclaration.parse_raw(
1166
1335
  "quantum_type": {
1167
1336
  "source_ref": null,
1168
1337
  "kind": "qvec",
1338
+ "element_type": {
1339
+ "source_ref": null,
1340
+ "kind": "qbit"
1341
+ },
1169
1342
  "length": null
1170
1343
  },
1171
1344
  "size": null,
@@ -1181,6 +1354,10 @@ QFT_NO_SWAP = QuantumFunctionDeclaration.parse_raw(
1181
1354
  "quantum_type": {
1182
1355
  "source_ref": null,
1183
1356
  "kind": "qvec",
1357
+ "element_type": {
1358
+ "source_ref": null,
1359
+ "kind": "qbit"
1360
+ },
1184
1361
  "length": null
1185
1362
  },
1186
1363
  "size": null,
@@ -1208,6 +1385,10 @@ _CHECK_MSB = QuantumFunctionDeclaration.parse_raw(
1208
1385
  "quantum_type": {
1209
1386
  "source_ref": null,
1210
1387
  "kind": "qvec",
1388
+ "element_type": {
1389
+ "source_ref": null,
1390
+ "kind": "qbit"
1391
+ },
1211
1392
  "length": null
1212
1393
  },
1213
1394
  "size": null,
@@ -1243,6 +1424,10 @@ _CHECK_MSB = QuantumFunctionDeclaration.parse_raw(
1243
1424
  "quantum_type": {
1244
1425
  "source_ref": null,
1245
1426
  "kind": "qvec",
1427
+ "element_type": {
1428
+ "source_ref": null,
1429
+ "kind": "qbit"
1430
+ },
1246
1431
  "length": null
1247
1432
  },
1248
1433
  "size": null,
@@ -1358,6 +1543,10 @@ QFT_SPACE_ADD_CONST = QuantumFunctionDeclaration.parse_raw(
1358
1543
  "quantum_type": {
1359
1544
  "source_ref": null,
1360
1545
  "kind": "qvec",
1546
+ "element_type": {
1547
+ "source_ref": null,
1548
+ "kind": "qbit"
1549
+ },
1361
1550
  "length": null
1362
1551
  },
1363
1552
  "size": null,
@@ -1382,6 +1571,10 @@ QFT_SPACE_ADD_CONST = QuantumFunctionDeclaration.parse_raw(
1382
1571
  "quantum_type": {
1383
1572
  "source_ref": null,
1384
1573
  "kind": "qvec",
1574
+ "element_type": {
1575
+ "source_ref": null,
1576
+ "kind": "qbit"
1577
+ },
1385
1578
  "length": null
1386
1579
  },
1387
1580
  "size": null,
@@ -1413,6 +1606,10 @@ CC_MODULAR_ADD = QuantumFunctionDeclaration.parse_raw(
1413
1606
  "quantum_type": {
1414
1607
  "source_ref": null,
1415
1608
  "kind": "qvec",
1609
+ "element_type": {
1610
+ "source_ref": null,
1611
+ "kind": "qbit"
1612
+ },
1416
1613
  "length": null
1417
1614
  },
1418
1615
  "size": null,
@@ -1479,6 +1676,10 @@ CC_MODULAR_ADD = QuantumFunctionDeclaration.parse_raw(
1479
1676
  "quantum_type": {
1480
1677
  "source_ref": null,
1481
1678
  "kind": "qvec",
1679
+ "element_type": {
1680
+ "source_ref": null,
1681
+ "kind": "qbit"
1682
+ },
1482
1683
  "length": null
1483
1684
  },
1484
1685
  "size": null,
@@ -1543,6 +1744,10 @@ C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1543
1744
  "quantum_type": {
1544
1745
  "source_ref": null,
1545
1746
  "kind": "qvec",
1747
+ "element_type": {
1748
+ "source_ref": null,
1749
+ "kind": "qbit"
1750
+ },
1546
1751
  "length": null
1547
1752
  },
1548
1753
  "size": null,
@@ -1555,6 +1760,10 @@ C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1555
1760
  "quantum_type": {
1556
1761
  "source_ref": null,
1557
1762
  "kind": "qvec",
1763
+ "element_type": {
1764
+ "source_ref": null,
1765
+ "kind": "qbit"
1766
+ },
1558
1767
  "length": null
1559
1768
  },
1560
1769
  "size": null,
@@ -1610,6 +1819,10 @@ C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1610
1819
  "quantum_type": {
1611
1820
  "source_ref": null,
1612
1821
  "kind": "qvec",
1822
+ "element_type": {
1823
+ "source_ref": null,
1824
+ "kind": "qbit"
1825
+ },
1613
1826
  "length": null
1614
1827
  },
1615
1828
  "size": null,
@@ -1622,6 +1835,10 @@ C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1622
1835
  "quantum_type": {
1623
1836
  "source_ref": null,
1624
1837
  "kind": "qvec",
1838
+ "element_type": {
1839
+ "source_ref": null,
1840
+ "kind": "qbit"
1841
+ },
1625
1842
  "length": null
1626
1843
  },
1627
1844
  "size": null,
@@ -1666,6 +1883,10 @@ MULTISWAP = QuantumFunctionDeclaration.parse_raw(
1666
1883
  "quantum_type": {
1667
1884
  "source_ref": null,
1668
1885
  "kind": "qvec",
1886
+ "element_type": {
1887
+ "source_ref": null,
1888
+ "kind": "qbit"
1889
+ },
1669
1890
  "length": null
1670
1891
  },
1671
1892
  "size": null,
@@ -1678,6 +1899,10 @@ MULTISWAP = QuantumFunctionDeclaration.parse_raw(
1678
1899
  "quantum_type": {
1679
1900
  "source_ref": null,
1680
1901
  "kind": "qvec",
1902
+ "element_type": {
1903
+ "source_ref": null,
1904
+ "kind": "qbit"
1905
+ },
1681
1906
  "length": null
1682
1907
  },
1683
1908
  "size": null,
@@ -1693,6 +1918,10 @@ MULTISWAP = QuantumFunctionDeclaration.parse_raw(
1693
1918
  "quantum_type": {
1694
1919
  "source_ref": null,
1695
1920
  "kind": "qvec",
1921
+ "element_type": {
1922
+ "source_ref": null,
1923
+ "kind": "qbit"
1924
+ },
1696
1925
  "length": null
1697
1926
  },
1698
1927
  "size": null,
@@ -1705,6 +1934,10 @@ MULTISWAP = QuantumFunctionDeclaration.parse_raw(
1705
1934
  "quantum_type": {
1706
1935
  "source_ref": null,
1707
1936
  "kind": "qvec",
1937
+ "element_type": {
1938
+ "source_ref": null,
1939
+ "kind": "qbit"
1940
+ },
1708
1941
  "length": null
1709
1942
  },
1710
1943
  "size": null,
@@ -1736,6 +1969,10 @@ INPLACE_C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1736
1969
  "quantum_type": {
1737
1970
  "source_ref": null,
1738
1971
  "kind": "qvec",
1972
+ "element_type": {
1973
+ "source_ref": null,
1974
+ "kind": "qbit"
1975
+ },
1739
1976
  "length": null
1740
1977
  },
1741
1978
  "size": null,
@@ -1791,6 +2028,10 @@ INPLACE_C_MODULAR_MULTIPLY = QuantumFunctionDeclaration.parse_raw(
1791
2028
  "quantum_type": {
1792
2029
  "source_ref": null,
1793
2030
  "kind": "qvec",
2031
+ "element_type": {
2032
+ "source_ref": null,
2033
+ "kind": "qbit"
2034
+ },
1794
2035
  "length": null
1795
2036
  },
1796
2037
  "size": null,
@@ -1844,6 +2085,10 @@ MODULAR_EXP = QuantumFunctionDeclaration.parse_raw(
1844
2085
  "quantum_type": {
1845
2086
  "source_ref": null,
1846
2087
  "kind": "qvec",
2088
+ "element_type": {
2089
+ "source_ref": null,
2090
+ "kind": "qbit"
2091
+ },
1847
2092
  "length": null
1848
2093
  },
1849
2094
  "size": null,
@@ -1856,6 +2101,10 @@ MODULAR_EXP = QuantumFunctionDeclaration.parse_raw(
1856
2101
  "quantum_type": {
1857
2102
  "source_ref": null,
1858
2103
  "kind": "qvec",
2104
+ "element_type": {
2105
+ "source_ref": null,
2106
+ "kind": "qbit"
2107
+ },
1859
2108
  "length": null
1860
2109
  },
1861
2110
  "size": null,
@@ -1889,6 +2138,10 @@ MODULAR_EXP = QuantumFunctionDeclaration.parse_raw(
1889
2138
  "quantum_type": {
1890
2139
  "source_ref": null,
1891
2140
  "kind": "qvec",
2141
+ "element_type": {
2142
+ "source_ref": null,
2143
+ "kind": "qbit"
2144
+ },
1892
2145
  "length": null
1893
2146
  },
1894
2147
  "size": null,
@@ -1901,6 +2154,10 @@ MODULAR_EXP = QuantumFunctionDeclaration.parse_raw(
1901
2154
  "quantum_type": {
1902
2155
  "source_ref": null,
1903
2156
  "kind": "qvec",
2157
+ "element_type": {
2158
+ "source_ref": null,
2159
+ "kind": "qbit"
2160
+ },
1904
2161
  "length": null
1905
2162
  },
1906
2163
  "size": null,
@@ -1932,6 +2189,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
1932
2189
  "quantum_type": {
1933
2190
  "source_ref": null,
1934
2191
  "kind": "qvec",
2192
+ "element_type": {
2193
+ "source_ref": null,
2194
+ "kind": "qbit"
2195
+ },
1935
2196
  "length": null
1936
2197
  },
1937
2198
  "size": null,
@@ -1962,6 +2223,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
1962
2223
  "quantum_type": {
1963
2224
  "source_ref": null,
1964
2225
  "kind": "qvec",
2226
+ "element_type": {
2227
+ "source_ref": null,
2228
+ "kind": "qbit"
2229
+ },
1965
2230
  "length": null
1966
2231
  },
1967
2232
  "size": null,
@@ -1988,6 +2253,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
1988
2253
  "quantum_type": {
1989
2254
  "source_ref": null,
1990
2255
  "kind": "qvec",
2256
+ "element_type": {
2257
+ "source_ref": null,
2258
+ "kind": "qbit"
2259
+ },
1991
2260
  "length": null
1992
2261
  },
1993
2262
  "size": null,
@@ -2020,6 +2289,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2020
2289
  "quantum_type": {
2021
2290
  "source_ref": null,
2022
2291
  "kind": "qvec",
2292
+ "element_type": {
2293
+ "source_ref": null,
2294
+ "kind": "qbit"
2295
+ },
2023
2296
  "length": null
2024
2297
  },
2025
2298
  "size": null,
@@ -2046,6 +2319,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2046
2319
  "quantum_type": {
2047
2320
  "source_ref": null,
2048
2321
  "kind": "qvec",
2322
+ "element_type": {
2323
+ "source_ref": null,
2324
+ "kind": "qbit"
2325
+ },
2049
2326
  "length": null
2050
2327
  },
2051
2328
  "size": null,
@@ -2078,6 +2355,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2078
2355
  "quantum_type": {
2079
2356
  "source_ref": null,
2080
2357
  "kind": "qvec",
2358
+ "element_type": {
2359
+ "source_ref": null,
2360
+ "kind": "qbit"
2361
+ },
2081
2362
  "length": null
2082
2363
  },
2083
2364
  "size": null,
@@ -2093,6 +2374,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2093
2374
  "quantum_type": {
2094
2375
  "source_ref": null,
2095
2376
  "kind": "qvec",
2377
+ "element_type": {
2378
+ "source_ref": null,
2379
+ "kind": "qbit"
2380
+ },
2096
2381
  "length": null
2097
2382
  },
2098
2383
  "size": null,
@@ -2134,6 +2419,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2134
2419
  "quantum_type": {
2135
2420
  "source_ref": null,
2136
2421
  "kind": "qvec",
2422
+ "element_type": {
2423
+ "source_ref": null,
2424
+ "kind": "qbit"
2425
+ },
2137
2426
  "length": null
2138
2427
  },
2139
2428
  "size": null,
@@ -2160,6 +2449,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2160
2449
  "quantum_type": {
2161
2450
  "source_ref": null,
2162
2451
  "kind": "qvec",
2452
+ "element_type": {
2453
+ "source_ref": null,
2454
+ "kind": "qbit"
2455
+ },
2163
2456
  "length": null
2164
2457
  },
2165
2458
  "size": null,
@@ -2192,6 +2485,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2192
2485
  "quantum_type": {
2193
2486
  "source_ref": null,
2194
2487
  "kind": "qvec",
2488
+ "element_type": {
2489
+ "source_ref": null,
2490
+ "kind": "qbit"
2491
+ },
2195
2492
  "length": null
2196
2493
  },
2197
2494
  "size": null,
@@ -2218,6 +2515,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2218
2515
  "quantum_type": {
2219
2516
  "source_ref": null,
2220
2517
  "kind": "qvec",
2518
+ "element_type": {
2519
+ "source_ref": null,
2520
+ "kind": "qbit"
2521
+ },
2221
2522
  "length": null
2222
2523
  },
2223
2524
  "size": null,
@@ -2250,6 +2551,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2250
2551
  "quantum_type": {
2251
2552
  "source_ref": null,
2252
2553
  "kind": "qvec",
2554
+ "element_type": {
2555
+ "source_ref": null,
2556
+ "kind": "qbit"
2557
+ },
2253
2558
  "length": null
2254
2559
  },
2255
2560
  "size": null,
@@ -2265,6 +2570,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2265
2570
  "quantum_type": {
2266
2571
  "source_ref": null,
2267
2572
  "kind": "qvec",
2573
+ "element_type": {
2574
+ "source_ref": null,
2575
+ "kind": "qbit"
2576
+ },
2268
2577
  "length": null
2269
2578
  },
2270
2579
  "size": null,
@@ -2281,6 +2590,10 @@ QSVT_STEP = QuantumFunctionDeclaration.parse_raw(
2281
2590
  "quantum_type": {
2282
2591
  "source_ref": null,
2283
2592
  "kind": "qvec",
2593
+ "element_type": {
2594
+ "source_ref": null,
2595
+ "kind": "qbit"
2596
+ },
2284
2597
  "length": null
2285
2598
  },
2286
2599
  "size": null,
@@ -2323,6 +2636,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2323
2636
  "quantum_type": {
2324
2637
  "source_ref": null,
2325
2638
  "kind": "qvec",
2639
+ "element_type": {
2640
+ "source_ref": null,
2641
+ "kind": "qbit"
2642
+ },
2326
2643
  "length": null
2327
2644
  },
2328
2645
  "size": null,
@@ -2353,6 +2670,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2353
2670
  "quantum_type": {
2354
2671
  "source_ref": null,
2355
2672
  "kind": "qvec",
2673
+ "element_type": {
2674
+ "source_ref": null,
2675
+ "kind": "qbit"
2676
+ },
2356
2677
  "length": null
2357
2678
  },
2358
2679
  "size": null,
@@ -2379,6 +2700,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2379
2700
  "quantum_type": {
2380
2701
  "source_ref": null,
2381
2702
  "kind": "qvec",
2703
+ "element_type": {
2704
+ "source_ref": null,
2705
+ "kind": "qbit"
2706
+ },
2382
2707
  "length": null
2383
2708
  },
2384
2709
  "size": null,
@@ -2411,6 +2736,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2411
2736
  "quantum_type": {
2412
2737
  "source_ref": null,
2413
2738
  "kind": "qvec",
2739
+ "element_type": {
2740
+ "source_ref": null,
2741
+ "kind": "qbit"
2742
+ },
2414
2743
  "length": null
2415
2744
  },
2416
2745
  "size": null,
@@ -2437,6 +2766,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2437
2766
  "quantum_type": {
2438
2767
  "source_ref": null,
2439
2768
  "kind": "qvec",
2769
+ "element_type": {
2770
+ "source_ref": null,
2771
+ "kind": "qbit"
2772
+ },
2440
2773
  "length": null
2441
2774
  },
2442
2775
  "size": null,
@@ -2469,6 +2802,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2469
2802
  "quantum_type": {
2470
2803
  "source_ref": null,
2471
2804
  "kind": "qvec",
2805
+ "element_type": {
2806
+ "source_ref": null,
2807
+ "kind": "qbit"
2808
+ },
2472
2809
  "length": null
2473
2810
  },
2474
2811
  "size": null,
@@ -2484,6 +2821,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2484
2821
  "quantum_type": {
2485
2822
  "source_ref": null,
2486
2823
  "kind": "qvec",
2824
+ "element_type": {
2825
+ "source_ref": null,
2826
+ "kind": "qbit"
2827
+ },
2487
2828
  "length": null
2488
2829
  },
2489
2830
  "size": null,
@@ -2520,6 +2861,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2520
2861
  "quantum_type": {
2521
2862
  "source_ref": null,
2522
2863
  "kind": "qvec",
2864
+ "element_type": {
2865
+ "source_ref": null,
2866
+ "kind": "qbit"
2867
+ },
2523
2868
  "length": null
2524
2869
  },
2525
2870
  "size": null,
@@ -2546,6 +2891,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2546
2891
  "quantum_type": {
2547
2892
  "source_ref": null,
2548
2893
  "kind": "qvec",
2894
+ "element_type": {
2895
+ "source_ref": null,
2896
+ "kind": "qbit"
2897
+ },
2549
2898
  "length": null
2550
2899
  },
2551
2900
  "size": null,
@@ -2578,6 +2927,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2578
2927
  "quantum_type": {
2579
2928
  "source_ref": null,
2580
2929
  "kind": "qvec",
2930
+ "element_type": {
2931
+ "source_ref": null,
2932
+ "kind": "qbit"
2933
+ },
2581
2934
  "length": null
2582
2935
  },
2583
2936
  "size": null,
@@ -2604,6 +2957,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2604
2957
  "quantum_type": {
2605
2958
  "source_ref": null,
2606
2959
  "kind": "qvec",
2960
+ "element_type": {
2961
+ "source_ref": null,
2962
+ "kind": "qbit"
2963
+ },
2607
2964
  "length": null
2608
2965
  },
2609
2966
  "size": null,
@@ -2636,6 +2993,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2636
2993
  "quantum_type": {
2637
2994
  "source_ref": null,
2638
2995
  "kind": "qvec",
2996
+ "element_type": {
2997
+ "source_ref": null,
2998
+ "kind": "qbit"
2999
+ },
2639
3000
  "length": null
2640
3001
  },
2641
3002
  "size": null,
@@ -2651,6 +3012,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2651
3012
  "quantum_type": {
2652
3013
  "source_ref": null,
2653
3014
  "kind": "qvec",
3015
+ "element_type": {
3016
+ "source_ref": null,
3017
+ "kind": "qbit"
3018
+ },
2654
3019
  "length": null
2655
3020
  },
2656
3021
  "size": null,
@@ -2667,6 +3032,10 @@ QSVT = QuantumFunctionDeclaration.parse_raw(
2667
3032
  "quantum_type": {
2668
3033
  "source_ref": null,
2669
3034
  "kind": "qvec",
3035
+ "element_type": {
3036
+ "source_ref": null,
3037
+ "kind": "qbit"
3038
+ },
2670
3039
  "length": null
2671
3040
  },
2672
3041
  "size": null,
@@ -2705,6 +3074,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2705
3074
  "quantum_type": {
2706
3075
  "source_ref": null,
2707
3076
  "kind": "qvec",
3077
+ "element_type": {
3078
+ "source_ref": null,
3079
+ "kind": "qbit"
3080
+ },
2708
3081
  "length": null
2709
3082
  },
2710
3083
  "size": null,
@@ -2735,6 +3108,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2735
3108
  "quantum_type": {
2736
3109
  "source_ref": null,
2737
3110
  "kind": "qvec",
3111
+ "element_type": {
3112
+ "source_ref": null,
3113
+ "kind": "qbit"
3114
+ },
2738
3115
  "length": null
2739
3116
  },
2740
3117
  "size": null,
@@ -2761,6 +3138,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2761
3138
  "quantum_type": {
2762
3139
  "source_ref": null,
2763
3140
  "kind": "qvec",
3141
+ "element_type": {
3142
+ "source_ref": null,
3143
+ "kind": "qbit"
3144
+ },
2764
3145
  "length": null
2765
3146
  },
2766
3147
  "size": null,
@@ -2804,6 +3185,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2804
3185
  "quantum_type": {
2805
3186
  "source_ref": null,
2806
3187
  "kind": "qvec",
3188
+ "element_type": {
3189
+ "source_ref": null,
3190
+ "kind": "qbit"
3191
+ },
2807
3192
  "length": null
2808
3193
  },
2809
3194
  "size": null,
@@ -2830,6 +3215,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2830
3215
  "quantum_type": {
2831
3216
  "source_ref": null,
2832
3217
  "kind": "qvec",
3218
+ "element_type": {
3219
+ "source_ref": null,
3220
+ "kind": "qbit"
3221
+ },
2833
3222
  "length": null
2834
3223
  },
2835
3224
  "size": null,
@@ -2857,6 +3246,10 @@ PROJECTOR_CONTROLLED_PHASE = QuantumFunctionDeclaration.parse_raw(
2857
3246
  "quantum_type": {
2858
3247
  "source_ref": null,
2859
3248
  "kind": "qvec",
3249
+ "element_type": {
3250
+ "source_ref": null,
3251
+ "kind": "qbit"
3252
+ },
2860
3253
  "length": null
2861
3254
  },
2862
3255
  "size": null,
@@ -2899,6 +3292,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
2899
3292
  "quantum_type": {
2900
3293
  "source_ref": null,
2901
3294
  "kind": "qvec",
3295
+ "element_type": {
3296
+ "source_ref": null,
3297
+ "kind": "qbit"
3298
+ },
2902
3299
  "length": null
2903
3300
  },
2904
3301
  "size": null,
@@ -2929,6 +3326,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
2929
3326
  "quantum_type": {
2930
3327
  "source_ref": null,
2931
3328
  "kind": "qvec",
3329
+ "element_type": {
3330
+ "source_ref": null,
3331
+ "kind": "qbit"
3332
+ },
2932
3333
  "length": null
2933
3334
  },
2934
3335
  "size": null,
@@ -2955,6 +3356,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
2955
3356
  "quantum_type": {
2956
3357
  "source_ref": null,
2957
3358
  "kind": "qvec",
3359
+ "element_type": {
3360
+ "source_ref": null,
3361
+ "kind": "qbit"
3362
+ },
2958
3363
  "length": null
2959
3364
  },
2960
3365
  "size": null,
@@ -2987,6 +3392,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
2987
3392
  "quantum_type": {
2988
3393
  "source_ref": null,
2989
3394
  "kind": "qvec",
3395
+ "element_type": {
3396
+ "source_ref": null,
3397
+ "kind": "qbit"
3398
+ },
2990
3399
  "length": null
2991
3400
  },
2992
3401
  "size": null,
@@ -3002,6 +3411,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3002
3411
  "quantum_type": {
3003
3412
  "source_ref": null,
3004
3413
  "kind": "qvec",
3414
+ "element_type": {
3415
+ "source_ref": null,
3416
+ "kind": "qbit"
3417
+ },
3005
3418
  "length": null
3006
3419
  },
3007
3420
  "size": null,
@@ -3038,6 +3451,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3038
3451
  "quantum_type": {
3039
3452
  "source_ref": null,
3040
3453
  "kind": "qvec",
3454
+ "element_type": {
3455
+ "source_ref": null,
3456
+ "kind": "qbit"
3457
+ },
3041
3458
  "length": null
3042
3459
  },
3043
3460
  "size": null,
@@ -3064,6 +3481,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3064
3481
  "quantum_type": {
3065
3482
  "source_ref": null,
3066
3483
  "kind": "qvec",
3484
+ "element_type": {
3485
+ "source_ref": null,
3486
+ "kind": "qbit"
3487
+ },
3067
3488
  "length": null
3068
3489
  },
3069
3490
  "size": null,
@@ -3096,6 +3517,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3096
3517
  "quantum_type": {
3097
3518
  "source_ref": null,
3098
3519
  "kind": "qvec",
3520
+ "element_type": {
3521
+ "source_ref": null,
3522
+ "kind": "qbit"
3523
+ },
3099
3524
  "length": null
3100
3525
  },
3101
3526
  "size": null,
@@ -3111,6 +3536,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3111
3536
  "quantum_type": {
3112
3537
  "source_ref": null,
3113
3538
  "kind": "qvec",
3539
+ "element_type": {
3540
+ "source_ref": null,
3541
+ "kind": "qbit"
3542
+ },
3114
3543
  "length": null
3115
3544
  },
3116
3545
  "size": null,
@@ -3127,6 +3556,10 @@ QSVT_INVERSION = QuantumFunctionDeclaration.parse_raw(
3127
3556
  "quantum_type": {
3128
3557
  "source_ref": null,
3129
3558
  "kind": "qvec",
3559
+ "element_type": {
3560
+ "source_ref": null,
3561
+ "kind": "qbit"
3562
+ },
3130
3563
  "length": null
3131
3564
  },
3132
3565
  "size": null,
@@ -3430,6 +3863,10 @@ SWAP_TEST = QuantumFunctionDeclaration.parse_raw(
3430
3863
  "quantum_type": {
3431
3864
  "source_ref": null,
3432
3865
  "kind": "qvec",
3866
+ "element_type": {
3867
+ "source_ref": null,
3868
+ "kind": "qbit"
3869
+ },
3433
3870
  "length": null
3434
3871
  },
3435
3872
  "size": null,
@@ -3442,6 +3879,10 @@ SWAP_TEST = QuantumFunctionDeclaration.parse_raw(
3442
3879
  "quantum_type": {
3443
3880
  "source_ref": null,
3444
3881
  "kind": "qvec",
3882
+ "element_type": {
3883
+ "source_ref": null,
3884
+ "kind": "qbit"
3885
+ },
3445
3886
  "length": null
3446
3887
  },
3447
3888
  "size": null,
@@ -3468,6 +3909,10 @@ SWAP_TEST = QuantumFunctionDeclaration.parse_raw(
3468
3909
  "quantum_type": {
3469
3910
  "source_ref": null,
3470
3911
  "kind": "qvec",
3912
+ "element_type": {
3913
+ "source_ref": null,
3914
+ "kind": "qbit"
3915
+ },
3471
3916
  "length": null
3472
3917
  },
3473
3918
  "size": null,
@@ -3480,6 +3925,10 @@ SWAP_TEST = QuantumFunctionDeclaration.parse_raw(
3480
3925
  "quantum_type": {
3481
3926
  "source_ref": null,
3482
3927
  "kind": "qvec",
3928
+ "element_type": {
3929
+ "source_ref": null,
3930
+ "kind": "qbit"
3931
+ },
3483
3932
  "length": null
3484
3933
  },
3485
3934
  "size": null,
@@ -3518,6 +3967,10 @@ PREPARE_GHZ_STATE = QuantumFunctionDeclaration.parse_raw(
3518
3967
  "quantum_type": {
3519
3968
  "source_ref": null,
3520
3969
  "kind": "qvec",
3970
+ "element_type": {
3971
+ "source_ref": null,
3972
+ "kind": "qbit"
3973
+ },
3521
3974
  "length": null
3522
3975
  },
3523
3976
  "size": null,
@@ -3542,6 +3995,10 @@ PREPARE_GHZ_STATE = QuantumFunctionDeclaration.parse_raw(
3542
3995
  "quantum_type": {
3543
3996
  "source_ref": null,
3544
3997
  "kind": "qvec",
3998
+ "element_type": {
3999
+ "source_ref": null,
4000
+ "kind": "qbit"
4001
+ },
3545
4002
  "length": null
3546
4003
  },
3547
4004
  "size": null,
@@ -3569,6 +4026,10 @@ PREPARE_EXPONENTIAL_STATE = QuantumFunctionDeclaration.parse_raw(
3569
4026
  "quantum_type": {
3570
4027
  "source_ref": null,
3571
4028
  "kind": "qvec",
4029
+ "element_type": {
4030
+ "source_ref": null,
4031
+ "kind": "qbit"
4032
+ },
3572
4033
  "length": null
3573
4034
  },
3574
4035
  "size": null,
@@ -3593,6 +4054,10 @@ PREPARE_EXPONENTIAL_STATE = QuantumFunctionDeclaration.parse_raw(
3593
4054
  "quantum_type": {
3594
4055
  "source_ref": null,
3595
4056
  "kind": "qvec",
4057
+ "element_type": {
4058
+ "source_ref": null,
4059
+ "kind": "qbit"
4060
+ },
3596
4061
  "length": null
3597
4062
  },
3598
4063
  "size": null,
@@ -3620,6 +4085,10 @@ PREPARE_BELL_STATE = QuantumFunctionDeclaration.parse_raw(
3620
4085
  "quantum_type": {
3621
4086
  "source_ref": null,
3622
4087
  "kind": "qvec",
4088
+ "element_type": {
4089
+ "source_ref": null,
4090
+ "kind": "qbit"
4091
+ },
3623
4092
  "length": {
3624
4093
  "source_ref": null,
3625
4094
  "expr": "2"
@@ -3647,6 +4116,10 @@ PREPARE_BELL_STATE = QuantumFunctionDeclaration.parse_raw(
3647
4116
  "quantum_type": {
3648
4117
  "source_ref": null,
3649
4118
  "kind": "qvec",
4119
+ "element_type": {
4120
+ "source_ref": null,
4121
+ "kind": "qbit"
4122
+ },
3650
4123
  "length": {
3651
4124
  "source_ref": null,
3652
4125
  "expr": "2"
@@ -3677,6 +4150,10 @@ INPLACE_PREPARE_INT = QuantumFunctionDeclaration.parse_raw(
3677
4150
  "quantum_type": {
3678
4151
  "source_ref": null,
3679
4152
  "kind": "qvec",
4153
+ "element_type": {
4154
+ "source_ref": null,
4155
+ "kind": "qbit"
4156
+ },
3680
4157
  "length": null
3681
4158
  },
3682
4159
  "size": null,
@@ -3701,6 +4178,10 @@ INPLACE_PREPARE_INT = QuantumFunctionDeclaration.parse_raw(
3701
4178
  "quantum_type": {
3702
4179
  "source_ref": null,
3703
4180
  "kind": "qvec",
4181
+ "element_type": {
4182
+ "source_ref": null,
4183
+ "kind": "qbit"
4184
+ },
3704
4185
  "length": null
3705
4186
  },
3706
4187
  "size": null,
@@ -3888,6 +4369,10 @@ _QCT_PI_OPERATOR = QuantumFunctionDeclaration.parse_raw(
3888
4369
  "quantum_type": {
3889
4370
  "source_ref": null,
3890
4371
  "kind": "qvec",
4372
+ "element_type": {
4373
+ "source_ref": null,
4374
+ "kind": "qbit"
4375
+ },
3891
4376
  "length": null
3892
4377
  },
3893
4378
  "size": null,
@@ -3914,6 +4399,10 @@ _QCT_PI_OPERATOR = QuantumFunctionDeclaration.parse_raw(
3914
4399
  "quantum_type": {
3915
4400
  "source_ref": null,
3916
4401
  "kind": "qvec",
4402
+ "element_type": {
4403
+ "source_ref": null,
4404
+ "kind": "qbit"
4405
+ },
3917
4406
  "length": null
3918
4407
  },
3919
4408
  "size": null,
@@ -3947,6 +4436,10 @@ QCT_QST_TYPE1 = QuantumFunctionDeclaration.parse_raw(
3947
4436
  "quantum_type": {
3948
4437
  "source_ref": null,
3949
4438
  "kind": "qvec",
4439
+ "element_type": {
4440
+ "source_ref": null,
4441
+ "kind": "qbit"
4442
+ },
3950
4443
  "length": null
3951
4444
  },
3952
4445
  "size": null,
@@ -3962,6 +4455,10 @@ QCT_QST_TYPE1 = QuantumFunctionDeclaration.parse_raw(
3962
4455
  "quantum_type": {
3963
4456
  "source_ref": null,
3964
4457
  "kind": "qvec",
4458
+ "element_type": {
4459
+ "source_ref": null,
4460
+ "kind": "qbit"
4461
+ },
3965
4462
  "length": null
3966
4463
  },
3967
4464
  "size": null,
@@ -3984,6 +4481,10 @@ QCT_QST_TYPE2 = QuantumFunctionDeclaration.parse_raw(
3984
4481
  "quantum_type": {
3985
4482
  "source_ref": null,
3986
4483
  "kind": "qvec",
4484
+ "element_type": {
4485
+ "source_ref": null,
4486
+ "kind": "qbit"
4487
+ },
3987
4488
  "length": null
3988
4489
  },
3989
4490
  "size": null,
@@ -4010,6 +4511,10 @@ QCT_QST_TYPE2 = QuantumFunctionDeclaration.parse_raw(
4010
4511
  "quantum_type": {
4011
4512
  "source_ref": null,
4012
4513
  "kind": "qvec",
4514
+ "element_type": {
4515
+ "source_ref": null,
4516
+ "kind": "qbit"
4517
+ },
4013
4518
  "length": null
4014
4519
  },
4015
4520
  "size": null,
@@ -4043,6 +4548,10 @@ QCT_TYPE2 = QuantumFunctionDeclaration.parse_raw(
4043
4548
  "quantum_type": {
4044
4549
  "source_ref": null,
4045
4550
  "kind": "qvec",
4551
+ "element_type": {
4552
+ "source_ref": null,
4553
+ "kind": "qbit"
4554
+ },
4046
4555
  "length": null
4047
4556
  },
4048
4557
  "size": null,
@@ -4058,6 +4567,10 @@ QCT_TYPE2 = QuantumFunctionDeclaration.parse_raw(
4058
4567
  "quantum_type": {
4059
4568
  "source_ref": null,
4060
4569
  "kind": "qvec",
4570
+ "element_type": {
4571
+ "source_ref": null,
4572
+ "kind": "qbit"
4573
+ },
4061
4574
  "length": null
4062
4575
  },
4063
4576
  "size": null,
@@ -4080,6 +4593,10 @@ QST_TYPE2 = QuantumFunctionDeclaration.parse_raw(
4080
4593
  "quantum_type": {
4081
4594
  "source_ref": null,
4082
4595
  "kind": "qvec",
4596
+ "element_type": {
4597
+ "source_ref": null,
4598
+ "kind": "qbit"
4599
+ },
4083
4600
  "length": null
4084
4601
  },
4085
4602
  "size": null,
@@ -4095,6 +4612,10 @@ QST_TYPE2 = QuantumFunctionDeclaration.parse_raw(
4095
4612
  "quantum_type": {
4096
4613
  "source_ref": null,
4097
4614
  "kind": "qvec",
4615
+ "element_type": {
4616
+ "source_ref": null,
4617
+ "kind": "qbit"
4618
+ },
4098
4619
  "length": null
4099
4620
  },
4100
4621
  "size": null,
@@ -4122,6 +4643,10 @@ MODULAR_INCREMENT = QuantumFunctionDeclaration.parse_raw(
4122
4643
  "quantum_type": {
4123
4644
  "source_ref": null,
4124
4645
  "kind": "qvec",
4646
+ "element_type": {
4647
+ "source_ref": null,
4648
+ "kind": "qbit"
4649
+ },
4125
4650
  "length": null
4126
4651
  },
4127
4652
  "size": null,
@@ -4146,6 +4671,10 @@ MODULAR_INCREMENT = QuantumFunctionDeclaration.parse_raw(
4146
4671
  "quantum_type": {
4147
4672
  "source_ref": null,
4148
4673
  "kind": "qvec",
4674
+ "element_type": {
4675
+ "source_ref": null,
4676
+ "kind": "qbit"
4677
+ },
4149
4678
  "length": null
4150
4679
  },
4151
4680
  "size": null,