In general, the expectation value is the average over all measurement outcomes, weighted by their probability of occuring. Expectation values are a fundamental concept and arise in many quantum computing applications. This contribution allows you to:
- Construct an observable from a Hermitian matrix or an array of Pauli strings and weights.
- Compute expection values of the observable on a quantum state
引用格式
Quantum Computing (2024). Quantum Expectation Values (https://www.mathworks.com/matlabcentral/fileexchange/165101-quantum-expectation-values), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2024a
兼容 R2023a 到 R2024a 的版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |