-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from ScQ-Cloud/xuxs
fix: fix python relates issues
- Loading branch information
Showing
163 changed files
with
9,496 additions
and
9,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,98 @@ | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
BasedOnStyle: Google | ||
AccessModifierOffset: -3 | ||
AlignConsecutiveMacros: true | ||
AlignEscapedNewlines: Right | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BraceWrapping: | ||
AfterClass: false | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterExternBlock: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: false | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeBraces: Custom | ||
BreakBeforeConceptDeclarations: true | ||
BreakBeforeInheritanceComma: true | ||
BreakConstructorInitializers: BeforeComma | ||
ColumnLimit: 120 | ||
CompactNamespaces: false | ||
FixNamespaceComments: true | ||
IncludeBlocks: Regroup | ||
IncludeCategories: | ||
# We define the include categories such that the header files are sorted and grouped as follows: | ||
# 1. C standard headers | ||
# 2. C++ standard headers | ||
# 3. CUDA headers | ||
# 4. Boost headers | ||
# 5. Eigen headers | ||
# 8. Other system headers | ||
# 9. Any local config header | ||
# 10. Local headers | ||
# 11. Catch2 headers | ||
- Regex: '[<"](catch2/([A-Za-z0-9.\/\-_])+)[>"]' # Make sure Catch2 is included last | ||
Priority: 110 | ||
- Regex: '[<"]tweedledum/([A-Za-z0-9.\/\-_])+[>"]' | ||
Priority: 60 | ||
- Regex: <boost\/ | ||
Priority: 40 | ||
- Regex: <(Eigen|Unsupported/Eigen)\/ | ||
Priority: 50 | ||
- Regex: '[<"]cuda[A-Za-z0-9.\/\-_]+[>"]' | ||
Priority: 30 | ||
- Regex: '[<"](driver_types.h)[>"]' | ||
Priority: 30 | ||
- Regex: >- | ||
'< | ||
(assert|complex|ctype|errno|fenv|float|inttypes|iso646|limits|locale|math|setjmp|signal|stdalign|stdarg | ||
|stdatomic|stdbool|stddef|stdint|stdio|stdlib|stdnoreturn|string|tdmath|threads|time|uchar|wchar|wctype) | ||
\.h>' | ||
Priority: 10 | ||
- Regex: <[[:alnum:]_\.]+.h> | ||
Priority: 10 | ||
- Regex: <[[:alnum:]_\.]+> | ||
Priority: 20 | ||
- Regex: <[[:alnum:]_\.]+ | ||
Priority: 80 | ||
- Regex: '"config/[[:alnum:]\/\-_\.]+\.hpp"' | ||
Priority: 90 | ||
- Regex: '"python/[[:alnum:]\/\-_\.]+"' | ||
Priority: 110 | ||
- Regex: '"[[:alnum:]\/\-_\.]+"' | ||
Priority: 100 | ||
IndentPPDirectives: AfterHash | ||
IndentRequires: true | ||
IndentWidth: 4 | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
NamespaceIndentation: None | ||
PenaltyBreakAssignment: 40 | ||
ReflowComments: true | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: true | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCaseColon: false | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceInEmptyParentheses: false | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
StatementMacros: [] | ||
TypenameMacros: [] | ||
Standard: Latest | ||
TabWidth: 4 | ||
UseTab: Never | ||
WhitespaceSensitiveMacros: [CLANG_DIAG_ON, CLANG_DIAG_OFF, GCC_DIAG_ON, GCC_DIAG_OFF, MSVC_DIAG_ON, MSVC_DIAG_OFF, MQ_DO_PRAGMA] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
quafu/transpiler/compiler/compiler_visualization.py:compile_vis | ||
quafu/qfasm/qfasm_parser.py:handle_gateins | ||
quafu/circuits/quantum_circuit.py:layered_circuit | ||
quafu/circuits/quantum_circuit.py:draw_circuit | ||
|
||
|
||
src/qfvm/statevector.hpp:StateVector<real_t>::apply_cz.StateVector<real_t>::apply_one_targe_gate_general | ||
src/qfvm/statevector.hpp:StateVector<real_t>::apply_cz.StateVector<real_t>::apply_one_targe_gate_x | ||
src/qfvm/statevector.hpp:StateVector<real_t>::apply_cz.StateVector<real_t>::apply_one_targe_gate_real | ||
src/qfvm/statevector.hpp:StateVector<real_t>::apply_cz.StateVector<real_t>::apply_one_targe_gate_diag | ||
src/qfvm/statevector.hpp:StateVector<real_t>::apply_cz.StateVector<real_t>::apply_diagonal_matrix | ||
src/qfvm_gpu/cuda_utils/helper_string.h:sdkFindFilePath | ||
src/qfvm_gpu/cuda_utils/helper_cuda.h:_cudaGetErrorEnum | ||
src/qfvm/simulator.hpp:apply_op |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set noparent | ||
headers=cuh,h,h++,hh,hpp,hxx,tpp | ||
linelength=120 | ||
filter=-build/header_guard,-build/c++11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"0.4.0": { | ||
"tag": "tags/v0.4.0" | ||
} | ||
"0.4.0": { | ||
"tag": "tags/v0.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.