Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yesun Huang
SumFrequencyGeneration
Commits
99b55399
Commit
99b55399
authored
Jun 17, 2021
by
YesunHuang
Browse files
for debug
parent
9285d32d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ForSuperComputer/SFG_search_Eg_3D.py
View file @
99b55399
...
...
@@ -85,6 +85,7 @@ if __name__=="__main__":
for
j
in
range
(
0
,
np
.
size
(
g
)):
op
=
BuildOperator_Exact
(
Ea
[
i
],
DeltaB
,
g
[
j
])
output
=
mcsolve
(
op
[
'Hamilton'
],
op
[
'Initial_state'
],
tlist
,
op
[
'Collapse'
],
op
[
'track'
],
ntraj
=
Ntraj
,
options
=
opts
)
print
(
str
(
Ea
[
i
])
+
'-'
+
str
(
g
[
j
]))
maxIndex
=
SearchForMax
(
output
.
expect
[
1
])
data
[
i
][
j
][
0
]
=
tlist
[
maxIndex
]
#t
data
[
i
][
j
][
1
]
=
output
.
expect
[
0
][
maxIndex
]
#Nb
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment