<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/quantum/blob/v0.7.6/tensorflow_quantum/core/ops/math_ops/simulate_mps.py) |

Module to register MPS simulation ops.

## Functions

[`mps_1d_expectation(...)`](https://www.tensorflow.org/quantum/api_docs/python/tfq/math/mps_1d_expectation): Calculate the expectation value of circuits wrt some operator(s)

[`mps_1d_sample(...)`](https://www.tensorflow.org/quantum/api_docs/python/tfq/math/mps_1d_sample): Generate samples using the C++ MPS simulator.

[`mps_1d_sampled_expectation(...)`](https://www.tensorflow.org/quantum/api_docs/python/tfq/math/mps_1d_sampled_expectation): Calculate the expectation value of circuits using samples.