From c0b7d70b6f18a10c24fa986bd91edc6a8df0bf67 Mon Sep 17 00:00:00 2001 From: KowerKoint Date: Fri, 31 Oct 2025 03:26:09 +0000 Subject: [PATCH] remove gate_base_def for phase def --- include/scaluq/gate/gate_standard.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/scaluq/gate/gate_standard.hpp b/include/scaluq/gate/gate_standard.hpp index c8780aa1..4693f300 100644 --- a/include/scaluq/gate/gate_standard.hpp +++ b/include/scaluq/gate/gate_standard.hpp @@ -702,8 +702,7 @@ void bind_gate_gate_standard_hpp(nb::module_& m, nb::class_>& .def( "phase", [](const GlobalPhaseGate& gate) { return gate->phase(); }, - "Get `phase` property. The phase is represented as $\\gamma$.", - gate_base_def); + "Get `phase` property. The phase is represented as $\\gamma$."); DEF_GATE(XGate, Prec, Space, "Specific class of Pauli-X gate.", gate_base_def); DEF_GATE(YGate, Prec, Space, "Specific class of Pauli-Y gate.", gate_base_def); DEF_GATE(ZGate, Prec, Space, "Specific class of Pauli-Z gate.", gate_base_def);