mrmustard.lab_dev.transformations

The classes representing transformations in quantum circuits.

Classes

Amplifier(modes[, gain, gain_trainable, ...])

The noisy amplifier channel.

Attenuator(modes[, transmissivity, ...])

The noisy attenuator channel.

BSgate(modes[, theta, phi, theta_trainable, ...])

The beam splitter gate.

Channel([modes_out, modes_in, ...])

Base class for all CPTP channels.

Dgate([modes, x, y, x_trainable, ...])

The displacement gate.

Identity(modes)

The identity gate.

Map([modes_out, modes_in, representation, name])

A CircuitComponent more general than Channels, which are CPTP Maps.

Operation([modes_out, modes_in, ...])

A CircuitComponent with input and output wires on the ket side.

Rgate(modes[, phi, phi_trainable, phi_bounds])

The rotation gate.

S2gate(modes[, r, phi, r_trainable, ...])

The two mode squeezing gate.

Sgate(modes[, r, phi, r_trainable, ...])

The squeezing gate.

Transformation([representation, ...])

Base class for all transformations.

Unitary([modes_out, modes_in, ...])

Base class for all unitary transformations.

Class Inheritance Diagram

Inheritance diagram of mrmustard.lab_dev.transformations.transformations.Amplifier, mrmustard.lab_dev.transformations.transformations.Attenuator, mrmustard.lab_dev.transformations.transformations.BSgate, mrmustard.lab_dev.transformations.base.Channel, mrmustard.lab_dev.transformations.transformations.Dgate, mrmustard.lab_dev.transformations.transformations.Identity, mrmustard.lab_dev.transformations.base.Map, mrmustard.lab_dev.transformations.base.Operation, mrmustard.lab_dev.transformations.transformations.Rgate, mrmustard.lab_dev.transformations.transformations.S2gate, mrmustard.lab_dev.transformations.transformations.Sgate, mrmustard.lab_dev.transformations.base.Transformation, mrmustard.lab_dev.transformations.base.Unitary