Home
last modified time | relevance | path

Searched refs:basis_change (Results 1 – 25 of 40) sorted by relevance

12

/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/interop/quirk/cells/
H A Dcontrol_cells.py30 self._basis_change = tuple(basis_change)
48 basis_change=tuple(
60 def basis_change(self) -> 'cirq.OP_TREE': member in ControlCell
74 self._basis_change = list(basis_change)
92 basis_change=tuple(
112 def basis_change(self) -> 'cirq.OP_TREE': member in ParityControlCell
122 yield _reg_control("•", basis_change=None)
140 qubit=args.qubits[0], basis_change=_basis_else_empty(basis_change, args.qubits[0])
152 qubits=args.qubits, basis_change=_basis_else_empty(basis_change, args.qubits)
160 if basis_change is None:
[all …]
H A Dmeasurement_cells.py26 yield _measurement("YDetector", basis_change=ops.X ** -0.5)
27 yield _measurement("XDetector", basis_change=ops.Y ** 0.5)
30 def _measurement(identifier: str, basis_change: Optional['cirq.Gate'] = None) -> CellMaker:
36 basis_change=cast(
37 Iterable['cirq.Operation'], [basis_change.on(*args.qubits)] if basis_change else ()
H A Dcell.py129 def basis_change(self) -> 'cirq.OP_TREE': member in Cell
181 self, operations: Iterable[ops.Operation], basis_change: Iterable[ops.Operation] = ()
184 self._basis_change = tuple(basis_change)
194 basis_change=tuple(
203 def basis_change(self) -> 'cirq.OP_TREE': member in ExplicitOperationsCell
H A Dcomposite_cell.py115 basis_change = circuits.Circuit(
116 cell.basis_change() for cell in col if cell is not None
118 result += basis_change
120 result += basis_change ** -1
H A Dcell_test.py30 assert c.basis_change() == ()
60 assert v.basis_change() == (cirq.S(a),)
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/interop/quirk/cells/
H A Dcontrol_cells.py30 self._basis_change = tuple(basis_change)
48 basis_change=tuple(
60 def basis_change(self) -> 'cirq.OP_TREE': member in ControlCell
74 self._basis_change = list(basis_change)
92 basis_change=tuple(
112 def basis_change(self) -> 'cirq.OP_TREE': member in ParityControlCell
122 yield _reg_control("•", basis_change=None)
140 qubit=args.qubits[0], basis_change=_basis_else_empty(basis_change, args.qubits[0])
152 qubits=args.qubits, basis_change=_basis_else_empty(basis_change, args.qubits)
160 if basis_change is None:
[all …]
H A Dmeasurement_cells.py26 yield _measurement("YDetector", basis_change=ops.X ** -0.5)
27 yield _measurement("XDetector", basis_change=ops.Y ** 0.5)
30 def _measurement(identifier: str, basis_change: Optional['cirq.Gate'] = None) -> CellMaker:
36 basis_change=cast(
37 Iterable['cirq.Operation'], [basis_change.on(*args.qubits)] if basis_change else ()
H A Dcell.py129 def basis_change(self) -> 'cirq.OP_TREE': member in Cell
181 self, operations: Iterable[ops.Operation], basis_change: Iterable[ops.Operation] = ()
184 self._basis_change = tuple(basis_change)
194 basis_change=tuple(
203 def basis_change(self) -> 'cirq.OP_TREE': member in ExplicitOperationsCell
H A Dcomposite_cell.py115 basis_change = circuits.Circuit(
116 cell.basis_change() for cell in col if cell is not None
118 result += basis_change
120 result += basis_change ** -1
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/interop/quirk/cells/
H A Dcontrol_cells.py30 self._basis_change = tuple(basis_change)
48 basis_change=tuple(
60 def basis_change(self) -> 'cirq.OP_TREE': member in ControlCell
74 self._basis_change = list(basis_change)
92 basis_change=tuple(
112 def basis_change(self) -> 'cirq.OP_TREE': member in ParityControlCell
122 yield _reg_control("•", basis_change=None)
140 qubit=args.qubits[0], basis_change=_basis_else_empty(basis_change, args.qubits[0])
152 qubits=args.qubits, basis_change=_basis_else_empty(basis_change, args.qubits)
160 if basis_change is None:
[all …]
H A Dmeasurement_cells.py26 yield _measurement("YDetector", basis_change=ops.X ** -0.5)
27 yield _measurement("XDetector", basis_change=ops.Y ** 0.5)
30 def _measurement(identifier: str, basis_change: Optional['cirq.Gate'] = None) -> CellMaker:
36 basis_change=cast(
37 Iterable['cirq.Operation'], [basis_change.on(*args.qubits)] if basis_change else ()
H A Dcell.py129 def basis_change(self) -> 'cirq.OP_TREE': member in Cell
181 self, operations: Iterable[ops.Operation], basis_change: Iterable[ops.Operation] = ()
184 self._basis_change = tuple(basis_change)
194 basis_change=tuple(
203 def basis_change(self) -> 'cirq.OP_TREE': member in ExplicitOperationsCell
H A Dcomposite_cell.py115 basis_change = circuits.Circuit(
116 cell.basis_change() for cell in col if cell is not None
118 result += basis_change
120 result += basis_change ** -1
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/interop/quirk/cells/
H A Dcontrol_cells.py30 self._basis_change = tuple(basis_change)
48 basis_change=tuple(
60 def basis_change(self) -> 'cirq.OP_TREE': member in ControlCell
74 self._basis_change = list(basis_change)
92 basis_change=tuple(
112 def basis_change(self) -> 'cirq.OP_TREE': member in ParityControlCell
122 yield _reg_control("•", basis_change=None)
140 qubit=args.qubits[0], basis_change=_basis_else_empty(basis_change, args.qubits[0])
152 qubits=args.qubits, basis_change=_basis_else_empty(basis_change, args.qubits)
160 if basis_change is None:
[all …]
H A Dmeasurement_cells.py26 yield _measurement("YDetector", basis_change=ops.X ** -0.5)
27 yield _measurement("XDetector", basis_change=ops.Y ** 0.5)
30 def _measurement(identifier: str, basis_change: Optional['cirq.Gate'] = None) -> CellMaker:
36 basis_change=cast(
37 Iterable['cirq.Operation'], [basis_change.on(*args.qubits)] if basis_change else ()
H A Dcell.py129 def basis_change(self) -> 'cirq.OP_TREE': member in Cell
181 self, operations: Iterable[ops.Operation], basis_change: Iterable[ops.Operation] = ()
184 self._basis_change = tuple(basis_change)
194 basis_change=tuple(
203 def basis_change(self) -> 'cirq.OP_TREE': member in ExplicitOperationsCell
H A Dcomposite_cell.py115 basis_change = circuits.Circuit(
116 cell.basis_change() for cell in col if cell is not None
118 result += basis_change
120 result += basis_change ** -1
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/interop/quirk/cells/
H A Dcontrol_cells.py30 self._basis_change = tuple(basis_change)
48 basis_change=tuple(
60 def basis_change(self) -> 'cirq.OP_TREE': member in ControlCell
74 self._basis_change = list(basis_change)
92 basis_change=tuple(
112 def basis_change(self) -> 'cirq.OP_TREE': member in ParityControlCell
122 yield _reg_control("•", basis_change=None)
140 qubit=args.qubits[0], basis_change=_basis_else_empty(basis_change, args.qubits[0])
152 qubits=args.qubits, basis_change=_basis_else_empty(basis_change, args.qubits)
160 if basis_change is None:
[all …]
H A Dmeasurement_cells.py26 yield _measurement("YDetector", basis_change=ops.X ** -0.5)
27 yield _measurement("XDetector", basis_change=ops.Y ** 0.5)
30 def _measurement(identifier: str, basis_change: Optional['cirq.Gate'] = None) -> CellMaker:
36 basis_change=cast(
37 Iterable['cirq.Operation'], [basis_change.on(*args.qubits)] if basis_change else ()
H A Dcell.py129 def basis_change(self) -> 'cirq.OP_TREE': member in Cell
181 self, operations: Iterable[ops.Operation], basis_change: Iterable[ops.Operation] = ()
184 self._basis_change = tuple(basis_change)
194 basis_change=tuple(
203 def basis_change(self) -> 'cirq.OP_TREE': member in ExplicitOperationsCell
H A Dcomposite_cell.py115 basis_change = circuits.Circuit(
116 cell.basis_change() for cell in col if cell is not None
118 result += basis_change
120 result += basis_change ** -1
/dports/graphics/blender/blender-2.91.0/intern/iksolver/intern/
H A DIK_Solver.cpp240 void IK_GetBasisChange(IK_Segment *seg, float basis_change[][3]) in IK_GetBasisChange()
250 basis_change[0][0] = (float)change(0, 0); in IK_GetBasisChange()
251 basis_change[1][0] = (float)change(0, 1); in IK_GetBasisChange()
252 basis_change[2][0] = (float)change(0, 2); in IK_GetBasisChange()
253 basis_change[0][1] = (float)change(1, 0); in IK_GetBasisChange()
254 basis_change[1][1] = (float)change(1, 1); in IK_GetBasisChange()
255 basis_change[2][1] = (float)change(1, 2); in IK_GetBasisChange()
256 basis_change[0][2] = (float)change(2, 0); in IK_GetBasisChange()
257 basis_change[1][2] = (float)change(2, 1); in IK_GetBasisChange()
258 basis_change[2][2] = (float)change(2, 2); in IK_GetBasisChange()
/dports/graphics/blender/blender-2.91.0/source/blender/ikplugin/intern/
H A Diksolver_plugin.c523 tree->basis_change = MEM_mallocN(sizeof(float[3][3]) * tree->totchannel, "ik basis change"); in execute_posetree()
529 IK_GetBasisChange(iktree[a], tree->basis_change[a]); in execute_posetree()
552 mul_v3_fl(tree->basis_change[a][0], stretch); in execute_posetree()
553 mul_v3_fl(tree->basis_change[a][1], stretch); in execute_posetree()
554 mul_v3_fl(tree->basis_change[a][2], stretch); in execute_posetree()
559 blend_m3_m3m3(tree->basis_change[a], identity, tree->basis_change[a], resultinf); in execute_posetree()
580 if (tree->basis_change) { in free_posetree()
581 MEM_freeN(tree->basis_change); in free_posetree()
640 where_is_ik_bone(tree->pchan[a], tree->basis_change[a]); in iksolver_execute_tree()
/dports/math/gap/gap-4.11.0/pkg/RepnDecomp-1.1.0/examples/
H A Dunitary.g26 ForAll(G, g -> tau_u.basis_change * Image(tau_u.unitary_rep, g) = Image(tau, g) * tau_u.basis_chang…
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/symmetry/
H A Dsettings.py106 basis_change = b_change.split(",")
109 basis_change = [
116 for x in basis_change
122 … P = np.array([eval(x, {"__builtins__": None}, {"a": a, "b": b, "c": c}) for x in basis_change])

12