qilisdk.backends.qutip_backend
Attributes
Classes
Single-qubit I gate. |
|
Backend that runs digital-circuit and analog time-evolution experiments using QuTiP. |
Module Contents
- TBasicGate[fuente]
- BasicGateHandlersMapping[fuente]
- TPauliOperator[fuente]
- PauliOperatorHandlersMapping[fuente]
- class QutipI(targets, **kwargs)[fuente]
Bases:
qutip_qip.operations.gateclass.SingleQubitGateSingle-qubit I gate.
Examples
>>> from qutip_qip.operations import X >>> I(0).get_compact_qobj() Quantum object: dims=[[2], [2]], shape=(2, 2), type='oper', dtype=Dense, isherm=True Qobj data = [[1. 0.] [0. 1.]]- name = 'I'[fuente]
- latex_str = 'I'[fuente]
- get_compact_qobj()[fuente]
- class QutipBackend(nsteps: int = 10000, noise_model: qilisdk.noise.NoiseModel | None = None)[fuente]
Bases:
qilisdk.backends.backend.BackendBackend that runs digital-circuit and analog time-evolution experiments using QuTiP.
The backend is CPU-only and has no hardware dependencies, which makes it ideal for local development, CI pipelines, and educational notebooks.
Instantiate a new
QutipBackend.- Parámetros:
nsteps (
int) – The maximum number of internal steps for the ODE solver. Defaults to10_000.noise_model (
NoiseModel | None) – Optional noise model. For analog time evolution, its global and per-qubit Lindblad channels are converted into QuTiP collapse operators (including time-dependent ratesrate(t)). Digital-circuit noise is not supported and is ignored with a warning.
- noise_model = None[fuente]
- nsteps = 10000[fuente]