Home
last modified time | relevance | path

Searched refs:ShapeGate (Results 1 – 10 of 10) sorted by relevance

/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/
H A Draw_types_test.py241 class ShapeGate(cirq.Gate): class
253 shape_gate = ShapeGate()
289 class ShapeGate(cirq.Gate): class
321 assert cirq.qid_shape(ShapeGate()) == (1, 2, 3)
322 assert cirq.num_qubits(ShapeGate()) == 3
323 assert ShapeGate().num_qubits() == 3 # Deprecated
H A Dgate_operation_test.py120 class ShapeGate(cirq.Gate): class
124 op = ShapeGate().on(*cirq.LineQid.for_qid_shape((1, 2, 3, 4)))
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/
H A Draw_types_test.py241 class ShapeGate(cirq.Gate): class
253 shape_gate = ShapeGate()
289 class ShapeGate(cirq.Gate): class
321 assert cirq.qid_shape(ShapeGate()) == (1, 2, 3)
322 assert cirq.num_qubits(ShapeGate()) == 3
323 assert ShapeGate().num_qubits() == 3 # Deprecated
H A Dgate_operation_test.py119 class ShapeGate(cirq.Gate): class
123 op = ShapeGate().on(*cirq.LineQid.for_qid_shape((1, 2, 3, 4)))
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/
H A Draw_types_test.py241 class ShapeGate(cirq.Gate): class
253 shape_gate = ShapeGate()
289 class ShapeGate(cirq.Gate): class
321 assert cirq.qid_shape(ShapeGate()) == (1, 2, 3)
322 assert cirq.num_qubits(ShapeGate()) == 3
323 assert ShapeGate().num_qubits() == 3 # Deprecated
H A Dgate_operation_test.py119 class ShapeGate(cirq.Gate): class
123 op = ShapeGate().on(*cirq.LineQid.for_qid_shape((1, 2, 3, 4)))
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/
H A Draw_types_test.py241 class ShapeGate(cirq.Gate): class
253 shape_gate = ShapeGate()
289 class ShapeGate(cirq.Gate): class
321 assert cirq.qid_shape(ShapeGate()) == (1, 2, 3)
322 assert cirq.num_qubits(ShapeGate()) == 3
323 assert ShapeGate().num_qubits() == 3 # Deprecated
H A Dgate_operation_test.py119 class ShapeGate(cirq.Gate): class
123 op = ShapeGate().on(*cirq.LineQid.for_qid_shape((1, 2, 3, 4)))
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/
H A Draw_types_test.py241 class ShapeGate(cirq.Gate): class
253 shape_gate = ShapeGate()
289 class ShapeGate(cirq.Gate): class
321 assert cirq.qid_shape(ShapeGate()) == (1, 2, 3)
322 assert cirq.num_qubits(ShapeGate()) == 3
323 assert ShapeGate().num_qubits() == 3 # Deprecated
H A Dgate_operation_test.py119 class ShapeGate(cirq.Gate): class
123 op = ShapeGate().on(*cirq.LineQid.for_qid_shape((1, 2, 3, 4)))