We're celebrating World Quantum Day 2022! Join us

Module: openfermion.measurements.qubit_partitioning

Code to generate Pauli strings for measurement of local operators

Functions

binary_partition_iterator(...): Generator for a list of 2-partitions of N qubits

group_into_tensor_product_basis_sets(...): Split an operator (instance of QubitOperator) into sub-operator

partition_iterator(...): Generator for a list of k-partitions of N qubits such that

pauli_string_iterator(...): Generates a set of Pauli strings such that each word