Closed ikanago closed 2 years ago
qulacs_osaka==0.4.0 を import して Ctrl-D でインタプリタを終了するとカバレッジツールらしきものが動いていました.たぶん wheel のビルドで USE_TEST=Yes になっているからかなと思います.
USE_TEST=Yes
動作に問題はないんですがかなり邪魔なので,修正したらすぐに 0.4.1 をリリースしていいと思います.
解決していそうなので、closeしておきます。
qulacs_osaka==0.4.0 を import して Ctrl-D でインタプリタを終了するとカバレッジツールらしきものが動いていました.たぶん wheel のビルドで
USE_TEST=Yes
になっているからかなと思います.動作に問題はないんですがかなり邪魔なので,修正したらすぐに 0.4.1 をリリースしていいと思います.
出力の詳細
``` Python 3.9.12 (main, Apr 7 2022, 04:19:52) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import qulacs >>> profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_phase_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_dense_double.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/constant.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/utility.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_reversible_boolean.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_reflection.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_pauli_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_pauli_multi.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_state.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_projection.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_Z.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_Y.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_X.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_SWAP.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_H.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_CZ.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named_CNOT.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_named.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_diagonal_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_diagonal_multi.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_dense_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_dense_multi_eigen.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_matrix_dense_multi.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_dm.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_control_single_target_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_control_single_target_multi.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_control_multi_target_single.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/update_ops_control_multi_target_multi.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/stat_ops_transition_amplitude.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/stat_ops_probability.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/stat_ops_expectation_value.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/stat_ops_dm.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/stat_ops.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/memory_ops_dm.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/memory_ops.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/init_ops_random.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/csim/CMakeFiles/csim_static.dir/init_ops_fill.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/utility.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/state_dm.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/state.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/simulator.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/qubit_info.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/pauli_operator.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/observable.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/noisesimulator.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/general_quantum_operator.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate_merge.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate_matrix_sparse.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate_matrix_diagonal.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate_matrix.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate_factory.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/gate.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/circuit_optimizer.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/cppsim/CMakeFiles/cppsim_static.dir/circuit.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/vqcsim/CMakeFiles/vqcsim_static.dir/parametric_gate_factory.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/vqcsim/CMakeFiles/vqcsim_static.dir/parametric_circuit.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/src/vqcsim/CMakeFiles/vqcsim_static.dir/GradCalculator.cpp.gcda:Skip profiling:/project:Cannot create directory profiling:/project/build/python/CMakeFiles/qulacs_core.dir/cppsim_wrapper.cpp.gcda:Skip ```