From dbc76e42902df23b3a79b7687c1d655302a316d8 Mon Sep 17 00:00:00 2001 From: Matthew Harrigan Date: Thu, 20 Nov 2025 11:02:43 -0800 Subject: [PATCH 1/2] Small doc fixes --- dev_tools/qualtran_dev_tools/make_reference_docs/_make.py | 3 ++- docs/bloq_infra.rst | 2 ++ qualtran/rotation_synthesis/channels/channel.py | 2 +- qualtran/rotation_synthesis/rings/__init__.py | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py b/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py index 2b6f66d1fc..a3bd2c13d2 100644 --- a/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py +++ b/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py @@ -73,6 +73,7 @@ 'qualtran.linalg', 'qualtran._infra.gate_with_registers.GateWithRegisters', 'qualtran.resource_counting.t_counts_from_sigma', + 'qualtran.rotation_synthesis', # TODO: https://github.com/quantumlib/Qualtran/issues/1767 ] MINIMAL = True @@ -341,7 +342,7 @@ def make_reference_docs( The steps are 1. Walk the package structure with `get_pages`. - 2. Write each page; and write the table of contentes (TOC). + 2. Write each page; and write the table of contents (TOC). There are multiple 'types' of 'path's we must consider when rendering the documentation. diff --git a/docs/bloq_infra.rst b/docs/bloq_infra.rst index 6e9e65827f..538e770e02 100644 --- a/docs/bloq_infra.rst +++ b/docs/bloq_infra.rst @@ -24,6 +24,8 @@ types (``Register``), and algorithms (``CompositeBloq``). DataTypes.ipynb simulation/classical_sim.ipynb simulation/tensor.ipynb + simulation/MBUC.ipynb + simulation/supertensor.ipynb resource_counting/call_graph.ipynb resource_counting/qubit_counts.ipynb Adjoint.ipynb diff --git a/qualtran/rotation_synthesis/channels/channel.py b/qualtran/rotation_synthesis/channels/channel.py index ec1a667612..b77ec6290c 100644 --- a/qualtran/rotation_synthesis/channels/channel.py +++ b/qualtran/rotation_synthesis/channels/channel.py @@ -103,7 +103,7 @@ def from_sequence(cls, seq: Sequence[str], twirl: bool = False) -> UnitaryChanne Args: seq: A sequence of gate names in circuit order. - Supported gate names are {Tx, Ty, Tz, H, S, X, Y, Z}. + Supported gate names are {Tx, Ty, Tz, H, S, X, Y, Z}. twirl: Whether the unitary is applied with a ZS twirling or not. Returns: diff --git a/qualtran/rotation_synthesis/rings/__init__.py b/qualtran/rotation_synthesis/rings/__init__.py index c0d2430748..bfac9ca9c8 100644 --- a/qualtran/rotation_synthesis/rings/__init__.py +++ b/qualtran/rotation_synthesis/rings/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""A sub-package represnting the rings used in rotation synthesis.""" +"""A sub-package representing the rings used in rotation synthesis.""" from qualtran.rotation_synthesis.rings.zsqrt2 import ZSqrt2 from qualtran.rotation_synthesis.rings.zw import ZW From b570e97d6edea11e2b53642496f30ee345657645 Mon Sep 17 00:00:00 2001 From: Matthew Harrigan Date: Thu, 20 Nov 2025 15:35:18 -0800 Subject: [PATCH 2/2] format --- dev_tools/qualtran_dev_tools/make_reference_docs/_make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py b/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py index a3bd2c13d2..ce0cd0b60f 100644 --- a/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py +++ b/dev_tools/qualtran_dev_tools/make_reference_docs/_make.py @@ -73,7 +73,7 @@ 'qualtran.linalg', 'qualtran._infra.gate_with_registers.GateWithRegisters', 'qualtran.resource_counting.t_counts_from_sigma', - 'qualtran.rotation_synthesis', # TODO: https://github.com/quantumlib/Qualtran/issues/1767 + 'qualtran.rotation_synthesis', # TODO: https://github.com/quantumlib/Qualtran/issues/1767 ] MINIMAL = True