quantumlib / Qualtran

Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
https://qualtran.readthedocs.io/en/latest/
Apache License 2.0
173 stars 40 forks source link

287 slow tests aren't slow #1080

Closed mpharrigan closed 1 month ago

mpharrigan commented 3 months ago

Currently, we have 372 unit tests marked slow. On my macbook, 287 of them take less than 1s to run

time | test ----|---- 0.04s call | qualtran/bloqs/arithmetic/hamming_weight_test.py::test_hamming_weight_compute[3] 0.54s call | qualtran/bloqs/arithmetic/hamming_weight_test.py::test_hamming_weight_compute[4] 0.15s call | qualtran/bloqs/chemistry/sparse/sparse_test.py::test_sparse_costs_against_openfermion[12-4] 0.30s call | qualtran/bloqs/chemistry/sparse/sparse_test.py::test_sparse_costs_against_openfermion[16-3] 0.09s call | qualtran/bloqs/chemistry/sparse/sparse_test.py::test_sparse_costs_against_openfermion[8-3] 0.57s call | qualtran/bloqs/data_loading/qrom_test.py::test_qrom_1d_full[0-data0] 0.32s call | qualtran/bloqs/data_loading/qrom_test.py::test_qrom_1d_full[0-data1] 0.73s call | qualtran/bloqs/data_loading/qrom_test.py::test_qrom_1d_full[1-data1] 0.34s call | qualtran/bloqs/data_loading/qrom_test.py::test_qrom_multi_dim_full[0-data1] 0.54s call | qualtran/bloqs/data_loading/qrom_test.py::test_qrom_multi_dim_full[1-data1] 0.11s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[0-data0] 0.08s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[0-data1] 0.02s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[0-data2] 0.46s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[1-data0] 0.82s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[1-data1] 0.12s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[None-data0] 0.08s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[None-data1] 0.02s call | qualtran/bloqs/data_loading/select_swap_qrom_test.py::test_select_swap_qrom[None-data2] 0.47s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-10-1] 0.39s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-10-2] 0.27s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-2-1] 0.24s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-2-2] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-3-1] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-3-2] 0.27s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-5-1] 0.27s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-05-5-2] 0.59s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-10-1] 0.50s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-10-2] 0.29s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-2-1] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-2-2] 0.26s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-3-1] 0.26s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-3-2] 0.28s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-5-1] 0.28s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_generalized_qsp_with_exp_cos_approx_on_random_unitaries[1e-07-5-2] 0.23s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-2-1-1] 0.18s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-2-2-1] 0.20s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-3-1-1] 0.21s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-3-2-1] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-5-1-1] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-05-5-2-1] 0.20s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-2-1-1] 0.21s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-2-2-1] 0.23s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-3-1-1] 0.23s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-3-2-1] 0.27s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-5-1-1] 0.29s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-07-5-2-1] 0.24s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-09-2-1-1] 0.23s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-09-2-2-1] 0.25s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-09-3-1-1] 0.27s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-09-3-2-1] 0.59s call | qualtran/bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp_test.py::test_hamiltonian_simulation_by_gqsp[1e-09-5-1-1] 0.04s call | qualtran/bloqs/multiplexers/selected_majorana_fermion_test.py::test_selected_majorana_fermion_gate[target_gate0-2-4] 0.45s call | qualtran/bloqs/multiplexers/selected_majorana_fermion_test.py::test_selected_majorana_fermion_gate[target_gate0-3-8] 0.03s call | qualtran/bloqs/multiplexers/selected_majorana_fermion_test.py::test_selected_majorana_fermion_gate[target_gate1-2-4] 0.39s call | qualtran/bloqs/multiplexers/selected_majorana_fermion_test.py::test_selected_majorana_fermion_gate[target_gate1-3-8] 0.18s call | qualtran/bloqs/multiplexers/unary_iteration_bloq_test.py::test_multi_dimensional_unary_iteration_gate[target_shape1] 0.02s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_bloq_autotester[counts] 0.02s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_bloq_autotester[decompose] 0.02s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_bloq_autotester[qtyping] 0.16s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_chem_thc_bloq_autotester[counts] 0.15s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_chem_thc_bloq_autotester[decompose] 0.09s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_chem_thc_bloq_autotester[make] 0.15s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_chem_thc_bloq_autotester[qtyping] 0.05s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_sparse_chem_bloq_autotester[counts] 0.05s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_sparse_chem_bloq_autotester[decompose] 0.05s call | qualtran/bloqs/phase_estimation/qubitization_qpe_test.py::test_qubitization_qpe_sparse_chem_bloq_autotester[qtyping] 0.29s call | qualtran/bloqs/phase_estimation/text_book_qpe_test.py::test_textbook_phase_estimation_qubitized_walk[False-2] 0.37s call | qualtran/bloqs/phase_estimation/text_book_qpe_test.py::test_textbook_phase_estimation_qubitized_walk[True-2] 0.01s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[False-5] 0.01s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[False-6] 0.02s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[False-7] 0.01s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[True-5] 0.01s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[True-6] 0.02s call | qualtran/bloqs/qft/qft_text_book_test.py::test_qft_text_book[True-7] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_fast_qsp_on_random_unitaries[2-10] 0.07s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_fast_qsp_on_random_unitaries[3-10] 0.14s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_fast_qsp_on_random_unitaries[4-10] 0.23s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_fast_qsp_on_random_unitaries[5-10] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-0-1e-05-1] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-0-1e-05-2] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-0-1e-05-3] 0.03s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-1-1e-05-1] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-1-1e-05-2] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-1-1e-05-3] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-1e-05-1] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-1e-05-2] 0.04s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-1e-05-3] 0.26s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-0-0.0001-1] 0.24s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-0-0.0001-2] 0.25s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-0-0.0001-3] 0.26s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-1-0.0001-1] 0.24s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-1-0.0001-2] 0.25s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-1-0.0001-3] 0.26s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-2-0.0001-1] 0.24s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-2-0.0001-2] 0.25s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[5-2-0.0001-3] 0.64s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[10-10-0.02] 0.33s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[2-10-0.02] 0.34s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[3-10-0.02] 0.35s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[4-10-0.05] 0.39s call | qualtran/bloqs/qsp/fast_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[5-10-0.02] 0.34s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[10] 0.37s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[20] 0.31s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[3] 0.40s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[30] 0.32s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[4] 0.32s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_complementary_polynomial[5] 0.82s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-100-1] 0.88s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-100-2] 0.84s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-100-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-2-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-2-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-2-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-3-1] 0.04s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-3-2] 0.04s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-3-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-4-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-4-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-4-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-5-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-5-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-5-3] 0.32s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-50-1] 0.32s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-50-2] 0.33s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[0-50-3] 0.80s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-100-1] 0.85s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-100-2] 0.89s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-100-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-2-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-2-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-2-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-3-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-3-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-3-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-4-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-4-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-4-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-5-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-5-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-5-3] 0.34s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-50-1] 0.35s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-50-2] 0.32s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[1-50-3] 0.99s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-100-1] 0.96s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-100-2] 0.01s teardown | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-120-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-1] 0.07s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-2-3] 0.06s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-3-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-3-2] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-3-3] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-4-1] 0.05s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-4-2] 0.06s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-4-3] 0.06s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-5-1] 0.07s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-5-2] 0.06s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-5-3] 0.39s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-50-1] 0.40s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-50-2] 0.41s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_complex_poly_on_random_unitaries[2-50-3] 0.53s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[100-1] 0.64s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[100-2] 0.53s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[100-3] 0.96s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[150-3] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[2-1] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[2-2] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[2-3] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[3-1] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[3-2] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[3-3] 0.04s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[4-1] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[4-2] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[4-3] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[5-1] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[5-2] 0.03s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[5-3] 0.20s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[50-1] 0.22s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[50-2] 0.22s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_qsp_with_real_poly_on_random_unitaries[50-3] 0.48s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_real_qsp_with_symbolic_signal_matrix[2] 0.58s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_real_qsp_with_symbolic_signal_matrix[3] 0.77s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_generalized_real_qsp_with_symbolic_signal_matrix[4] 0.01s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[10] 0.25s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[100] 0.01s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[20] 0.01s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[3] 0.02s call | qualtran/bloqs/qsp/generalized_qsp_test.py::test_real_polynomial_has_real_complementary_polynomial[30] 0.14s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[-1.1934341-0.001-2] 0.14s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[-1.1934341-0.001-3] 0.67s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[0.1-0.001-2] 0.75s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[0.1-0.001-3] 0.03s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[0.5-0.01-2] 0.02s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[0.5-0.01-3] 0.03s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[1-0.1-2] 0.05s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[1-0.1-3] 0.57s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[1.20345-0.001-2] 0.65s call | qualtran/bloqs/rotations/hamming_weight_phasing_test.py::test_hamming_weight_phasing_via_phase_gradient[1.20345-0.001-3] 0.88s call | qualtran/bloqs/rotations/phase_gradient_test.py::test_add_scaled_val_into_phase_reg[bloq0] 0.38s call | qualtran/bloqs/rotations/phase_gradient_test.py::test_add_scaled_val_into_phase_reg[bloq1] 0.40s call | qualtran/bloqs/rotations/phase_gradient_test.py::test_add_scaled_val_into_phase_reg[bloq3] 0.10s call | qualtran/bloqs/rotations/phase_gradient_test.py::test_add_scaled_val_into_phase_reg[bloq4] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2--1.1934341-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2--1.1934341-0.0005-False-True] 0.72s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2--1.1934341-0.0005-True-True] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2-0.1-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2-0.1-0.0005-False-True] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2-1.20345-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[2-1.20345-0.0005-False-True] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3--1.1934341-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3--1.1934341-0.0005-False-True] 0.79s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3--1.1934341-0.0005-True-True] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3-0.1-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3-0.1-0.0005-False-True] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3-1.20345-0.0005-False-False] 0.01s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_hamming_weight_phasing_using_phase_via_cost_function[3-1.20345-0.0005-False-True] 0.33s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_square_phasing_via_phase_gradient[2--1.1934341-0.05-True-True] 0.18s call | qualtran/bloqs/rotations/phasing_via_cost_function_test.py::test_square_phasing_via_phase_gradient[2-1.20345-0.05-True-False] 0.17s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-1-angles0] 0.06s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-1-angles1] 0.79s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-10-angles0] 0.35s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-10-angles1] 0.65s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-11-angles1] 0.18s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-2-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-2-angles1] 0.15s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-3-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-3-angles1] 0.10s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-4-angles0] 0.06s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-4-angles1] 0.16s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-5-angles0] 0.08s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-5-angles1] 0.18s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-6-angles0] 0.09s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-6-angles1] 0.24s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-7-angles0] 0.10s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-7-angles1] 0.29s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-8-angles0] 0.14s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-8-angles1] 0.47s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-9-angles0] 0.21s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_custom_prga-9-angles1] 0.15s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-1-angles0] 0.05s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-1-angles1] 0.58s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-10-angles0] 0.28s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-10-angles1] 0.97s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-11-angles0] 0.50s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-11-angles1] 0.17s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-2-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-2-angles1] 0.14s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-3-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-3-angles1] 0.10s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-4-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-4-angles1] 0.16s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-5-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-5-angles1] 0.16s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-6-angles0] 0.08s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-6-angles1] 0.21s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-7-angles0] 0.09s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-7-angles1] 0.24s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-8-angles0] 0.12s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-8-angles1] 0.38s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-9-angles0] 0.18s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_identity-9-angles1] 0.15s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-1-angles0] 0.05s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-1-angles1] 0.57s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-10-angles0] 0.29s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-10-angles1] 0.99s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-11-angles0] 0.52s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-11-angles1] 0.17s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-2-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-2-angles1] 0.15s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-3-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-3-angles1] 0.10s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-4-angles0] 0.06s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-4-angles1] 0.15s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-5-angles0] 0.07s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-5-angles1] 0.16s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-6-angles0] 0.08s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-6-angles1] 0.20s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-7-angles0] 0.09s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-7-angles1] 0.24s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-8-angles0] 0.27s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-8-angles1] 0.36s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-9-angles0] 0.19s call | qualtran/bloqs/rotations/programmable_rotation_gate_array_test.py::test_programmable_rotation_gate_array[construct_prga_with_phase-9-angles1] 0.78s call | qualtran/bloqs/state_preparation/state_preparation_alias_sampling_test.py::test_state_preparation_via_coherent_alias_sampling[2-0.003] 0.12s call | qualtran/bloqs/swap_network/swap_with_zero_test.py::test_swap_with_zero_bloq[2-2-3] 0.51s call | qualtran/bloqs/swap_network/swap_with_zero_test.py::test_swap_with_zero_bloq[2-3-4] 0.57s call | qualtran/bloqs/swap_network/swap_with_zero_test.py::test_swap_with_zero_bloq[3-2-5]
mpharrigan commented 3 months ago

generalized_qsp_test.py -- each parameterized test is pretty quick. There's just a lot of them. @anurudhp can you be more judicious with your parameter selection and unmark as slow