/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | gateset.py | 18 from cirq.ops import global_phase_op, op_tree, raw_types 26 gate: Union[raw_types.Gate, Type[raw_types.Gate], 'cirq.GateFamily'], 64 gate: Union[Type[raw_types.Gate], raw_types.Gate], 85 isinstance(gate, raw_types.Gate) 109 def gate(self) -> Union[Type[raw_types.Gate], raw_types.Gate]: 131 if isinstance(self.gate, raw_types.Gate): 139 def __contains__(self, item: Union[raw_types.Gate, raw_types.Operation]) -> bool: 140 if isinstance(item, raw_types.Operation): 163 isinstance(self.gate, raw_types.Gate), 185 *gates: Union[Type[raw_types.Gate], raw_types.Gate, GateFamily], [all …]
|
H A D | measure_util.py | 20 from cirq.ops import raw_types, pauli_string 28 def _default_measurement_key(qubits: Iterable[raw_types.Qid]) -> str: 35 ) -> raw_types.Operation: 60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str 61 ) -> List[raw_types.Operation]: 88 ) -> raw_types.Operation: 113 elif not isinstance(qubit, raw_types.Qid): 123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str 124 ) -> List[raw_types.Operation]:
|
H A D | gate_features.py | 25 from cirq.ops import raw_types 48 class SupportsOnEachGate(raw_types.Gate, metaclass=_SupportsOnEachGateMeta): 52 class SingleQubitGate(raw_types.Gate, metaclass=abc.ABCMeta): 65 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 2 69 class TwoQubitGate(raw_types.Gate, metaclass=_TwoQubitGateMeta): 82 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 3 86 class ThreeQubitGate(raw_types.Gate, metaclass=_ThreeQubitGateMeta):
|
H A D | qubit_order.py | 26 from cirq.ops import raw_types 40 self, explicit_func: Callable[[Iterable[raw_types.Qid]], Tuple[raw_types.Qid, ...]] 56 fixed_qubits: Iterable[raw_types.Qid], fallback: Optional['QubitOrder'] = None 87 def sorted_by(key: Callable[[raw_types.Qid], Any]) -> 'QubitOrder': 100 def order_for(self, qubits: Iterable[raw_types.Qid]) -> Tuple[raw_types.Qid, ...]:
|
H A D | pauli_string_raw_types.py | 20 from cirq.ops import pauli_string as ps, raw_types 30 class PauliStringGateOperation(raw_types.Operation, metaclass=abc.ABCMeta): 34 def validate_args(self, qubits: Sequence[raw_types.Qid]) -> None: 46 self: TSelf_PauliStringGateOperation, qubit_map: Dict[raw_types.Qid, raw_types.Qid] 55 def qubits(self) -> Tuple[raw_types.Qid, ...]:
|
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | gateset.py | 18 from cirq.ops import global_phase_op, op_tree, raw_types 26 gate: Union[raw_types.Gate, Type[raw_types.Gate], 'cirq.GateFamily'], 64 gate: Union[Type[raw_types.Gate], raw_types.Gate], 85 isinstance(gate, raw_types.Gate) 109 def gate(self) -> Union[Type[raw_types.Gate], raw_types.Gate]: 131 if isinstance(self.gate, raw_types.Gate): 139 def __contains__(self, item: Union[raw_types.Gate, raw_types.Operation]) -> bool: 140 if isinstance(item, raw_types.Operation): 163 isinstance(self.gate, raw_types.Gate), 185 *gates: Union[Type[raw_types.Gate], raw_types.Gate, GateFamily], [all …]
|
H A D | measure_util.py | 20 from cirq.ops import raw_types, pauli_string 28 def _default_measurement_key(qubits: Iterable[raw_types.Qid]) -> str: 35 ) -> raw_types.Operation: 60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str 61 ) -> List[raw_types.Operation]: 88 ) -> raw_types.Operation: 113 elif not isinstance(qubit, raw_types.Qid): 123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str 124 ) -> List[raw_types.Operation]:
|
H A D | gate_features.py | 25 from cirq.ops import raw_types 48 class SupportsOnEachGate(raw_types.Gate, metaclass=_SupportsOnEachGateMeta): 52 class SingleQubitGate(raw_types.Gate, metaclass=abc.ABCMeta): 65 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 2 69 class TwoQubitGate(raw_types.Gate, metaclass=_TwoQubitGateMeta): 82 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 3 86 class ThreeQubitGate(raw_types.Gate, metaclass=_ThreeQubitGateMeta):
|
H A D | qubit_order.py | 26 from cirq.ops import raw_types 40 self, explicit_func: Callable[[Iterable[raw_types.Qid]], Tuple[raw_types.Qid, ...]] 56 fixed_qubits: Iterable[raw_types.Qid], fallback: Optional['QubitOrder'] = None 87 def sorted_by(key: Callable[[raw_types.Qid], Any]) -> 'QubitOrder': 100 def order_for(self, qubits: Iterable[raw_types.Qid]) -> Tuple[raw_types.Qid, ...]:
|
H A D | pauli_string_raw_types.py | 20 from cirq.ops import pauli_string as ps, raw_types 30 class PauliStringGateOperation(raw_types.Operation, metaclass=abc.ABCMeta): 34 def validate_args(self, qubits: Sequence[raw_types.Qid]) -> None: 46 self: TSelf_PauliStringGateOperation, qubit_map: Dict[raw_types.Qid, raw_types.Qid] 55 def qubits(self) -> Tuple[raw_types.Qid, ...]:
|
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/ |
H A D | gateset.py | 18 from cirq.ops import global_phase_op, op_tree, raw_types 26 gate: Union[raw_types.Gate, Type[raw_types.Gate], 'cirq.GateFamily'], 64 gate: Union[Type[raw_types.Gate], raw_types.Gate], 85 isinstance(gate, raw_types.Gate) 109 def gate(self) -> Union[Type[raw_types.Gate], raw_types.Gate]: 131 if isinstance(self.gate, raw_types.Gate): 139 def __contains__(self, item: Union[raw_types.Gate, raw_types.Operation]) -> bool: 140 if isinstance(item, raw_types.Operation): 163 isinstance(self.gate, raw_types.Gate), 185 *gates: Union[Type[raw_types.Gate], raw_types.Gate, GateFamily], [all …]
|
H A D | measure_util.py | 20 from cirq.ops import raw_types, pauli_string 28 def _default_measurement_key(qubits: Iterable[raw_types.Qid]) -> str: 35 ) -> raw_types.Operation: 60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str 61 ) -> List[raw_types.Operation]: 88 ) -> raw_types.Operation: 113 elif not isinstance(qubit, raw_types.Qid): 123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str 124 ) -> List[raw_types.Operation]:
|
H A D | gate_features.py | 25 from cirq.ops import raw_types 48 class SupportsOnEachGate(raw_types.Gate, metaclass=_SupportsOnEachGateMeta): 52 class SingleQubitGate(raw_types.Gate, metaclass=abc.ABCMeta): 65 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 2 69 class TwoQubitGate(raw_types.Gate, metaclass=_TwoQubitGateMeta): 82 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 3 86 class ThreeQubitGate(raw_types.Gate, metaclass=_ThreeQubitGateMeta):
|
H A D | qubit_order.py | 26 from cirq.ops import raw_types 40 self, explicit_func: Callable[[Iterable[raw_types.Qid]], Tuple[raw_types.Qid, ...]] 56 fixed_qubits: Iterable[raw_types.Qid], fallback: Optional['QubitOrder'] = None 87 def sorted_by(key: Callable[[raw_types.Qid], Any]) -> 'QubitOrder': 100 def order_for(self, qubits: Iterable[raw_types.Qid]) -> Tuple[raw_types.Qid, ...]:
|
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/ |
H A D | gateset.py | 18 from cirq.ops import global_phase_op, op_tree, raw_types 26 gate: Union[raw_types.Gate, Type[raw_types.Gate], 'cirq.GateFamily'], 64 gate: Union[Type[raw_types.Gate], raw_types.Gate], 85 isinstance(gate, raw_types.Gate) 109 def gate(self) -> Union[Type[raw_types.Gate], raw_types.Gate]: 131 if isinstance(self.gate, raw_types.Gate): 139 def __contains__(self, item: Union[raw_types.Gate, raw_types.Operation]) -> bool: 140 if isinstance(item, raw_types.Operation): 163 isinstance(self.gate, raw_types.Gate), 185 *gates: Union[Type[raw_types.Gate], raw_types.Gate, GateFamily], [all …]
|
H A D | measure_util.py | 20 from cirq.ops import raw_types, pauli_string 28 def _default_measurement_key(qubits: Iterable[raw_types.Qid]) -> str: 35 ) -> raw_types.Operation: 60 pauli_basis: pauli_string.PauliString, key_func: Callable[[raw_types.Qid], str] = str 61 ) -> List[raw_types.Operation]: 88 ) -> raw_types.Operation: 113 elif not isinstance(qubit, raw_types.Qid): 123 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str 124 ) -> List[raw_types.Operation]:
|
H A D | gate_features.py | 25 from cirq.ops import raw_types 48 class SupportsOnEachGate(raw_types.Gate, metaclass=_SupportsOnEachGateMeta): 52 class SingleQubitGate(raw_types.Gate, metaclass=abc.ABCMeta): 65 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 2 69 class TwoQubitGate(raw_types.Gate, metaclass=_TwoQubitGateMeta): 82 return isinstance(instance, raw_types.Gate) and instance._num_qubits_() == 3 86 class ThreeQubitGate(raw_types.Gate, metaclass=_ThreeQubitGateMeta):
|
H A D | qubit_order.py | 26 from cirq.ops import raw_types 40 self, explicit_func: Callable[[Iterable[raw_types.Qid]], Tuple[raw_types.Qid, ...]] 56 fixed_qubits: Iterable[raw_types.Qid], fallback: Optional['QubitOrder'] = None 87 def sorted_by(key: Callable[[raw_types.Qid], Any]) -> 'QubitOrder': 100 def order_for(self, qubits: Iterable[raw_types.Qid]) -> Tuple[raw_types.Qid, ...]:
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 109 .raw_types = { 161 .raw_types = { 202 .raw_types = { 238 .raw_types = { 278 .raw_types = { 313 .raw_types = { 335 .raw_types = { 359 .raw_types = { 381 .raw_types = { 406 .raw_types = { [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 109 .raw_types = { 161 .raw_types = { 202 .raw_types = { 238 .raw_types = { 278 .raw_types = { 313 .raw_types = { 335 .raw_types = { 359 .raw_types = { 381 .raw_types = { 406 .raw_types = { [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 109 .raw_types = { 161 .raw_types = { 202 .raw_types = { 238 .raw_types = { 278 .raw_types = { 313 .raw_types = { 335 .raw_types = { 359 .raw_types = { 381 .raw_types = { 406 .raw_types = { [all …]
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/wig/src/ |
H A D | lib.rs | 4 mod raw_types; module 13 TokenStream::from(raw_types::gen( in witx_host_types() 15 raw_types::Mode::Host, in witx_host_types() 21 TokenStream::from(raw_types::gen( in witx_wasi_types() 23 raw_types::Mode::Wasi, in witx_wasi_types() 29 TokenStream::from(raw_types::gen( in witx_wasi32_types() 31 raw_types::Mode::Wasi32, in witx_wasi32_types()
|
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/ |
H A D | measure_util.py | 20 from cirq.ops import raw_types 27 def _default_measurement_key(qubits: Iterable[raw_types.Qid]) -> str: 35 ) -> raw_types.Operation: 60 elif not isinstance(qubit, raw_types.Qid): 70 *qubits: 'cirq.Qid', key_func: Callable[[raw_types.Qid], str] = str 71 ) -> List[raw_types.Operation]:
|
H A D | qubit_order.py | 26 from cirq.ops import raw_types 40 self, explicit_func: Callable[[Iterable[raw_types.Qid]], Tuple[raw_types.Qid, ...]] 54 fixed_qubits: Iterable[raw_types.Qid], fallback: Optional['QubitOrder'] = None 84 def sorted_by(key: Callable[[raw_types.Qid], Any]) -> 'QubitOrder': 97 def order_for(self, qubits: Iterable[raw_types.Qid]) -> Tuple[raw_types.Qid, ...]:
|
H A D | pauli_string_raw_types.py | 20 from cirq.ops import pauli_string as ps, raw_types 30 class PauliStringGateOperation(raw_types.Operation, metaclass=abc.ABCMeta): 34 def validate_args(self, qubits: Sequence[raw_types.Qid]) -> None: 46 self: TSelf_PauliStringGateOperation, qubit_map: Dict[raw_types.Qid, raw_types.Qid] 55 def qubits(self) -> Tuple[raw_types.Qid, ...]:
|