qilisdk.noise.noise_config
Classes
Configuration options for noise models. |
Module Contents
- class NoiseConfig[fuente]
Configuration options for noise models.
Initialize a NoiseConfig with default settings.
- get_gate_time(gate_type: type[qilisdk.digital.Gate]) float[fuente]
Get the execution time for a specific gate type.
- Parámetros:
gate_type (
type[Gate]) – The type of the gate to query.- Devuelve:
The execution time for the gate. If not specified, returns the default gate time.
- Tipo del valor devuelto:
float
- property default_gate_time: float[fuente]
Return the default execution time for gates.
- Devuelve:
The default gate time.
- set_gate_time(gate_type: type[qilisdk.digital.Gate], time: float) None[fuente]
Update the execution time for a specific gate type.
- Parámetros:
gate_type (
type[Gate]) – The type of the gate to update.time (
float) – The new execution time for the gate.
- Muestra:
ValueError – If the provided time is not positive.
- set_default_gate_time(time: float) None[fuente]
Set the default execution time for gates not explicitly specified.
- Parámetros:
time (
float) – The new default execution time.- Muestra:
ValueError – If the provided time is not positive.