Sequential Quantum Gate Decomposer  v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
Namespaces | Functions | Variables
test_shot_noise_measurement.py File Reference

Go to the source code of this file.

Namespaces

 tests.VQE.test_shot_noise_measurement
 

Functions

def tests.VQE.test_shot_noise_measurement._kron_n (ops)
 
def tests.VQE.test_shot_noise_measurement._python_shot_noise_z_estimator (z_terms, shots, p_readout, seed=0)
 
def tests.VQE.test_shot_noise_measurement.generate_hamiltonian (n)
 
def tests.VQE.test_shot_noise_measurement.generate_hamiltonian_tmp (n)
 
def tests.VQE.test_shot_noise_measurement.generate_zz_xx_hamiltonian (n_qubits, h=0.5, topology=None, Jz=1.0, Jx=1.0, Jy=1.0)
 
def tests.VQE.test_shot_noise_measurement.is_hermitian (H, tol=1e-10)
 
def tests.VQE.test_shot_noise_measurement.matrices_differ (A, B, tol=1e-12)
 
def tests.VQE.test_shot_noise_measurement.test_generate_hamiltonian_per_qubit_h ()
 
def tests.VQE.test_shot_noise_measurement.test_generate_hamiltonian_returns_sparse_or_ndarray ()
 
def tests.VQE.test_shot_noise_measurement.test_generate_zz_xx_hamiltonian_parameter_dependence ()
 
def tests.VQE.test_shot_noise_measurement.test_hamiltonian_shape_and_hermitian (n)
 
def tests.VQE.test_shot_noise_measurement.test_hamiltonian_spectrum_real (n)
 
def tests.VQE.test_shot_noise_measurement.test_oplist_indices_in_range ()
 
def tests.VQE.test_shot_noise_measurement.test_wrapper_shot_noise_against_analytic ()
 
def tests.VQE.test_shot_noise_measurement.test_z_only_shot_noise_analytic_and_simulation ()
 
def tests.VQE.test_shot_noise_measurement.to_dense_if_small (H, max_dim=1<< 6)
 

Variables

 tests.VQE.test_shot_noise_measurement._I
 
 tests.VQE.test_shot_noise_measurement._X
 
 tests.VQE.test_shot_noise_measurement._Y
 
 tests.VQE.test_shot_noise_measurement._Z
 
 tests.VQE.test_shot_noise_measurement.dtype
 
 tests.VQE.test_shot_noise_measurement.generate_zz_xx_hamiltonian
 
 tests.VQE.test_shot_noise_measurement.H
 
 tests.VQE.test_shot_noise_measurement.heis_mod
 
 tests.VQE.test_shot_noise_measurement.heis_path
 
 tests.VQE.test_shot_noise_measurement.n
 
 tests.VQE.test_shot_noise_measurement.repo_root
 
 tests.VQE.test_shot_noise_measurement.spec
 
 tests.VQE.test_shot_noise_measurement.state