Skip to content

Module 'qutip.qip.circuit' has no attribute 'gate_expand_1toN' and 'gate_expand_2toN'Β #20

@MrSago

Description

@MrSago
File "...\learn-qc-with-python-and-qsharp\ch05\simulator.py", line 88, in _apply
    matrix = qt.circuit.gate_expand_1toN(
AttributeError: module 'qutip.qip.circuit' has no attribute 'gate_expand_1toN'


File "...\learn-qc-with-python-and-qsharp\ch06\simulator.py", line 124, in _apply
  matrix = qt.circuit.gate_expand_2toN(unitary,
AttributeError: module 'qutip.qip.circuit' has no attribute 'gate_expand_2toN'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions