算法展示目录¶
oracq.applications.gallery
Algorithm gallery: each entry provides a small runnable example and its readout instructions.
- class oracq.applications.gallery.GalleryCase(name, family, operation, readout, opened=None)[源代码]¶
基类:
objectA single demo entry in the algorithm gallery.
- 变量:
name (str) -- Entry name, unique within the gallery.
family (str) -- Algorithm family, matching a module name of
oracq.algorithms.operation (oracq.infrastructure.builder.Operation) -- The complete
Operationused for the demo.readout (str) -- Readout instructions describing the expected measurement outcome or decision rule.
opened (oracq.infrastructure.builder.Operation | None) -- The open
Operationbefore binding; provided only by entries demonstrating oracle binding, otherwiseNone.
- name¶
- family¶
- operation¶
- readout¶
- opened = None¶
- oracq.applications.gallery.algorithm_gallery()[源代码]¶
Return small demo cases; no backend is run, no files are read or written, and no external data is requested.
- 返回:
The gallery of demo entries, each with a complete
Operation, its algorithm family and readout instructions.- 返回类型:
tuple[GalleryCase, ...]