Skip to content

Issue with optimizing for functionality of quantum CNOT gate #37

@buttercutter

Description

@buttercutter

This is a question on an application of ceviche rather than ceviche's internal code implementation.

@momchilmm suggested me to post my question here.

May I ask why https://colab.research.google.com/drive/1DeBtiZzOBVW9lc-hUDVKvtdCv5E3rpWc?usp=sharing failed 50% of the simulation tests (scenarios 1 and 2) ?

Is the result correct? True
                  scenario  phase_target  expected_phase_shift  \
0  Control Off, Target Off      0.000000              0.000000   
1   Control On, Target Off      2.977278              0.000000   
2   Control Off, Target On     -2.825583              0.000000   
3    Control On, Target On     -3.135028              3.141593   

   phase_difference  is_correct  
0          0.000000        True  
1          2.977278       False  
2          2.825583       False  
3          0.006565        True  
Error Analysis:
[{'scenario': 'Control Off, Target On', 'Ez_target_mean': (-9.70835981670322e-12+6.131494119920508e-12j), 'phase_target': -2.825583200697805}]

References:

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