braket.default_simulator.noise_operations module¶

class braket.default_simulator.noise_operations.BitFlip(targets, probability)[source]

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. non-identity) 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]

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. non-identity) 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]

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. non-identity) 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]

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. non-identity) 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]

Two-qubit 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. non-identity) 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]

Two-qubit 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. non-identity) 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]

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. non-identity) 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]

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. non-identity) 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]

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. non-identity) 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]

Arbitrary quantum channel that evolve a density matrix through the operator-sum 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. non-identity) 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, ..]