Extending¶
MicroQuantum is designed to be extended without forks. The SDK itself stays NumPy-only; all hardware/vendor specifics live behind boundaries.
Extension points¶
General rules¶
Vendor types never leak through the SDK surface — map them into
BackendResult/ capabilities at the boundary.The SDK must never
importa vendor/enterprise package; extensions are optional and live outsidesrc/microquantum.Follow the docstring conventions (Google style) so autoapi documents your extension automatically.
Keep results typed and serializable — consistency with the core result contracts is what makes analysis/experiments work on your extension.