|View source on GitHub|
Types for devices, device-specific qubits, and noise models.
class ConstantQubitNoiseModel: Applies noise to each qubit individually at the start of every moment.
class Device: Hardware constraints for validating circuits.
class GridQid: A qid on a 2d square lattice
class GridQubit: A qubit on a 2d square lattice.
class LineQid: A qid on a 1d lattice with nearest-neighbor connectivity.
class LineQubit: A qubit on a 1d lattice with nearest-neighbor connectivity.
class NoiseModel: Replaces operations and moments with noisy counterparts.