Home
last modified time | relevance | path

Searched refs:system_qubits (Results 1 – 25 of 70) sorted by relevance

123

/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/contrib/noise_models/
H A Dnoise_models.py41 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
73 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
79 self.readout_noise_gate(q).with_tags(ops.VirtualTag()) for q in system_qubits
107 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
139 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
142 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
147 ops.Moment(self.qubit_noise_gate(q) for q in system_qubits),
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
183 ops.Moment(self.readout_decay_gate(q) for q in system_qubits),
184 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
[all …]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/contrib/noise_models/
H A Dnoise_models.py41 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
73 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
79 self.readout_noise_gate(q).with_tags(ops.VirtualTag()) for q in system_qubits
107 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
139 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
142 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
147 ops.Moment(self.qubit_noise_gate(q) for q in system_qubits),
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
183 ops.Moment(self.readout_decay_gate(q) for q in system_qubits),
184 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/contrib/noise_models/
H A Dnoise_models.py41 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
73 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
79 self.readout_noise_gate(q).with_tags(ops.VirtualTag()) for q in system_qubits
107 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
139 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
142 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
147 ops.Moment(self.qubit_noise_gate(q) for q in system_qubits),
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
183 ops.Moment(self.readout_decay_gate(q) for q in system_qubits),
184 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/contrib/noise_models/
H A Dnoise_models.py41 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
73 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
79 self.readout_noise_gate(q).with_tags(ops.VirtualTag()) for q in system_qubits
107 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
139 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
142 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
147 ops.Moment(self.qubit_noise_gate(q) for q in system_qubits),
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
183 ops.Moment(self.readout_decay_gate(q) for q in system_qubits),
184 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/contrib/noise_models/
H A Dnoise_models.py41 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
73 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
79 self.readout_noise_gate(q).with_tags(ops.VirtualTag()) for q in system_qubits
107 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
139 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
142 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
147 ops.Moment(self.qubit_noise_gate(q) for q in system_qubits),
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
183 ops.Moment(self.readout_decay_gate(q) for q in system_qubits),
184 ops.Moment(self.readout_noise_gate(q) for q in system_qubits),
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/devices/
H A Dnoise_model.py97 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
101 result.append(self.noisy_moment(moment, system_qubits))
105 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
115 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
129 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
131 return self.noisy_moments([moment], system_qubits)
134 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
141 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
224 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
[all …]
H A Dnoise_properties.py211 def _apply_depol_noise(pauli_error, moments, system_qubits): argument
217 moments.append(ops.Moment(ops.depolarize(p_other)(q) for q in system_qubits))
220 def _apply_amplitude_damp_noise(duration, t1, moments, system_qubits): argument
222 ops.Moment(ops.amplitude_damp(1 - np.exp(-duration / t1)).on_each(system_qubits))
242 self, moment: ops.Moment, system_qubits: Sequence['cirq.Qid']
262 _apply_depol_noise(pauli_error, moments, system_qubits)
267 duration, self._noise_properties.t1_ns, moments, system_qubits
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/devices/
H A Dnoise_model.py94 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
98 result.append(self.noisy_moment(moment, system_qubits))
102 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
112 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
126 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
128 return self.noisy_moments([moment], system_qubits)
131 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
138 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
177 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
221 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/devices/
H A Dnoise_model.py97 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
101 result.append(self.noisy_moment(moment, system_qubits))
105 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
115 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
129 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
131 return self.noisy_moments([moment], system_qubits)
134 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
141 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
224 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
[all …]
H A Dnoise_properties.py211 def _apply_depol_noise(pauli_error, moments, system_qubits): argument
217 moments.append(ops.Moment(ops.depolarize(p_other)(q) for q in system_qubits))
220 def _apply_amplitude_damp_noise(duration, t1, moments, system_qubits): argument
222 ops.Moment(ops.amplitude_damp(1 - np.exp(-duration / t1)).on_each(system_qubits))
242 self, moment: ops.Moment, system_qubits: Sequence['cirq.Qid']
262 _apply_depol_noise(pauli_error, moments, system_qubits)
267 duration, self._noise_properties.t1_ns, moments, system_qubits
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/devices/
H A Dnoise_model.py97 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
101 result.append(self.noisy_moment(moment, system_qubits))
105 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
115 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
129 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
131 return self.noisy_moments([moment], system_qubits)
134 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
141 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
224 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
[all …]
H A Dnoise_properties.py211 def _apply_depol_noise(pauli_error, moments, system_qubits): argument
217 moments.append(ops.Moment(ops.depolarize(p_other)(q) for q in system_qubits))
220 def _apply_amplitude_damp_noise(duration, t1, moments, system_qubits): argument
222 ops.Moment(ops.amplitude_damp(1 - np.exp(-duration / t1)).on_each(system_qubits))
242 self, moment: ops.Moment, system_qubits: Sequence['cirq.Qid']
262 _apply_depol_noise(pauli_error, moments, system_qubits)
267 duration, self._noise_properties.t1_ns, moments, system_qubits
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/devices/
H A Dnoise_model.py97 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
101 result.append(self.noisy_moment(moment, system_qubits))
105 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
115 self, moments: 'Iterable[cirq.Moment]', system_qubits: Sequence['cirq.Qid']
129 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
131 return self.noisy_moments([moment], system_qubits)
134 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
141 self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']
180 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
224 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
[all …]
H A Dnoise_properties.py211 def _apply_depol_noise(pauli_error, moments, system_qubits): argument
217 moments.append(ops.Moment(ops.depolarize(p_other)(q) for q in system_qubits))
220 def _apply_amplitude_damp_noise(duration, t1, moments, system_qubits): argument
222 ops.Moment(ops.amplitude_damp(1 - np.exp(-duration / t1)).on_each(system_qubits))
242 self, moment: ops.Moment, system_qubits: Sequence['cirq.Qid']
262 _apply_depol_noise(pauli_error, moments, system_qubits)
267 duration, self._noise_properties.t1_ns, moments, system_qubits
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/work/
H A Dobservable_readout_calibration_test.py20 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
23 cirq.Moment(self.readout_decay_gate(q) for q in system_qubits),
24 cirq.Moment(self.readout_noise_gate(q) for q in system_qubits),
28 return [moment, cirq.Moment(self.qubit_noise_gate(q) for q in system_qubits)]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/work/
H A Dobservable_readout_calibration_test.py20 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
23 cirq.Moment(self.readout_decay_gate(q) for q in system_qubits),
24 cirq.Moment(self.readout_noise_gate(q) for q in system_qubits),
28 return [moment, cirq.Moment(self.qubit_noise_gate(q) for q in system_qubits)]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/work/
H A Dobservable_readout_calibration_test.py20 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
23 cirq.Moment(self.readout_decay_gate(q) for q in system_qubits),
24 cirq.Moment(self.readout_noise_gate(q) for q in system_qubits),
28 return [moment, cirq.Moment(self.qubit_noise_gate(q) for q in system_qubits)]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/work/
H A Dobservable_readout_calibration_test.py20 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
23 cirq.Moment(self.readout_decay_gate(q) for q in system_qubits),
24 cirq.Moment(self.readout_noise_gate(q) for q in system_qubits),
28 return [moment, cirq.Moment(self.qubit_noise_gate(q) for q in system_qubits)]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/work/
H A Dobservable_readout_calibration_test.py20 def noisy_moment(self, moment: 'cirq.Moment', system_qubits: Sequence['cirq.Qid']):
23 cirq.Moment(self.readout_decay_gate(q) for q in system_qubits),
24 cirq.Moment(self.readout_noise_gate(q) for q in system_qubits),
28 return [moment, cirq.Moment(self.qubit_noise_gate(q) for q in system_qubits)]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-aqt/cirq_aqt/
H A Daqt_device.py68 self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]
91 noise_list += self.get_crosstalk_operation(op, system_qubits)
95 self, operation: cirq.Operation, system_qubits: Sequence[cirq.Qid]
106 cast(Tuple[cirq.LineQubit], system_qubits)
107 num_qubits = len(system_qubits)
111 idx = system_qubits.index(qubit)
126 xtlk_op = gate.on(system_qubits[idx]) ** exponent
133 xtlk_op = gate.on(op_qubit, system_qubits[idx]) ** exponent
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_device.py71 self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]
94 noise_list += self.get_crosstalk_operation(op, system_qubits)
98 self, operation: cirq.Operation, system_qubits: Sequence[cirq.Qid]
109 cast(Tuple[cirq.LineQubit], system_qubits)
110 num_qubits = len(system_qubits)
114 idx = system_qubits.index(qubit)
129 xtlk_op = gate.on(system_qubits[idx]) ** exponent
136 xtlk_op = gate.on(op_qubit, system_qubits[idx]) ** exponent
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_device.py71 self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]
94 noise_list += self.get_crosstalk_operation(op, system_qubits)
98 self, operation: cirq.Operation, system_qubits: Sequence[cirq.Qid]
109 cast(Tuple[cirq.LineQubit], system_qubits)
110 num_qubits = len(system_qubits)
114 idx = system_qubits.index(qubit)
129 xtlk_op = gate.on(system_qubits[idx]) ** exponent
136 xtlk_op = gate.on(op_qubit, system_qubits[idx]) ** exponent
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-aqt/cirq_aqt/
H A Daqt_device.py71 self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]
94 noise_list += self.get_crosstalk_operation(op, system_qubits)
98 self, operation: cirq.Operation, system_qubits: Sequence[cirq.Qid]
109 cast(Tuple[cirq.LineQubit], system_qubits)
110 num_qubits = len(system_qubits)
114 idx = system_qubits.index(qubit)
129 xtlk_op = gate.on(system_qubits[idx]) ** exponent
136 xtlk_op = gate.on(op_qubit, system_qubits[idx]) ** exponent
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-aqt/cirq_aqt/
H A Daqt_device.py71 self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]
94 noise_list += self.get_crosstalk_operation(op, system_qubits)
98 self, operation: cirq.Operation, system_qubits: Sequence[cirq.Qid]
109 cast(Tuple[cirq.LineQubit], system_qubits)
110 num_qubits = len(system_qubits)
114 idx = system_qubits.index(qubit)
129 xtlk_op = gate.on(system_qubits[idx]) ** exponent
136 xtlk_op = gate.on(op_qubit, system_qubits[idx]) ** exponent
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-google/cirq_google/experimental/noise_models/
H A Dnoise_models.py64 def noisy_moment(self, moment: cirq.Moment, system_qubits: Sequence[cirq.Qid]) -> cirq.OP_TREE:
72 cirq.AmplitudeDampingChannel(self.decay_probs[q])(q) for q in system_qubits
78 cirq.BitFlipChannel(self.bitflip_probs[q])(q) for q in system_qubits
86 gated_qubits = [q for q in system_qubits if moment.operates_on_single_qubit(q)]

123