Home
last modified time | relevance | path

Searched refs:OP_TREE (Results 1 – 25 of 193) sorted by relevance

12345678

/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/
H A Dop_tree.py51 OP_TREE = Union[Operation, OpTree] variable
53 OP_TREE, # type: ignore
71 root: OP_TREE, preserve_moments: bool = False argument
92 def flatten_to_ops(root: OP_TREE) -> Iterator[Operation]: argument
113 def flatten_to_ops_or_moments(root: OP_TREE) -> Iterator[Union[Operation, Moment]]: argument
135 root: OP_TREE, argument
136 op_transformation: Callable[[Operation], OP_TREE] = lambda e: e, argument
137 iter_transformation: Callable[[Iterable[OP_TREE]], OP_TREE] = lambda e: e, argument
139 ) -> OP_TREE:
172 def freeze_op_tree(root: OP_TREE) -> OP_TREE: argument
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dop_tree.py51 OP_TREE = Union[Operation, OpTree] variable
53 OP_TREE, # type: ignore
71 root: OP_TREE, preserve_moments: bool = False argument
92 def flatten_to_ops(root: OP_TREE) -> Iterator[Operation]: argument
113 def flatten_to_ops_or_moments(root: OP_TREE) -> Iterator[Union[Operation, Moment]]: argument
135 root: OP_TREE, argument
136 op_transformation: Callable[[Operation], OP_TREE] = lambda e: e, argument
137 iter_transformation: Callable[[Iterable[OP_TREE]], OP_TREE] = lambda e: e, argument
139 ) -> OP_TREE:
172 def freeze_op_tree(root: OP_TREE) -> OP_TREE: argument
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dop_tree.py51 OP_TREE = Union[Operation, OpTree] variable
53 OP_TREE, # type: ignore
71 root: OP_TREE, preserve_moments: bool = False argument
92 def flatten_to_ops(root: OP_TREE) -> Iterator[Operation]: argument
113 def flatten_to_ops_or_moments(root: OP_TREE) -> Iterator[Union[Operation, Moment]]: argument
135 root: OP_TREE, argument
136 op_transformation: Callable[[Operation], OP_TREE] = lambda e: e, argument
137 iter_transformation: Callable[[Iterable[OP_TREE]], OP_TREE] = lambda e: e, argument
139 ) -> OP_TREE:
172 def freeze_op_tree(root: OP_TREE) -> OP_TREE: argument
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/
H A Dop_tree.py51 OP_TREE = Union[Operation, OpTree] variable
53 OP_TREE, # type: ignore
71 root: OP_TREE, preserve_moments: bool = False argument
92 def flatten_to_ops(root: OP_TREE) -> Iterator[Operation]: argument
113 def flatten_to_ops_or_moments(root: OP_TREE) -> Iterator[Union[Operation, Moment]]: argument
135 root: OP_TREE, argument
136 op_transformation: Callable[[Operation], OP_TREE] = lambda e: e, argument
137 iter_transformation: Callable[[Iterable[OP_TREE]], OP_TREE] = lambda e: e, argument
139 ) -> OP_TREE:
172 def freeze_op_tree(root: OP_TREE) -> OP_TREE: argument
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dop_tree.py51 OP_TREE = Union[Operation, OpTree] variable
53 OP_TREE, # type: ignore
71 root: OP_TREE, preserve_moments: bool = False argument
92 def flatten_to_ops(root: OP_TREE) -> Iterator[Operation]: argument
113 def flatten_to_ops_or_moments(root: OP_TREE) -> Iterator[Union[Operation, Moment]]: argument
135 root: OP_TREE, argument
136 op_transformation: Callable[[Operation], OP_TREE] = lambda e: e, argument
137 iter_transformation: Callable[[Iterable[OP_TREE]], OP_TREE] = lambda e: e, argument
139 ) -> OP_TREE:
172 def freeze_op_tree(root: OP_TREE) -> OP_TREE: argument
[all …]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/circuits/trotter/algorithms/
H A Dsplit_operator.py77 control_qubits: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
85 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
97 def two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
125 omit_final_swaps: bool = False) -> cirq.OP_TREE:
137 control_qubits: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
160 def two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
191 omit_final_swaps: bool = False) -> cirq.OP_TREE:
209 def two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
240 omit_final_swaps: bool = False) -> cirq.OP_TREE:
259 def two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
[all …]
H A Dlinear_swap_network.py62 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
66 def one_and_two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
84 b) -> cirq.OP_TREE:
102 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
109 def one_and_two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
128 b) -> cirq.OP_TREE:
150 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
154 def one_and_two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
179 omit_final_swaps: bool = False) -> cirq.OP_TREE:
198 def one_and_two_body_interaction(p, q, a, b) -> cirq.OP_TREE:
[all …]
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/circuits/primitives/
H A Dstate_preparation.py34 initial_state: Union[int, Sequence[int]] = 0) -> cirq.OP_TREE:
86 initial_state: Union[int, Sequence[int]]) -> cirq.OP_TREE:
111 initial_state: Union[int, Sequence[int]]) -> cirq.OP_TREE:
146 ) -> cirq.OP_TREE:
212 Union[str, Tuple[int, int, float, float]]]]) -> cirq.OP_TREE:
H A Dffft.py128 def ffft(qubits: Sequence[cirq.Qid]) -> cirq.OP_TREE:
209 def _ffft_prime(qubits: Sequence[cirq.Qid]) -> cirq.OP_TREE:
224 def _ffft(qubits: Sequence[cirq.Qid], factors: List[int]) -> cirq.OP_TREE:
277 permutation: List[int]) -> cirq.OP_TREE:
H A Dbogoliubov_transform.py27 ) -> cirq.OP_TREE:
153 ) -> cirq.OP_TREE:
185 ) -> cirq.OP_TREE:
218 Union[str, Tuple[int, int, float, float]]]]) -> cirq.OP_TREE:
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/circuits/trotter/
H A Dtrotter_algorithm.py50 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
67 control_qubit: Optional[cirq.Qid] = None) -> cirq.OP_TREE:
95 omit_final_swaps: bool = False) -> cirq.OP_TREE:
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-google/cirq_google/optimizers/
H A Dconvert_to_sycamore_gates.py104 def _convert_one(self, op: cirq.Operation) -> cirq.OP_TREE:
181 ) -> cirq.OP_TREE:
237 ) -> cirq.OP_TREE:
263 ) -> cirq.OP_TREE:
313 ) -> cirq.OP_TREE:
336 ) -> cirq.OP_TREE:
451 ) -> cirq.OP_TREE:
475 def rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
504 def cphase(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
523 def swap_rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-google/cirq_google/optimizers/
H A Dconvert_to_sycamore_gates.py111 def _convert_one(self, op: cirq.Operation) -> cirq.OP_TREE:
191 ) -> cirq.OP_TREE:
248 ) -> cirq.OP_TREE:
274 ) -> cirq.OP_TREE:
324 ) -> cirq.OP_TREE:
347 ) -> cirq.OP_TREE:
462 ) -> cirq.OP_TREE:
486 def rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
515 def cphase(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
534 def swap_rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-google/cirq_google/optimizers/
H A Dconvert_to_sycamore_gates.py111 def _convert_one(self, op: cirq.Operation) -> cirq.OP_TREE:
191 ) -> cirq.OP_TREE:
248 ) -> cirq.OP_TREE:
274 ) -> cirq.OP_TREE:
324 ) -> cirq.OP_TREE:
347 ) -> cirq.OP_TREE:
462 ) -> cirq.OP_TREE:
486 def rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
515 def cphase(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
534 def swap_rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-google/cirq_google/optimizers/
H A Dconvert_to_sycamore_gates.py111 def _convert_one(self, op: cirq.Operation) -> cirq.OP_TREE:
191 ) -> cirq.OP_TREE:
248 ) -> cirq.OP_TREE:
274 ) -> cirq.OP_TREE:
324 ) -> cirq.OP_TREE:
347 ) -> cirq.OP_TREE:
462 ) -> cirq.OP_TREE:
486 def rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
515 def cphase(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
534 def swap_rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-google/cirq_google/optimizers/
H A Dconvert_to_sycamore_gates.py111 def _convert_one(self, op: cirq.Operation) -> cirq.OP_TREE:
191 ) -> cirq.OP_TREE:
248 ) -> cirq.OP_TREE:
274 ) -> cirq.OP_TREE:
324 ) -> cirq.OP_TREE:
347 ) -> cirq.OP_TREE:
462 ) -> cirq.OP_TREE:
486 def rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
515 def cphase(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
534 def swap_rzz(theta: float, q0: cirq.Qid, q1: cirq.Qid) -> cirq.OP_TREE:
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/testing/
H A Dop_tree.py18 def assert_equivalent_op_tree(x: ops.OP_TREE, y: ops.OP_TREE): argument
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/testing/
H A Dop_tree.py18 def assert_equivalent_op_tree(x: ops.OP_TREE, y: ops.OP_TREE): argument
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/testing/
H A Dop_tree.py18 def assert_equivalent_op_tree(x: ops.OP_TREE, y: ops.OP_TREE): argument
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/testing/
H A Dop_tree.py18 def assert_equivalent_op_tree(x: ops.OP_TREE, y: ops.OP_TREE): argument
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/testing/
H A Dop_tree.py18 def assert_equivalent_op_tree(x: ops.OP_TREE, y: ops.OP_TREE): argument
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/contrib/paulistring/
H A Dconvert_to_pauli_string_phasors.py58 def _matrix_to_pauli_string_phasors(self, mat: np.ndarray, qubit: 'cirq.Qid') -> ops.OP_TREE:
80 def _convert_one(self, op: ops.Operation) -> ops.OP_TREE:
108 def convert(self, op: ops.Operation) -> ops.OP_TREE:
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/optimizers/
H A Dmerge_single_qubit_gates.py36 rewriter: Optional[Callable[[List[ops.Operation]], Optional[ops.OP_TREE]]] = None, argument
37 synthesizer: Optional[Callable[[ops.Qid, np.ndarray], Optional[ops.OP_TREE]]] = None,
62 def _rewrite(self, operations: List[ops.Operation]) -> Optional[ops.OP_TREE]:
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/contrib/paulistring/
H A Dconvert_to_pauli_string_phasors.py58 def _matrix_to_pauli_string_phasors(self, mat: np.ndarray, qubit: 'cirq.Qid') -> ops.OP_TREE:
80 def _convert_one(self, op: ops.Operation) -> ops.OP_TREE:
108 def convert(self, op: ops.Operation) -> ops.OP_TREE:
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/optimizers/
H A Dmerge_single_qubit_gates.py34 rewriter: Optional[Callable[[List[ops.Operation]], Optional[ops.OP_TREE]]] = None, argument
35 synthesizer: Optional[Callable[[ops.Qid, np.ndarray], Optional[ops.OP_TREE]]] = None,
59 def _rewrite(self, operations: List[ops.Operation]) -> Optional[ops.OP_TREE]:

12345678