braket.default_simulator.noise_operations module¶

class
braket.default_simulator.noise_operations.
BitFlip
(targets, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Bit Flip noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
PhaseFlip
(targets, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Phase Flip noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
PauliChannel
(targets, probX, probY, probZ)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Pauli noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
Depolarizing
(targets, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Depolarizing noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
TwoQubitDepolarizing
(targets, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Twoqubit Depolarizing noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
TwoQubitDephasing
(targets, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Twoqubit Dephasing noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
AmplitudeDamping
(targets, gamma)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Amplitude Damping noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
GeneralizedAmplitudeDamping
(targets, gamma, probability)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Generalized Amplitude Damping noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
PhaseDamping
(targets, gamma)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Phase Damping noise channel

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]


class
braket.default_simulator.noise_operations.
Kraus
(targets, matrices)[source]¶ Bases:
braket.default_simulator.operation.KrausOperation
Arbitrary quantum channel that evolve a density matrix through the operatorsum formalism with the provided matrices as Kraus operators.

matrices
¶ A list of matrices representing Kraus operators.
Type: List[np.ndarray]

targets
¶ The indices of the qubits the operation applies to.
Note: For an index to be a target of an observable, the observable must have a nontrivial (i.e. nonidentity) action on that index. For example, a tensor product observable with a Z factor on qubit j acts trivially on j, so j would not be a target. This does not apply to gate operations.
Type: Tuple[int, ..]
