Skip to content

Commit

Permalink
updated stub
Browse files Browse the repository at this point in the history
  • Loading branch information
gandalfr-KY committed Mar 7, 2024
1 parent 877b168 commit 3480ddf
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 154 deletions.
155 changes: 78 additions & 77 deletions python/qulacs2023/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ from typing import (Any, Callable, Iterable, Optional, Sequence, Typing, Union,

import qulacs2023

def CNOT(arg0: int, arg1: int, /) -> qulacs2023.qulacs_core.Gate: ...
def CX(arg0: int, arg1: int, /) -> qulacs2023.qulacs_core.Gate: ...

class CNOTGate:
class CXGate:
"""
None
"""
Expand Down Expand Up @@ -59,9 +59,9 @@ class Circuit:
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def FusedSWAP(arg0: int, arg1: int, arg2: int, /) -> qulacs2023.qulacs_core.Gate: ...
def FusedSwap(arg0: int, arg1: int, arg2: int, /) -> qulacs2023.qulacs_core.Gate: ...

class FusedSWAPGate:
class FusedSwapGate:
"""
None
"""
Expand Down Expand Up @@ -376,9 +376,9 @@ class SGate:
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def SWAP(arg0: int, arg1: int, /) -> qulacs2023.qulacs_core.Gate: ...
def Sdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SWAPGate:
class SdagGate:
"""
None
"""
Expand All @@ -388,15 +388,65 @@ class SWAPGate:
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target1(self) -> int: ...
def target2(self) -> int: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def Sdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...
def SqrtX(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SdagGate:
class SqrtXGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def SqrtXdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SqrtXdagGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def SqrtY(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SqrtYGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def SqrtYdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SqrtYdagGate:
"""
None
"""
Expand Down Expand Up @@ -463,6 +513,24 @@ class StateVector:
def set_zero_state(self) -> None: ...
def to_string(self) -> str: ...

def Swap(arg0: int, arg1: int, /) -> qulacs2023.qulacs_core.Gate: ...

class SwapGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target1(self) -> int: ...
def target2(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def T(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class TGate:
Expand Down Expand Up @@ -608,70 +676,3 @@ def finalize() -> None: ...
def initialize(
settings: qulacs2023.qulacs_core.InitializationSettings = ...,
) -> None: ...
def sqrtX(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class sqrtXGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def sqrtXdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class sqrtXdagGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def sqrtY(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class sqrtYGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...

def sqrtYdag(arg: int, /) -> qulacs2023.qulacs_core.Gate: ...

class sqrtYdagGate:
"""
None
"""

def __init__(self, arg: qulacs2023.qulacs_core.Gate, /) -> None: ...
def copy(self) -> qulacs2023.qulacs_core.Gate: ...
def get_control_qubit_list(self) -> list[int]: ...
def get_inverse(self) -> qulacs2023.qulacs_core.Gate: ...
def get_target_qubit_list(self) -> list[int]: ...
def target(self) -> int: ...
def update_quantum_state(
self, arg: qulacs2023.qulacs_core.StateVector, /
) -> None: ...
Loading

0 comments on commit 3480ddf

Please sign in to comment.