.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "user/_auto_howtos/custom_model.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_user__auto_howtos_custom_model.py: Custom models ============= CUQIpy supports the definition of custom deterministic models. This shows how to define a custom model and how to use it. .. GENERATED FROM PYTHON SOURCE LINES 12-13 .. code-block:: Python import cuqi .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.000 seconds) .. _sphx_glr_download_user__auto_howtos_custom_model.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: custom_model.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: custom_model.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: custom_model.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_