Skip to content

T_complexity of adjoint QROAMClean gives negative T count #1752

@austingmhuang

Description

@austingmhuang

When I try to find the T_complexity for QROAMClean, I am getting a negative T-count, see code block:

import numpy as np
from qualtran.bloqs.data_loading.qroam_clean import QROAMClean

data1 = np.arange(2, dtype=int)
data2 = np.arange(2, dtype=int) + 1
qroam_clean_multi_data = QROAMClean.build_from_data(data1, data2, log_block_sizes=(1,))
t_complexity(qroam_clean_multi_data.adjoint()) # TComplexity(t=-4, clifford=0, rotations=0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions