Wolfram`QuantumFramework`
QuantumMeasurement |
|
| |
Details and Options
Examples
(7)
Basic Examples
(2)
In[1]:=
QuantumMeasurement |
QuditName |
QuditName |
QuantumState |
QuantumState |
Out[1]=
QuantumMeasurement
|
In[1]:=
result=
["PauliZ",{1}]
[{0.6,0.8}]
QuantumMeasurementOperator |
QuantumState |
Out[1]=
QuantumMeasurement
|
Use property to obtain the resulting measurement outcome's distribution:
"Distribution"
In[2]:=
result["Distribution"]
Out[2]=
CategoricalDistribution
|
Use property to obtain the possible states after measurement:
"States"
In[3]:=
result["States"]
Out[3]=
QuantumState
,QuantumState
|
|
Use property to obtain the association of measurement outcomes with their corresponding quantum state:
"StatesAssociation"
In[4]:=
result["StatesAssociation"]
Out[4]=
QuantumState
,QuantumState
ψ
z
-
|
ψ
z
+
|
Scope
(1)
Generalizations & Extensions
(1)
Applications
(1)
Properties & Relations
(1)
Interactive Examples
(1)
|
""