Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix github action #22

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
d8afc0f
fix channel string expression
donghufeng Jul 17, 2023
5c2d293
!1744 fix channel expression
donghufeng Jul 17, 2023
2e07285
fix wall
donghufeng Jul 17, 2023
2cc8322
fix wall
donghufeng Jul 18, 2023
23a56c9
fix countone input
donghufeng Jul 18, 2023
d4a9525
fix reverse adder bug
donghufeng Jul 19, 2023
17f2dce
show expression of channel parameter
donghufeng Jul 19, 2023
286b4e7
!1746 fix reverseadder bug
donghufeng Jul 19, 2023
1c0f245
fix const
donghufeng Jul 19, 2023
3f7e8f1
!1745 fix warning of c++
donghufeng Jul 19, 2023
a3846f4
set vigo position
donghufeng Jul 20, 2023
8b7dd7f
add noise channel
donghufeng Jul 20, 2023
2ad8e6e
!1748 [PY] noise channel adder
donghufeng Jul 20, 2023
71780e1
channel adder: test & docing & type check
donghufeng Jul 21, 2023
d74a331
test error mitigation
donghufeng Jul 21, 2023
e2c8448
topology: test & docing
donghufeng Jul 21, 2023
eccb7b5
!1751 [PY] Docing and test
donghufeng Jul 21, 2023
f3ae18d
always exclude barrier
donghufeng Jul 24, 2023
2dfed8c
qubit number constrain adder
donghufeng Jul 24, 2023
08f2d9f
qubit id constrain adder
donghufeng Jul 24, 2023
abf0c21
Now can focus on certrain qubit when adding channel.
donghufeng Jul 24, 2023
7b0c9aa
!1753 [PY] New feature for channel adder
donghufeng Jul 24, 2023
a66a2e5
fix bug for flitting barrier for channel adder
donghufeng Jul 24, 2023
2d38a34
update noise simulator tutorial
donghufeng Jul 24, 2023
abff215
fix typo
donghufeng Jul 24, 2023
44654fc
compress svg string
donghufeng Jul 24, 2023
1986e00
!1754 [PY] Tutorial for channe ladder
donghufeng Jul 24, 2023
247c422
add more ansatz
donghufeng Jul 25, 2023
1108a5b
fix repeat of qubits
donghufeng Jul 26, 2023
09c7bc6
modify the error links in mindquantum
Jul 26, 2023
37ad058
!1755 delete the error links in mindquantum
donghufeng Jul 26, 2023
6115420
add more ansatz
donghufeng Jul 26, 2023
2617aff
!1760 [PY] Add ansatz from arxiv
donghufeng Jul 27, 2023
bddfaa4
!1762 增加部分代码除数非0判断
zly28935 Jul 27, 2023
ac01631
disable --cxx for github action
donghufeng Jul 25, 2023
4314dd7
enable on pull request
donghufeng Jul 25, 2023
4d7dd17
fix conflict
donghufeng Jul 27, 2023
f3c40dc
change owner
donghufeng Jul 25, 2023
0fef5ce
install git for clang container
donghufeng Jul 25, 2023
ff56d21
update before install
donghufeng Jul 25, 2023
cee56ec
delete change owner for clang
donghufeng Jul 25, 2023
b3f9f82
disable boost
donghufeng Jul 25, 2023
44985c5
show dir
donghufeng Jul 26, 2023
c8891d6
disable scm versioning
donghufeng Jul 26, 2023
e76cfe5
install libomp for ubuntn clang
donghufeng Jul 26, 2023
b7f36f7
set version for clang omp
donghufeng Jul 26, 2023
689b5f8
disable cxx for ci
donghufeng Jul 26, 2023
43c5a2f
disable cxx test in ci
donghufeng Jul 26, 2023
e69c2ef
remove libssp
donghufeng Jul 26, 2023
b790841
fix warning
donghufeng Jul 26, 2023
acc594d
fix warning
donghufeng Jul 26, 2023
7bba084
fix warning
donghufeng Jul 26, 2023
606613d
only enable msvc
donghufeng Jul 26, 2023
25726d0
fix typo
donghufeng Jul 26, 2023
56b904f
fix typo
donghufeng Jul 26, 2023
a338dea
disable density matrix
donghufeng Jul 26, 2023
232fbd5
static_cast
donghufeng Jul 26, 2023
753dfe1
add missing header for msvc
donghufeng Jul 26, 2023
c01a6c5
add missing header for msvc
donghufeng Jul 26, 2023
147fd79
filter 4661 warning for msvc
donghufeng Jul 26, 2023
48ff64b
filter 4661 warning for msvc
donghufeng Jul 26, 2023
478dd22
filter 4661 warning for msvc
donghufeng Jul 26, 2023
63814aa
fix template useage bug for msvc
donghufeng Jul 26, 2023
0f91beb
add openmp:llvm flag
donghufeng Jul 26, 2023
b4a8469
numeric_limits for msvc
donghufeng Jul 26, 2023
b1932d9
enable more platform
donghufeng Jul 26, 2023
eca633f
enable all platform
donghufeng Jul 26, 2023
7376ac9
enable density matrix
donghufeng Jul 26, 2023
260c727
remove unused using
donghufeng Jul 26, 2023
c883c33
debuging crywin
donghufeng Jul 27, 2023
cf9df7f
debuging crywin
donghufeng Jul 27, 2023
1d524dd
debuging crywin
donghufeng Jul 27, 2023
6bcf5d6
disable cygwin
donghufeng Jul 27, 2023
b17b646
enable all
donghufeng Jul 27, 2023
cf12faf
debug pytest
donghufeng Jul 27, 2023
29f47c8
debug pytest
donghufeng Jul 27, 2023
4f972e2
debug pytest
donghufeng Jul 27, 2023
7b7e7f3
debug pytest
donghufeng Jul 27, 2023
080a099
debug pytest
donghufeng Jul 27, 2023
912a10f
debug pytest
donghufeng Jul 27, 2023
6559396
debug pytest
donghufeng Jul 27, 2023
a07a737
fix skip when mindspore not installed
donghufeng Jul 27, 2023
679d436
debug pytest
donghufeng Jul 27, 2023
86bdd4e
enable more pytest in action
donghufeng Jul 27, 2023
496fe4a
enable more pytest in action
donghufeng Jul 27, 2023
64d6fb5
fix lint
donghufeng Jul 27, 2023
3c5e6a8
fix lint
donghufeng Jul 27, 2023
58408e9
!1763 fix CI bug in github action
donghufeng Jul 27, 2023
25a6154
remove experimental
donghufeng Jul 27, 2023
54e2815
!1765 remove experimental
donghufeng Jul 27, 2023
d11765a
modify the format of files 0727
Jul 27, 2023
61c89a1
!1766 modify the format of files 0727
donghufeng Jul 27, 2023
abbb796
modify the format of files 0728
Jul 28, 2023
32a5522
!1767 modify the format of files 0728
donghufeng Jul 28, 2023
5c8dd5b
detele unused include file and unused code segments
Jul 28, 2023
b97d326
!1768 detele unused include file
donghufeng Jul 28, 2023
6b690fe
merge from master
donghufeng Jul 28, 2023
9243581
fix lint
donghufeng Jul 27, 2023
db9e42d
fix lint
donghufeng Jul 27, 2023
a158cd8
remove PIP_INDEX_URL
donghufeng Jul 27, 2023
8276920
support codehub
donghufeng Jul 27, 2023
c061822
remove symengine
donghufeng Jul 27, 2023
a092bcd
fix cmake error
donghufeng Jul 27, 2023
7fb5668
fix typo
donghufeng Jul 28, 2023
dc96b3e
merge from master
donghufeng Jul 28, 2023
02400f3
fix merge problem
donghufeng Jul 28, 2023
20fcb5e
rename hpp to h
donghufeng Jul 28, 2023
52f73b1
fix lint
donghufeng Jul 28, 2023
d196c66
fix lint
donghufeng Jul 28, 2023
ffff36f
fix lint
donghufeng Jul 28, 2023
3f5c0e6
fix lint
donghufeng Jul 28, 2023
fd55a8c
fix lint
donghufeng Jul 29, 2023
0c20add
fix lint
donghufeng Jul 29, 2023
b02c2b0
macos action to 12
donghufeng Jul 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ IncludeCategories:
# 3. CUDA headers
# 4. Boost headers
# 5. Eigen headers
# 6. tweedledum headers
# 7. SymEngine headers
# 8. Other system headers
# 9. Any local config header
# 10. Local headers
Expand All @@ -52,8 +50,6 @@ IncludeCategories:
Priority: 40
- Regex: '<(Eigen|Unsupported/Eigen)\/'
Priority: 50
- Regex: '[<"]symengine\/'
Priority: 70
- Regex: '[<"]cuda[A-Za-z0-9.\/\-_]+[>"]'
Priority: 30
- Regex: '[<"](driver_types.h)[>"]'
Expand All @@ -70,10 +66,6 @@ IncludeCategories:
Priority: 20
- Regex: '<[[:alnum:]_\.]+'
Priority: 80
- Regex: '"experimental/config/[[:alnum:]\/\-_\.]+\.hpp"'
Priority: 105
- Regex: '"experimental/[[:alnum:]\/\-_\.]+\.hpp"'
Priority: 106
- Regex: '"config/[[:alnum:]\/\-_\.]+\.hpp"'
Priority: 90
- Regex: '"python/[[:alnum:]\/\-_\.]+"'
Expand Down
56 changes: 17 additions & 39 deletions .cppcheck.suppressions
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,47 @@ constParameter:tests/*
unreadVariable:tests/*

assignBoolToPointer:ccsrc/python/simulator/include/python/vector/bind_vec_state.h
assignBoolToPointer:ccsrc/python/simulator/include/python/densitymatrix/bind_mat_state.hpp
assignBoolToPointer:ccsrc/python/simulator/include/python/densitymatrix/bind_mat_state.h

containerOutOfBounds:ccsrc/include/ops/gates/fermion_operator.tpp
containerOutOfBounds:ccsrc/lib/ops/gates/fermion_operator.cpp
containerOutOfBounds:ccsrc/lib/ops/gates/fermion_operator_parameter_resolver.cpp

cstyleCast:ccsrc/include/simulator/cintrin.hpp
cstyleCast:ccsrc/include/simulator/cintrin.h

duplicateExpression:ccsrc/include/core/parameter_resolver.h:707
duplicateExpression:ccsrc/python/math/lib/bind_math.cpp

noExplicitConstructor:ccsrc/include/experimental/decompositions/decomposition_atom.hpp:41
noExplicitConstructor:ccsrc/include/experimental/ops/parametric/gate_base.hpp

noValidConfiguration:ccsrc/include/config/config.hpp
noValidConfiguration:ccsrc/include/config/details/cxx20_compatibility.hpp
noValidConfiguration:ccsrc/include/config/type_traits.hpp
noValidConfiguration:ccsrc/include/experimental/ops/parametric/angle_base.hpp
noValidConfiguration:ccsrc/include/experimental/ops/parametric/angle_gates.hpp
noValidConfiguration:ccsrc/include/config/details/cxx20_compatibility.h
noValidConfiguration:ccsrc/include/config/type_traits.h
noValidConfiguration:tests/decompositions/test_apply_atoms.cpp

operatorEqVarError:ccsrc/include/experimental/decompositions/decomposition_atom.hpp

preprocessorErrorDirective:ccsrc/include/config/details/cxx20_compatibility.hpp
preprocessorErrorDirective:ccsrc/include/experimental/decompositions/rules/config.hpp
preprocessorErrorDirective:ccsrc/include/experimental/ops/parametric/angle_base.hpp
preprocessorErrorDirective:ccsrc/python/core/include/python/details/define_binary_operator_helpers.hpp
preprocessorErrorDirective:ccsrc/python/experimental/lib/ops/ops.cpp
preprocessorErrorDirective:ccsrc/include/config/details/cxx20_compatibility.h
preprocessorErrorDirective:tests/decompositions/test_apply_atoms.cpp
preprocessorErrorDirective:tests/ops/test_angle_parametric_gates.cpp
unusedStructMember:ccsrc/include/math/tensor/ops_cpu/utils.hpp
stlIfFind:ccsrc/lib/experimental/decompositions/atom_storage.cpp
stlIfFind:ccsrc/lib/experimental/decompositions/gate_decomposer.cpp
unusedStructMember:ccsrc/include/math/tensor/ops_cpu/utils.h

syntaxError:ccsrc/include/core/parameter_resolver_external_ops.hpp:90
syntaxError:ccsrc/include/core/sparse/algo.hpp
syntaxError:ccsrc/include/ops/gates/terms_operator_base_external_ops.hpp:92
syntaxError:ccsrc/include/core/parameter_resolver_external_ops.h:90
syntaxError:ccsrc/include/core/sparse/algo.h
syntaxError:ccsrc/include/ops/gates/terms_operator_base_external_ops.h:92
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_vector_policy.cpp
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_vector_policy_gate_expec.cpp
syntaxError:ccsrc/python/mqbackend/lib/details/define_terms_ops.hpp
syntaxError:ccsrc/python/mqbackend/lib/details/define_terms_ops.h
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_condition.cpp
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_gate_expect.cpp
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_dot_like.cpp
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_avx_double/cpu_vector_core_gate_expect.cpp
syntaxError:ccsrc/lib/simulator/densitymatrix/detail/cpu_common/cpu_densitymatrix_core_gate_expect.cpp
syntaxError:ccsrc/python/device/include/python/device/binding.hpp
syntaxError:ccsrc/python/device/include/python/device/binding.h
syntaxError:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_policy.cpp
syntaxError:ccsrc/lib/simulator/densitymatrix/detail/cpu_common/cpu_densitymatrix_core_condition.cpp
syntaxError:ccsrc/lib/simulator/densitymatrix/detail/cpu_common/cpu_densitymatrix_core_policy.cpp

unknownMacro:ccsrc/lib/simulator/densitymatrix/detail/cpu_common/cpu_densitymatrix_core_rot_pauli.cpp
unknownMacro:ccsrc/include/simulator/densitymatrix/detail/cpu_densitymatrix_policy.hpp
unknownMacro:ccsrc/include/core/sparse/paulimat.hpp
unknownMacro:ccsrc/include/core/sparse/paulimat.hpp:58
unknownMacro:ccsrc/include/core/sparse/paulimat.h
unknownMacro:ccsrc/include/math/tensor/ops_cpu/basic_math.h
unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_vector_policy_single_ops.cpp
unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_vector_policy_xlike.cpp
unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_z_like.cpp
Expand All @@ -69,21 +56,12 @@ unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_matrix
unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_common/cpu_vector_core_x_like.cpp
unknownMacro:ccsrc/lib/simulator/vector/detail/cpu_avx_double/cpu_vector_core_matrix_gate.cpp
unknownMacro:ccsrc/lib/simulator/densitymatrix/detail/cpu_common/cpu_densitymatrix_core_matrix_gate.cpp
unknownMacro:ccsrc/include/simulator/vector/detail/cpu_vector_policy.hpp
unknownMacro:ccsrc/include/simulator/vector/detail/cpu_vector_policy.h

unreadVariable:ccsrc/lib/experimental/decompositions/time_evolution.cpp

unusedStructMember:ccsrc/include/experimental/ops/gates/details/coeff_policy.hpp:29

unusedStructMember:ccsrc/include/experimental/ops/parametric/param_names.hpp
unusedStructMember:ccsrc/include/experimental/ops/gates/details/coeff_policy.hpp
unusedStructMember:ccsrc/include/core/mq_base_types.hpp

useStlAlgorithm:ccsrc/include/config/tsl_ordered_map.hpp
useStlAlgorithm:ccsrc/include/experimental/core/control.hpp:79
useStlAlgorithm:ccsrc/include/ops/gates/terms_coeff_dict.hpp
useStlAlgorithm:ccsrc/include/config/tsl_ordered_map.h
useStlAlgorithm:ccsrc/include/ops/gates/terms_coeff_dict.h
useStlAlgorithm:ccsrc/include/ops/gates/terms_operator_base.tpp

useInitializationList:ccsrc/include/simulator/cintrin.hpp
useInitializationList:ccsrc/include/simulator/cintrin.h

ctuOneDefinitionRuleViolation:tests/core/test_circuit_block.cpp
Loading
Loading