def METHOD_NAME(self):
    """Test mapping to qubit operator with two_qubit_reduction set to True."""
    driver = PySCFDriver()
    driver_result = driver.run()
    fermionic_op, _ = driver_result.second_q_ops()
    mapper = ParityMapper(num_particles=(1, 1))
    qubit_op = mapper.map(fermionic_op)
    self.assertTrue(qubit_op.equiv(TestParityMapper.REF_H2_reduced))
    self.assertEqual(mapper._tapering_values, TestParityMapper.tapering_values_expected)
    # Test change num particles on the fly
    mapper.num_particles = None
    qubit_op_reduction = mapper.map(fermionic_op)
    self.assertTrue(qubit_op_reduction.equiv(TestParityMapper.REF_H2))