Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples of the Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Resource
Learn More about
Wolfram Language
Related Pages
Related Categories
Computer Science
Physics
Quantum Computation
Numeric Evolution of a Quantum State
Evolve a quantum state in time, numerically
Example Notebook
Open in Cloud
Download Notebook
In the Wolfram Quantum Framework, quantum objects and operations can be defined symbolically and also numerically. In this regard, time evolution of quantum systems can be treated both symbolically and numerically.
Install and load the QuantumFramework paclet:
I
n
[
1
]
:
=
P
a
c
l
e
t
I
n
s
t
a
l
l
[
"
W
o
l
f
r
a
m
/
Q
u
a
n
t
u
m
F
r
a
m
e
w
o
r
k
"
]
N
e
e
d
s
[
"
W
o
l
f
r
a
m
`
Q
u
a
n
t
u
m
F
r
a
m
e
w
o
r
k
`
"
]
G
i
v
e
n
a
t
i
m
e
-
i
n
d
e
p
e
n
d
e
n
t
H
a
m
i
l
t
o
n
i
a
n
a
s
0
.
2
σ
x
+
0
.
8
σ
y
,
f
i
n
d
t
h
e
q
u
a
n
t
u
m
s
t
a
t
e
a
t
a
l
a
t
e
r
t
i
m
e
,
w
i
t
h
|
ψ
0
〉
=
|
0
〉
:
I
n
[
2
]
:
=
ψ
f
=
Q
u
a
n
t
u
m
E
v
o
l
v
e
[
Q
u
a
n
t
u
m
O
p
e
r
a
t
o
r
[
.
2
"
X
"
+
.
8
"
Y
"
]
,
{
t
,
0
,
3
}
]
O
u
t
[
2
]
=
Q
u
a
n
t
u
m
S
t
a
t
e
P
u
r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
See Also
Wolfram/QuantumFramework
Symbolic Evolution of a Quantum State
Publisher Information
Contributed by:
Wolfram Research, Quantum Computation Framework Team