circuit_operations

circuit_operations#

Representing quantum circuits as lists of CircuitOperations.

Full path: iqm.pulse.circuit_operations

Functions

get_unitary_from_circuit(circuit[, table, ...])

Calculate the overall unitary implemented by a sequence of CircuitOperations.

get_unitary_from_op(op, table, qubits)

Unitary matrix representing an operation within the context of the circuit.

reorder(A, perm)

Permutes the order of the qubits in an n-qubit operator matrix.

reshape_unitary(unitary, indices, n_qubits)

Extend a unitary propagator to act on a larger system.

Classes

CircuitOperationList

List of CircuitOperation objects representing a quantum circuit.

Inheritance

Inheritance diagram of iqm.pulse.circuit_operations