![]() |
Noise-defining properties for a superconducting-qubit-based device.
Inherits From: NoiseProperties
cirq.SuperconductingQubitsNoiseProperties(
gate_times_ns: Dict[type, float],
t1_ns: Dict['cirq.Qid', float],
tphi_ns: Dict['cirq.Qid', float],
readout_errors: Dict['cirq.Qid', List[float]],
gate_pauli_errors: Dict[cirq.OpIdentifier
, float],
validate: bool = True
)
Args | |
---|---|
gate_times_ns
|
Dict[type, float] of gate types to their duration on quantum hardware. |
t1_ns
|
Dict[cirq.Qid, float] of qubits to their T_1 time, in ns. |
tphi_ns
|
Dict[cirq.Qid, float] of qubits to their T_phi time, in ns. |
readout_errors
|
Dict[cirq.Qid, np.ndarray] of qubits to their readout errors in matrix form: [P(read |1> from |0>), P(read |0> from |1>)]. |
gate_pauli_errors
|
dict of noise_utils.OpIdentifiers (a gate and the qubits it targets) to the Pauli error for that operation. Keys in this dict must have defined qubits. |
validate
|
If True, verifies that t1 and tphi qubits sets match, and that all symmetric two-qubit gates have errors which are symmetric over the qubits they affect. Defaults to True. |
Attributes | |
---|---|
qubits
|
Qubits for which we have data |
gate_times_ns
|
Dataclass field |
t1_ns
|
Dataclass field |
tphi_ns
|
Dataclass field |
readout_errors
|
Dataclass field |
gate_pauli_errors
|
Dataclass field |
validate
|
Dataclass field |
Methods
asymmetric_two_qubit_gates
@classmethod
@abc.abstractmethod
asymmetric_two_qubit_gates() -> Set[Type[ops.Gate]]
Returns the set of asymmetric two-qubit gates this class supports.
build_noise_models
build_noise_models() -> List['cirq.NoiseModel']
Construct all NoiseModels associated with this NoiseProperties.
expected_gates
@classmethod
expected_gates() -> Set[Type[ops.Gate]]
Returns the set of all gates this class supports.
single_qubit_gates
@classmethod
@abc.abstractmethod
single_qubit_gates() -> Set[Type[ops.Gate]]
Returns the set of single-qubit gates this class supports.
symmetric_two_qubit_gates
@classmethod
@abc.abstractmethod
symmetric_two_qubit_gates() -> Set[Type[ops.Gate]]
Returns the set of symmetric two-qubit gates this class supports.
two_qubit_gates
@classmethod
two_qubit_gates() -> Set[Type[ops.Gate]]
Returns the set of all two-qubit gates this class supports.
__eq__
__eq__(
other
)
Class Variables | |
---|---|
validate |
True
|