qutip/qutip-qip

View on GitHub

Showing 161 of 175 total issues

Unexpected spaces around keyword / parameter equals
Open

processor.add_pulse(pulse=
Severity: Minor
Found in tests/test_processor.py by pep8

Missing whitespace around operator
Open

"ignore:Information about individual registers"+
Severity: Minor
Found in tests/test_qasm.py by pep8

Module level import not at top of file
Open

from qutip_qip.qubits import qubit_states
Severity: Minor
Found in tests/test_optpulseprocessor.py by pep8

Trailing whitespace
Open

from qutip import (tensor, basis)
Severity: Minor
Found in tests/test_qubits.py by pep8

Missing whitespace after ','
Open

assert(abs(fidelity(result.states[-1],basis([2,2],[0,1])) - 1) < 1.e-5)
Severity: Minor
Found in tests/test_compiler.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(DispersiveCavityQED, {"g":0.1}, id = "DispersiveCavityQED"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(CircularSpinChain, {}, id = "CircularSpinChain"),
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(LinearSpinChain, {}, id = "LinearSpinChain"),
Severity: Minor
Found in tests/test_device.py by pep8

Continuation line with same indent as next logical line
Open

num_qubits, gates, device_class, kwargs):
Severity: Minor
Found in tests/test_device.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(circuit, DispersiveCavityQED, {"g":0.1}, id = "DispersiveCavityQED"),
Severity: Minor
Found in tests/test_device.py by pep8

Missing whitespace after ','
Open

result = processor.run_state(basis(2,0), tlist=[0,1])
Severity: Minor
Found in tests/test_processor.py by pep8

Unexpected spaces around keyword / parameter equals
Open

pytest.param(circuit, SCQubits, {"omega_single":[0.02]*3}, id = "SCQubits"),
Severity: Minor
Found in tests/test_device.py by pep8

Continuation line over-indented for visual indent
Open

measure_observable,
Severity: Minor
Found in tests/test_measurement.py by pep8

TODO found
Open

# TODO add test
Severity: Minor
Found in src/qutip_qip/pulse.py by fixme

TODO found
Open

# TODO, this can be simplified further, tlist in the solver only
Severity: Minor
Found in src/qutip_qip/device/processor.py by fixme

TODO found
Open

# TODO This will be moved to each sub-class of Gate.
Severity: Minor
Found in src/qutip_qip/operations/gateclass.py by fixme

TODO found
Open

# TODO add tests
Severity: Minor
Found in src/qutip_qip/device/processor.py by fixme

TODO found
Open

# TODO test it for non array-like coeff
Severity: Minor
Found in src/qutip_qip/device/processor.py by fixme

FIXME found
Open

# FIXME This huge block has been here for a long time.
Severity: Minor
Found in src/qutip_qip/transpiler/chain.py by fixme

TODO found
Open

# TODO generalize to different tlist
Severity: Minor
Found in tests/test_processor.py by fixme
Severity
Category
Status
Source
Language