NoiseTransformer

class NoiseTransformer[source]

Transforms one quantum channel to another based on a specified criteria.

Methods

NoiseTransformer.channel_matrix_representation(…)

We convert the operators to a matrix by applying the channel to the four basis elements of the 2x2 matrix space representing density operators; this is standard linear algebra

NoiseTransformer.compute_P(As)

This method creates the matrix P in the f(x) = 1/2(x*P*x)+q*x representation of the objective function :param As: list of symbolic matrices repersenting the channel matrices :type As: list

NoiseTransformer.compute_channel_operation(…)

Given a quantum state’s density function rho, the effect of the channel on this state is: rho -> sum_{i=1}^n E_i * rho * E_i^dagger

NoiseTransformer.compute_q(As, C)

This method creates the vector q for the f(x) = 1/2(x*P*x)+q*x representation of the objective function :param As: list of symbolic matrices repersenting the quadratic program :type As: list :param C: matrix representing the the constant channel matrix :type C: matrix

NoiseTransformer.fidelity(channel)

Calculates channel fidelity

NoiseTransformer.flatten_matrix(m)

param m

The matrix to flatten

NoiseTransformer.generate_channel_matrices(…)

Generate symbolic channel matrices.

NoiseTransformer.generate_channel_quadratic_programming_matrices(…)

Generate matrices for quadratic program.

NoiseTransformer.get_const_matrix_from_channel(…)

Extract the numeric constant matrix.

NoiseTransformer.get_matrix_from_channel(…)

Extract the numeric parameter matrix.

NoiseTransformer.operator_circuit(operator)

Converts an operator representation to noise circuit.

NoiseTransformer.operator_matrix(operator)

Converts an operator representation to Kraus matrix representation

NoiseTransformer.prepare_channel_operator_list(…)

Prepares a list of channel operators.

NoiseTransformer.prepare_honesty_constraint(…)

Prepares the honesty constraint.

NoiseTransformer.solve_quadratic_program(P, q)

Solve the quadratic program optimization problem.

NoiseTransformer.transform_by_given_channel(…)

Transform by by quantum channels.

NoiseTransformer.transform_by_operator_list(…)

Transform input Kraus operators.