pub type Process = QubitSized<ProcessData>;
Expand description
A linear function from quantum states to quantum states.
§Remarks
A process that is completely positive and trace preserving is a channel.
Aliased Type§
pub struct Process { /* private fields */ }
Implementations§
Source§impl Process
impl Process
Source§impl Process
impl Process
Sourcepub fn new_pauli_channel<T: IntoPauliMixture>(data: T) -> Self
pub fn new_pauli_channel<T: IntoPauliMixture>(data: T) -> Self
Returns a new Pauli channel, given a mixture of Pauli operators.
Sourcepub fn as_json(&self) -> String
pub fn as_json(&self) -> String
Returns a serialization of this quantum process as a JSON object.
Sourcepub fn extend_one_to_n(&self, idx_qubit: usize, n_qubits: usize) -> Process
pub fn extend_one_to_n(&self, idx_qubit: usize, n_qubits: usize) -> Process
Returns a copy of this process that applies to registers of a given size.