|
72 | 72 | import qualtran.bloqs.block_encoding.phase |
73 | 73 | import qualtran.bloqs.block_encoding.product |
74 | 74 | import qualtran.bloqs.block_encoding.sparse_matrix |
| 75 | +import qualtran.bloqs.block_encoding.sparse_matrix_hermitian |
75 | 76 | import qualtran.bloqs.block_encoding.tensor_product |
76 | 77 | import qualtran.bloqs.block_encoding.unitary |
77 | 78 | import qualtran.bloqs.bookkeeping |
|
106 | 107 | import qualtran.bloqs.factoring.ecc |
107 | 108 | import qualtran.bloqs.factoring.mod_exp |
108 | 109 | import qualtran.bloqs.hamiltonian_simulation.hamiltonian_simulation_by_gqsp |
| 110 | +import qualtran.bloqs.max_k_xor_sat |
| 111 | +import qualtran.bloqs.max_k_xor_sat.arithmetic |
| 112 | +import qualtran.bloqs.max_k_xor_sat.arithmetic.has_duplicates |
| 113 | +import qualtran.bloqs.max_k_xor_sat.arithmetic.sort_in_place |
| 114 | +import qualtran.bloqs.max_k_xor_sat.arithmetic.symmetric_difference |
| 115 | +import qualtran.bloqs.max_k_xor_sat.guided_hamiltonian |
| 116 | +import qualtran.bloqs.max_k_xor_sat.guided_hamiltonian.guided_hamiltonian |
| 117 | +import qualtran.bloqs.max_k_xor_sat.guided_hamiltonian.walk_operator |
| 118 | +import qualtran.bloqs.max_k_xor_sat.guiding_state |
| 119 | +import qualtran.bloqs.max_k_xor_sat.kikuchi_block_encoding |
| 120 | +import qualtran.bloqs.max_k_xor_sat.load_kxor_instance |
| 121 | +import qualtran.bloqs.max_k_xor_sat.planted_noisy_kxor |
109 | 122 | import qualtran.bloqs.mcmt.and_bloq |
110 | 123 | import qualtran.bloqs.mcmt.controlled_via_and |
111 | 124 | import qualtran.bloqs.mcmt.ctrl_spec_and |
|
710 | 723 | module=qualtran.bloqs.block_encoding.sparse_matrix, |
711 | 724 | bloq_specs=[qualtran.bloqs.block_encoding.sparse_matrix._SPARSE_MATRIX_DOC], |
712 | 725 | ), |
| 726 | + NotebookSpecV2( |
| 727 | + title='Sparse Matrix (Hermitian)', |
| 728 | + module=qualtran.bloqs.block_encoding.sparse_matrix_hermitian, |
| 729 | + bloq_specs=[ |
| 730 | + qualtran.bloqs.block_encoding.sparse_matrix_hermitian._SPARSE_MATRIX_HERMITIAN_DOC |
| 731 | + ], |
| 732 | + ), |
713 | 733 | NotebookSpecV2( |
714 | 734 | title='Chebyshev Polynomial', |
715 | 735 | module=qualtran.bloqs.block_encoding.chebyshev_polynomial, |
|
839 | 859 | ], |
840 | 860 | ), |
841 | 861 | ] |
| 862 | +# -------------------------------------------------------------------------- |
| 863 | +# ----- Quartic Speedups paper ------------------------------------------ |
| 864 | +# -------------------------------------------------------------------------- |
| 865 | +ALGO_QUARTIC_SPEEDUPS = [ |
| 866 | + # ----- Preliminaries ------------------------------------------ |
| 867 | + NotebookSpecV2( |
| 868 | + title='Guided (sparse) Hamiltonian Problem', |
| 869 | + module=qualtran.bloqs.max_k_xor_sat.guided_hamiltonian.guided_hamiltonian, |
| 870 | + bloq_specs=[ |
| 871 | + qualtran.bloqs.max_k_xor_sat.guided_hamiltonian.guided_hamiltonian._GUIDED_HAMILTONIAN_DOC, |
| 872 | + qualtran.bloqs.max_k_xor_sat.guided_hamiltonian.guided_hamiltonian._GUIDED_HAMILTONIAN_PHASE_ESTIMATION_DOC, |
| 873 | + ], |
| 874 | + ), |
| 875 | + NotebookSpecV2( |
| 876 | + title='Arithmetic Primitives', |
| 877 | + module=qualtran.bloqs.max_k_xor_sat.arithmetic, |
| 878 | + bloq_specs=[ |
| 879 | + qualtran.bloqs.max_k_xor_sat.arithmetic.sort_in_place._SORT_IN_PLACE_DOC, |
| 880 | + qualtran.bloqs.max_k_xor_sat.arithmetic.symmetric_difference._SYMMETRIC_DIFFERENCE_DOC, |
| 881 | + qualtran.bloqs.max_k_xor_sat.arithmetic.has_duplicates._HAS_DUPLICATES_DOC, |
| 882 | + ], |
| 883 | + ), |
| 884 | + # ----- Algorithm ------------------------------------------ |
| 885 | + NotebookSpecV2( |
| 886 | + title='kXOR: Instance load Oracles', |
| 887 | + module=qualtran.bloqs.max_k_xor_sat.load_kxor_instance, |
| 888 | + bloq_specs=[qualtran.bloqs.max_k_xor_sat.load_kxor_instance._LOAD_INSTANCE_DOC], |
| 889 | + ), |
| 890 | + NotebookSpecV2( |
| 891 | + title='Noisy kXOR: Guiding State', |
| 892 | + module=qualtran.bloqs.max_k_xor_sat.guiding_state, |
| 893 | + bloq_specs=[ |
| 894 | + qualtran.bloqs.max_k_xor_sat.guiding_state._SIMPLE_GUIDING_STATE_DOC, |
| 895 | + qualtran.bloqs.max_k_xor_sat.guiding_state._GUIDING_STATE_DOC, |
| 896 | + ], |
| 897 | + ), |
| 898 | + NotebookSpecV2( |
| 899 | + title='Noisy kXOR: Block-encoding the Kikuchi Matrix', |
| 900 | + module=qualtran.bloqs.max_k_xor_sat.kikuchi_block_encoding, |
| 901 | + bloq_specs=[ |
| 902 | + qualtran.bloqs.max_k_xor_sat.kikuchi_adjacency_matrix._KIKUCHI_MATRIX_ENTRY_DOC, |
| 903 | + qualtran.bloqs.max_k_xor_sat.kikuchi_adjacency_list._KIKUCHI_NONZERO_INDEX_DOC, |
| 904 | + qualtran.bloqs.max_k_xor_sat.kikuchi_block_encoding._KIKUCHI_HAMILTONIAN_DOC, |
| 905 | + ], |
| 906 | + ), |
| 907 | + NotebookSpecV2( |
| 908 | + title='Algorithm: Planted Noise kXOR', |
| 909 | + module=qualtran.bloqs.max_k_xor_sat.planted_noisy_kxor, |
| 910 | + bloq_specs=[qualtran.bloqs.max_k_xor_sat.planted_noisy_kxor._PLANTED_NOISY_KXOR_DOC], |
| 911 | + ), |
| 912 | +] |
842 | 913 |
|
843 | 914 | # -------------------------------------------------------------------------- |
844 | 915 | # ----- Concepts ------------------------------------------------------- |
|
865 | 936 | ('Modular Arithmetic', MOD_ARITHMETIC), |
866 | 937 | ('Rotations', ROT_QFT_PE), |
867 | 938 | ('Block Encoding', BLOCK_ENCODING), |
| 939 | + ('Paper: Quartic Quantum Speedups for Planted Inference', ALGO_QUARTIC_SPEEDUPS), |
868 | 940 | ('Other', OTHER), |
869 | 941 | ] |
870 | 942 |
|
|
0 commit comments